Command Line Interface
4-236
4
• This switch provides eight priority queues for each port. It is configured to use
Weighted Round Robin, which can be viewed with the show queue
bandwidth command. Inbound frames that do not have VLAN tags are
tagged with the input port’s default ingress user priority, and then placed in the
appropriate priority queue at the output port. The default priority for all ingress
ports is zero. Therefore, any inbound frames that do not have priority tags will
be placed in queue 0 of the output port. (Note that if the output port is an
untagged member of the associated VLAN, these frames are stripped of all
VLAN tags prior to transmission.)
Example
The following example shows how to set a default priority on port 3 to 5
queue bandwidth
This command assigns weighted round-robin (WRR) weights to the eight 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 - 15)
Default Setting
Weights 1, 2, 4, 8 are assigned to queues 0 - 3 respectively.
Command Mode
Global Configuration
Command Usage
• WRR controls bandwidth sharing at the egress port by defining scheduling
weights for allocated service priorities.
• Use queue weights 1-15 for queues allocated service time based on WRR.
Queue weights must be configured in ascendant manner, assigning more
weight to each higher numbered queue.
Example
This example shows how to assign WRR weights to each of the priority queues for
port 5.
Console(config)#interface ethernet 1/3
Console(config-if)#switchport priority default 5
Console#configure
Console(config)#int eth 1/5
Console(config-if)#queue bandwidth 1 3 5 7
Console(config-if)#