24-Port Layer 3 Switch Management Guide

P
RIORITY
C
OMMANDS
4-183
Example
The following example shows how to set a default priority on port 3 to 5:
queue bandwidth
Use this command to assign weighted round-robin (WRR) weights to the
four class of service (CoS) priority queues. Use the no form to restore the
default weights.
Syntax
queue bandwidth weight1...weight4
no queue bandwidth
weight1...weight4 - The ratio of weights for queues 0 - 3 determines
the weights used by the WRR scheduler. (Range: 1 - 255)
Default Setting
Weights 1, 4, 16 and 64 are assigned to queue 0, 1, 2 and 3 respectively.
Command Mode
Global Configuration
Command Usage
WRR controls bandwidth sharing at the egress port by defining
scheduling weights.
Example
The following example shows how to assign WRR weights of 1, 3, 5 and 7
to the CoS priority queues 0, 1, 2 and 3:
Related Commands
show queue bandwidth (4-185)
Console(config)#interface ethernet 1/3
Console(config-if)#switchport priority default 5
Console(config)#queue bandwidth 1 3 5 7
Console(config)#