Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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 ecn [disable|enable]

set weight {integer}

next

end

next

end

config switch-controller qos queue-policy

Parameter

Description

Type

Size

Default

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.

rate-by

COS queue rate by kbps or percent.

option

-

kbps

 

Option

Description

kbps

Rate by kbps.

percent

Rate by percent.

config cos-queue

Parameter

Description

Type

Size

Default

description

Description of the COS queue.

string

Maximum length: 63

min-rate

Minimum rate .

integer

Minimum value: 0 Maximum value: 4294967295

0

max-rate

Maximum rate .

integer

Minimum value: 0 Maximum value: 4294967295

0

min-rate-percent

Minimum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

max-rate-percent

Maximum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

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.

weight

Weight of weighted round robin scheduling.

integer

Minimum value: 0 Maximum value: 4294967295

1

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 ecn [disable|enable]

set weight {integer}

next

end

next

end

config switch-controller qos queue-policy

Parameter

Description

Type

Size

Default

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.

rate-by

COS queue rate by kbps or percent.

option

-

kbps

 

Option

Description

kbps

Rate by kbps.

percent

Rate by percent.

config cos-queue

Parameter

Description

Type

Size

Default

description

Description of the COS queue.

string

Maximum length: 63

min-rate

Minimum rate .

integer

Minimum value: 0 Maximum value: 4294967295

0

max-rate

Maximum rate .

integer

Minimum value: 0 Maximum value: 4294967295

0

min-rate-percent

Minimum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

max-rate-percent

Maximum rate (% of link speed).

integer

Minimum value: 0 Maximum value: 4294967295

0

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.

weight

Weight of weighted round robin scheduling.

integer

Minimum value: 0 Maximum value: 4294967295

1