Fortinet white logo
Fortinet white logo

CLI Reference

config firewall qos-filter

config firewall qos-filter

Use this command to configure QoS rules for IPv4 addresses.

A QoS filter is the policy that assigns traffic to the QoS queue.

Note: The QoS policy feature is not supported for traffic to virtual servers.

Before you begin:

  • You must have a good understanding and knowledge of traffic in your network that requires QoS provisioning.
  • You must have created the address configuration objects and service configuration objects that define the matching tuple for QoS rules.
  • You must have created a QoS queue configuration object.
  • You must have read-write permission for firewall settings.

Syntax

config firewall qos-filter

edit <name>

set destination-address <datasource>

set in-interface <datasource>

set out-interface <datasource>

set queue <datasource>

set service <datasource>

set source-address <datasource>

set status {enable|disable}

next

end

destination-address

Destination address object to use to form the matching tuple.

in-interface

Interface that receives traffic.

out-interface

Interface that forwards traffic.

queue

QoS queue that will be used for packets that match the filter criteria.

service

Service object to use to form the matching tuple.

source-address

Source address object to use to form the matching tuple.

status

Enable/disable the filter.

Example

FortiADC-VM # config firewall qos-filter

FortiADC-VM (qos-filter) # edit qos-premium

Add new entry 'qos-premium' for node 1922

FortiADC-VM (qos-premium) # get

status : enable

in-interface :

out-interface :

source-address :

destination-address :

service :

queue :

FortiADC-VM (qos-premium) # set in-interface port4

FortiADC-VM (qos-premium) # set out-interface port5

FortiADC-VM (qos-premium) # set source-address fw-source-addr1

FortiADC-VM (qos-premium) # set destination-address fw-dest-addr1

FortiADC-VM (qos-premium) # set service fw-http

FortiADC-VM (qos-premium) # set queue lane-1

FortiADC-VM (qos-premium) # get

status : enable

in-interface : port4

out-interface : port5

source-address : fw-source-addr1

destination-address : fw-dest-addr1

service : fw-http

queue : lane-1

FortiADC-VM (qos-premium) # end

config firewall qos-filter

config firewall qos-filter

Use this command to configure QoS rules for IPv4 addresses.

A QoS filter is the policy that assigns traffic to the QoS queue.

Note: The QoS policy feature is not supported for traffic to virtual servers.

Before you begin:

  • You must have a good understanding and knowledge of traffic in your network that requires QoS provisioning.
  • You must have created the address configuration objects and service configuration objects that define the matching tuple for QoS rules.
  • You must have created a QoS queue configuration object.
  • You must have read-write permission for firewall settings.

Syntax

config firewall qos-filter

edit <name>

set destination-address <datasource>

set in-interface <datasource>

set out-interface <datasource>

set queue <datasource>

set service <datasource>

set source-address <datasource>

set status {enable|disable}

next

end

destination-address

Destination address object to use to form the matching tuple.

in-interface

Interface that receives traffic.

out-interface

Interface that forwards traffic.

queue

QoS queue that will be used for packets that match the filter criteria.

service

Service object to use to form the matching tuple.

source-address

Source address object to use to form the matching tuple.

status

Enable/disable the filter.

Example

FortiADC-VM # config firewall qos-filter

FortiADC-VM (qos-filter) # edit qos-premium

Add new entry 'qos-premium' for node 1922

FortiADC-VM (qos-premium) # get

status : enable

in-interface :

out-interface :

source-address :

destination-address :

service :

queue :

FortiADC-VM (qos-premium) # set in-interface port4

FortiADC-VM (qos-premium) # set out-interface port5

FortiADC-VM (qos-premium) # set source-address fw-source-addr1

FortiADC-VM (qos-premium) # set destination-address fw-dest-addr1

FortiADC-VM (qos-premium) # set service fw-http

FortiADC-VM (qos-premium) # set queue lane-1

FortiADC-VM (qos-premium) # get

status : enable

in-interface : port4

out-interface : port5

source-address : fw-source-addr1

destination-address : fw-dest-addr1

service : fw-http

queue : lane-1

FortiADC-VM (qos-premium) # end