User`s manual

User’s Manual 127
Command Attributes
Priority – CoS value. (Range: 0-7, where 7 is the highest priority)
Traffic Class (CLI show queue)– Output queue buffer. (Range: 0-7, where 7 is the highest CoS priority
queue)
Configuring Switch Using the Web or CLI
Web
Click Priority – Traffic Classes. Mark an interface and click Select to display the current mapping of CoS
values to output queues. Assign priorities to the traffic classes (for example, output queues) for the selected
interface, then click Apply.
CLI
The following example shows how to change the CoS assignments to a one-to-one mapping.
Console(config)#interface ethernet 1/1
Console(config-if)#queue cos-map 0 0
Console(config-if)#queue cos-map 1 1
Console(config-if)#queue cos-map 2 2
Console(config-if)#end
Console#show queue cos-map ethernet 1/1
Information of Eth 1/1
CoS Value : 0 1 2 3 4 5 6 7
Priority Queue: 0 1 2 3 4 5 6 7
console#
Mapping specific values for CoS priorities is implemented as an interface configuration command, but any
changes will apply to the all interfaces on the switch.
11.3 Selecting the Queue Mode
You can set the switch to service the queues based on a strict rule that requires all traffic in a higher priority
queue to be processed before lower priority queues are serviced, or use Weighted Round-Robin (WRR)
queuing that specifies a relative weight of each queue. WRR uses a predefined relative weight for each
queue that determines the percentage of service time the switch services each queue before moving on to
the next queue. This prevents the head-of-line blocking that can occur with strict priority queuing.