Fortinet white logo
Fortinet white logo

CLI Reference

config firewall qos-queue

config firewall qos-queue

Use this command to configure QoS queues.

You can use QoS policies to provision bandwidth for any traffic that matches the rule. You might consider QoS policies for latency- or bandwidth-sensitive services, such as VoIP and ICMP.

The FortiADC system does not provision bandwidth based on the TOS bits (also called differentiated services) in the IP header to control packet queueing. Instead, the system provisions bandwidth based on a source/destination/service matching tuple that you specify.

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

Basic steps
  1. Configure a queue.
  2. Configure a QoS filter.

Before you begin:

  • You must have read-write permission for firewall settings.

Syntax

config firewall qos-queue

edit <name>

set bandwidth <digit>[G|M|K]

next

end

bandwidth

Maximum bandwidth rate. Specify a number and a unit abbreviation. For example, specify 100K for 100 Kbps, 10M for 10 Mbps, and 1G for 1Gbps.

If you do not specify a bandwidth, the default qos-queue is 1G.

Example

The following commands configure a firewall policy rule:

FortiADC-VM # config firewall qos-queue

FortiADC-VM (qos-queue) # edit lane-1

Add new entry 'lane-1' for node 1909

FortiADC-VM (lane-1) # end

FortiADC-VM # get firewall qos-queue lane-1

bandwidth : 1G

bandwidth-int : 1073741824

config firewall qos-queue

config firewall qos-queue

Use this command to configure QoS queues.

You can use QoS policies to provision bandwidth for any traffic that matches the rule. You might consider QoS policies for latency- or bandwidth-sensitive services, such as VoIP and ICMP.

The FortiADC system does not provision bandwidth based on the TOS bits (also called differentiated services) in the IP header to control packet queueing. Instead, the system provisions bandwidth based on a source/destination/service matching tuple that you specify.

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

Basic steps
  1. Configure a queue.
  2. Configure a QoS filter.

Before you begin:

  • You must have read-write permission for firewall settings.

Syntax

config firewall qos-queue

edit <name>

set bandwidth <digit>[G|M|K]

next

end

bandwidth

Maximum bandwidth rate. Specify a number and a unit abbreviation. For example, specify 100K for 100 Kbps, 10M for 10 Mbps, and 1G for 1Gbps.

If you do not specify a bandwidth, the default qos-queue is 1G.

Example

The following commands configure a firewall policy rule:

FortiADC-VM # config firewall qos-queue

FortiADC-VM (qos-queue) # edit lane-1

Add new entry 'lane-1' for node 1909

FortiADC-VM (lane-1) # end

FortiADC-VM # get firewall qos-queue lane-1

bandwidth : 1G

bandwidth-int : 1073741824