switch-controller qos queue-policy
Use this command to configure the egress QoS policy. In a QoS policy, you set the scheduling mode for the policy and configure one or more CoS queues. Each egress port supports eight queues, and three scheduling modes are available:
- With strict scheduling, the queues are served in descending order (of queue number), so higher number queues receive higher priority.
- In simple round-robin mode, the scheduler visits each backlogged queue, servicing a single packet from each queue before moving on to the next one.
- In weighted round-robin mode, each of the eight egress queues is assigned a weight value ranging from 0 to 63.
config switch-controller qos queue-policy
edit {name}
# Configure FortiSwitch QoS egress queue policy.
set name {string} QoS policy name size[63]
set schedule {strict | round-robin | weighted} COS queue scheduling.
strict Strict scheduling (queue7: highest priority, queue0: lowest priority).
round-robin Round robin scheduling.
weighted Weighted round robin scheduling.
config cos-queue
edit {name}
# COS queue configuration.
set name {string} Cos queue ID. size[63]
set description {string} Description of the COS queue. size[63]
set min-rate {integer} Minimum rate (0 - 4294967295 kbps, 0 to disable). range[0-4294967295]
set max-rate {integer} Maximum rate (0 - 4294967295 kbps, 0 to disable). range[0-4294967295]
set drop-policy {taildrop | weighted-random-early-detection} COS queue drop policy.
taildrop Taildrop policy.
weighted-random-early-detection Weighted random early detection drop policy.
set weight {integer} Weight of weighted round robin scheduling. range[0-4294967295]
next
next
end