292 QoS Commands
Example
The following example assigns WRR weights to egress queues.
priority-queue out num-of-queues
The priority-queue out num-of-queues Global Configuration mode command enables the egress queues
to be expedite queues. Use the no form of this command to return to the default values.
Syntax
•
priority-queue out num-of-queues
number-of-queues
•
no priority-queue out
num-of-queues
•
number-of-queues
— Assign the number of queues to be expedite queues. The expedite queues
would be the queues with higher indexes. (Range: 0 - 8)
Default Configuration
All queues are expedite queues.
Command Mode
Global Configuration mode.
User Guidelines
• When configuring the
priority-queue out num-of-queues
command, the weighted round robin
(WRR) weight ratios are affected because there are fewer queues participating in WRR.
• Queue 8 is taken as the highest index queue. Queue 7 is taken as the next highest queue. If four
queues are selected then queues 8, 7, 6, and 5 are used, leaving queues 4, 3, 2, and 1for WRR..
Console(config)# priority-queue num-of-queues 1
Console(config)# interface ethernet g1
Console(config-if)# wrr-queue bandwidth 20 30 50
Console(config)# priority-queue num-of-queues 0
Console(config)# interface ethernet g3
Console(config-if)# wrr-queue bandwidth 20 30 50 10
5400_CLI.book Page 292 Wednesday, December 17, 2008 4:33 PM