Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure FortiSwitch QoS egress queue policy.

  config switch-controller qos queue-policy
      Description: Configure FortiSwitch QoS egress queue policy.
      edit <name>
          set schedule [strict|round-robin|...]
          set rate-by [kbps|percent]
          config cos-queue
              Description: COS queue configuration.
              edit <name>
                  set description {string}
                  set min-rate {integer}
                  set max-rate {integer}
                  set min-rate-percent {integer}
                  set max-rate-percent {integer}
                  set drop-policy [taildrop|weighted-random-early-detection]
                  set weight {integer}
              next
          end
      next
  end

config switch-controller qos queue-policy

Parameter Name Description Type Size
schedule COS queue scheduling.
strict: Strict scheduling (queue7: highest priority, queue0: lowest priority).
round-robin: Round robin scheduling.
weighted: Weighted round robin scheduling.
option -
rate-by COS queue rate by kbps or percent.
kbps: Rate by kbps.
percent: Rate by percent.
option -

config cos-queue

Parameter Name Description Type Size
description Description of the COS queue. string Maximum length: 63
min-rate Minimum rate (0 - 4294967295 kbps, 0 to disable). integer Minimum value: 0 Maximum value: 4294967295
max-rate Maximum rate (0 - 4294967295 kbps, 0 to disable). integer Minimum value: 0 Maximum value: 4294967295
min-rate-percent Minimum rate (% of link speed). integer Minimum value: 0 Maximum value: 4294967295
max-rate-percent Maximum rate (% of link speed). integer Minimum value: 0 Maximum value: 4294967295
drop-policy COS queue drop policy.
taildrop: Taildrop policy.
weighted-random-early-detection: Weighted random early detection drop policy.
option -
weight Weight of weighted round robin scheduling. integer Minimum value: 0 Maximum value: 4294967295

Configure FortiSwitch QoS egress queue policy.

  config switch-controller qos queue-policy
      Description: Configure FortiSwitch QoS egress queue policy.
      edit <name>
          set schedule [strict|round-robin|...]
          set rate-by [kbps|percent]
          config cos-queue
              Description: COS queue configuration.
              edit <name>
                  set description {string}
                  set min-rate {integer}
                  set max-rate {integer}
                  set min-rate-percent {integer}
                  set max-rate-percent {integer}
                  set drop-policy [taildrop|weighted-random-early-detection]
                  set weight {integer}
              next
          end
      next
  end

config switch-controller qos queue-policy

Parameter Name Description Type Size
schedule COS queue scheduling.
strict: Strict scheduling (queue7: highest priority, queue0: lowest priority).
round-robin: Round robin scheduling.
weighted: Weighted round robin scheduling.
option -
rate-by COS queue rate by kbps or percent.
kbps: Rate by kbps.
percent: Rate by percent.
option -

config cos-queue

Parameter Name Description Type Size
description Description of the COS queue. string Maximum length: 63
min-rate Minimum rate (0 - 4294967295 kbps, 0 to disable). integer Minimum value: 0 Maximum value: 4294967295
max-rate Maximum rate (0 - 4294967295 kbps, 0 to disable). integer Minimum value: 0 Maximum value: 4294967295
min-rate-percent Minimum rate (% of link speed). integer Minimum value: 0 Maximum value: 4294967295
max-rate-percent Maximum rate (% of link speed). integer Minimum value: 0 Maximum value: 4294967295
drop-policy COS queue drop policy.
taildrop: Taildrop policy.
weighted-random-early-detection: Weighted random early detection drop policy.
option -
weight Weight of weighted round robin scheduling. integer Minimum value: 0 Maximum value: 4294967295