Fortinet white logo
Fortinet white 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>
        config cos-queue
            Description: COS queue configuration.
            edit <name>
                set description {string}
                set drop-policy [taildrop|weighted-random-early-detection]
                set ecn [disable|enable]
                set max-rate {integer}
                set max-rate-percent {integer}
                set min-rate {integer}
                set min-rate-percent {integer}
                set weight {integer}
            next
        end
        set rate-by [kbps|percent]
        set schedule [strict|round-robin|...]
    next
end

config switch-controller qos queue-policy

Parameter

Description

Type

Size

Default

name

QoS policy name.

string

Maximum length: 63

rate-by

COS queue rate by kbps or percent.

option

-

kbps

Option

Description

kbps

Rate by kbps.

percent

Rate by percent.

schedule

COS queue scheduling.

option

-

round-robin

Option

Description

strict

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

round-robin

Round robin scheduling.

weighted

Weighted round robin scheduling.

config cos-queue

Parameter

Description

Type

Size

Default

description

Description of the COS queue.

string

Maximum length: 63

drop-policy

COS queue drop policy.

option

-

taildrop

Option

Description

taildrop

Taildrop policy.

weighted-random-early-detection

Weighted random early detection drop policy.

ecn

Enable/disable ECN packet marking to drop eligible packets.

option

-

disable

Option

Description

disable

Disable ECN packet marking to drop eligible packets.

enable

Enable ECN packet marking to drop eligible packets.

max-rate

Maximum rate (0 - 4294967295 kbps, 0 to disable).

integer

Minimum value: 0 Maximum value: 4294967295

0

max-rate-percent

Maximum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

min-rate

Minimum rate (0 - 4294967295 kbps, 0 to disable).

integer

Minimum value: 0 Maximum value: 4294967295

0

min-rate-percent

Minimum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Cos queue ID.

string

Maximum length: 63

weight

Weight of weighted round robin scheduling.

integer

Minimum value: 0 Maximum value: 4294967295

1

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>
        config cos-queue
            Description: COS queue configuration.
            edit <name>
                set description {string}
                set drop-policy [taildrop|weighted-random-early-detection]
                set ecn [disable|enable]
                set max-rate {integer}
                set max-rate-percent {integer}
                set min-rate {integer}
                set min-rate-percent {integer}
                set weight {integer}
            next
        end
        set rate-by [kbps|percent]
        set schedule [strict|round-robin|...]
    next
end

config switch-controller qos queue-policy

Parameter

Description

Type

Size

Default

name

QoS policy name.

string

Maximum length: 63

rate-by

COS queue rate by kbps or percent.

option

-

kbps

Option

Description

kbps

Rate by kbps.

percent

Rate by percent.

schedule

COS queue scheduling.

option

-

round-robin

Option

Description

strict

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

round-robin

Round robin scheduling.

weighted

Weighted round robin scheduling.

config cos-queue

Parameter

Description

Type

Size

Default

description

Description of the COS queue.

string

Maximum length: 63

drop-policy

COS queue drop policy.

option

-

taildrop

Option

Description

taildrop

Taildrop policy.

weighted-random-early-detection

Weighted random early detection drop policy.

ecn

Enable/disable ECN packet marking to drop eligible packets.

option

-

disable

Option

Description

disable

Disable ECN packet marking to drop eligible packets.

enable

Enable ECN packet marking to drop eligible packets.

max-rate

Maximum rate (0 - 4294967295 kbps, 0 to disable).

integer

Minimum value: 0 Maximum value: 4294967295

0

max-rate-percent

Maximum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

min-rate

Minimum rate (0 - 4294967295 kbps, 0 to disable).

integer

Minimum value: 0 Maximum value: 4294967295

0

min-rate-percent

Minimum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Cos queue ID.

string

Maximum length: 63

weight

Weight of weighted round robin scheduling.

integer

Minimum value: 0 Maximum value: 4294967295

1