
CLI Commands
The following table summarizes the equivalent CLI commands for items in the
Class of Service/Queue Scheduling
page.
Example
Console(config)#queue bandwidth 1 4 16 64
Console(config)#exit
Console#show queue bandwidth
Queue ID Weight
-------- ------
0 1
1 4
2 16
3 64
Console#
Layer 3/4 Priority
You can assign Layer 3/4 priority to traffic in the switch by considering the settings in the Type of Service (ToS) field in the IP header of a frame. The ToS field
can contain an IP Precedence or the more recently released Differentiated Services Code Point (DSCP) value, depending on whether you have DSCP or IP
Precedence-aware devices in your network. You can use the
Layer 3/4 Priority
page to identify IP traffic priorities and map the priorities to the CoS values in
the priority tag of each frame.
The following figure shows the ToS field structure for IP Precedence and IP DSCP.
Command
Usage
queue bandwidth
weight1...weight4
Assigns WRR weights to the four CoS priority queues.
Use the
no form
command to restore the default weights.
show queue bandwidth
Displays the WRR bandwidth allocation for the four CoS priority queues.