9.2.41 Set egress queue scheduling
[Syntax]
qos
wrr-weight
queue-id
weight
no
qos
wrr-weight
queue-id
[Parameter]
queue-id
:
<0-7>
Egress queue ID
weight
:
<1-32>
Weight of WRR
[Initial value]
no qos wrr-weight 0
no qos wrr-weight 1
no qos wrr-weight 2
no qos wrr-weight 3
no qos wrr-weight 4
no qos wrr-weight 5
no qos wrr-weight 6
no qos wrr-weight 7
[Input mode]
global configuration mode
[Description]
Specifies the WRR (weighted round robin) weight for the egress queue.
The scheduling method setting is common to all LAN/SFP ports.
If this is executed with the "no" syntax, the egress queue uses the strict priority (SP) method.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Set egress queues #7 and #6 to the SP method (7 has priority), and set #5, #4, #3, #2, #1, and #0 to the WRR method
(5:5:5:2:1:1).
SWR2311P(config)#no qos wrr-weight 7
SWR2311P(config)#no qos wrr-weight 6
SWR2311P(config)#qos wrr-weight 5 5
SWR2311P(config)#qos wrr-weight 4 5
SWR2311P(config)#qos wrr-weight 3 5
SWR2311P(config)#qos wrr-weight 2 2
SWR2311P(config)#qos wrr-weight 1 1
SWR2311P(config)#qos wrr-weight 0 1
9.2.42 Set traffic shaping (individual port)
[Syntax]
traffic-shape
rate
kbps
CIR
burst
BC
no
traffic-shape
rate
[Parameter]
CIR
:
<18-1000000>
Traffic rate (kbps). Since rounding occurs, the value actually applied to the input value might be less
(see [Note])
BC
:
<4-16000>
Burst size (kbyte). Specified in 4-kbyte units.
256
| Command Reference | Traffic control