User Manual

Table Of Contents
[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).
SWP2(config)#no qos wrr-weight 7
SWP2(config)#no qos wrr-weight 6
SWP2(config)#qos wrr-weight 5 5
SWP2(config)#qos wrr-weight 4 5
SWP2(config)#qos wrr-weight 3 5
SWP2(config)#qos wrr-weight 2 2
SWP2(config)#qos wrr-weight 1 1
SWP2(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). Due to rounding, the actual value applied may differ from the input value (see
[note])
BC : <4-16000>
Burst size (kbyte). Specified in 4-kbyte units.
[Initial value]
no traffic-shape rate
[Input mode]
interface mode
[Description]
Specifies shaping for the port.
If this is executed with the "no" syntax, the port shaping setting is disabled.
[Note]
In order to execute this command, QoS must be enabled.
Due to the rounding of traffic rates, the actual value applied may differ from the input value.
[Example]
Reduce transmission from LAN port #1 down to CIR:30016 kbps, Bc:1876000 byte.
SWP2(config)#interface port1.1
SWP2(config-if)#traffic-shape rate kbps 30016 burst 1876
9.2.43 Set traffic-shaping (queue units)
[Syntax]
traffic-shape queue queue-id rate kbps CIR burst BC
no traffic-shape queue queue-id rate
[Parameter]
queue-id : <0-7>
Egress queue ID
CIR : <18-1000000>
Traffic rate (kbps). Due to rounding, the actual value applied may differ from the input value (see
[note])
BC : <4-16000>
Burst size (kbyte). Specified in 4-kbyte units.
Command Reference | Traffic control | 287