Fortinet black logo

CLI Reference

config switch-controller qos queue-policy

config switch-controller qos queue-policy

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

Description

Type

Size

schedule

COS queue scheduling.

option

-

Option

Description

strict

Strict scheduling (queue7: highest priority, queue0: lowest priority).

round-robin

Round robin scheduling.

weighted

Weighted round robin scheduling.

rate-by

COS queue rate by kbps or percent.

option

-

Option

Description

kbps

Rate by kbps.

percent

Rate by percent.

config cos-queue

Parameter

Description

Type

Size

description

Description of the COS queue.

string

Maximum length: 63

min-rate

Minimum rate .

integer

Minimum value: 0 Maximum value: 4294967295

max-rate

Maximum rate .

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.

option

-

Option

Description

taildrop

Taildrop policy.

weighted-random-early-detection

Weighted random early detection drop policy.

weight

Weight of weighted round robin scheduling.

integer

Minimum value: 0 Maximum value: 4294967295

config switch-controller qos queue-policy

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

Description

Type

Size

schedule

COS queue scheduling.

option

-

Option

Description

strict

Strict scheduling (queue7: highest priority, queue0: lowest priority).

round-robin

Round robin scheduling.

weighted

Weighted round robin scheduling.

rate-by

COS queue rate by kbps or percent.

option

-

Option

Description

kbps

Rate by kbps.

percent

Rate by percent.

config cos-queue

Parameter

Description

Type

Size

description

Description of the COS queue.

string

Maximum length: 63

min-rate

Minimum rate .

integer

Minimum value: 0 Maximum value: 4294967295

max-rate

Maximum rate .

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.

option

-

Option

Description

taildrop

Taildrop policy.

weighted-random-early-detection

Weighted random early detection drop policy.

weight

Weight of weighted round robin scheduling.

integer

Minimum value: 0 Maximum value: 4294967295