Command Line Interface
4-246
4
Priority Commands (Layer 2)
queue mode
This command sets the queue mode to strict priority, Weighted Round-Robin
(WRR), or hybrid for the class of service (CoS) priority queues. Use the no form to
restore the default value.
Syntax
queue mode {strict | wrr | hybrid}
no queue mode
• strict - Services the egress queues in sequential order, transmitting all
traffic in the higher priority queues before servicing lower priority queues.
• wrr - Weighted Round-Robin shares bandwidth at the egress ports by using
scheduling weights for queues 0 - 3 respectively.
• hybrid - Services the highest priority queue (3) according to strict priority
queuing, after which the 3 lower priority queues (0, 1, 2) are processed
according to their WRR weightings.
Default Setting
Weighted Round Robin
Command Mode
Global Configuration
Command Usage
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, or you can choose a hybrid of
these two methods. WRR uses a relative weight for each queue which
determines the amount of packets the switch transmits every time it services
Table 4-67 Priority Commands (Layer 2)
Command Function Mode Page
queue mode Sets the queue mode to strict priority, Weighted Round-Robin
(WRR), or hybrid
GC 4-246
switchport priority default Sets a port priority for incoming untagged frames IC 4-247
queue bandwidth Assigns round-robin weights to the priority queues GC 4-248
queue cos map Assigns class-of-service values to the priority queues IC 4-248
show queue mode Shows the current queue mode PE 4-249
show queue bandwidth Shows round-robin weights assigned to the priority queues PE 4-250
show queue cos-map Shows the class-of-service map PE 4-250
show interfaces switchport Displays the administrative and operational status of an
interface
PE 4-159