C
HAPTER
37
| Class of Service Commands
Priority Commands (Layer 2)
– 874 –
â—† A weight can be assigned to each of the weighted queues (and thereby
to the corresponding traffic priorities). This weight sets the frequency
at which each queue is polled for service, and subsequently affects the
response time for software applications assigned a specific priority
value.
â—† Service time is shared at the egress ports by defining scheduling
weights for WRR, or for the queuing mode that uses a combination of
strict and weighted queuing. Service time is allocated to each queue by
calculating a precise number of bytes per second that will be serviced
on each round.
EXAMPLE
The following example sets the queue mode to strict priority service mode:
Console(config)#interface ge1/1
Console(config-if)#queue mode strict
Console(config-if)#
RELATED COMMANDS
queue weight (874)
show queue mode (876)
queue weight This command assigns weights to the eight class of service (CoS) priority
queues when using weighted queuing, or one of the queuing modes that
use a combination of strict and weighted queuing. Use the no form to
restore the default weights.
SYNTAX
queue weight weight0...weight7
no queue weight
weight0...weight7 - The ratio of weights for queues 0 - 7
determines the weights used by the WRR scheduler. (Range: 1-15)
DEFAULT SETTING
Weights 1, 2, 4, 6, 8, 10, 12, 14 are assigned to queues 0 - 7 respectively.
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
â—† This command shares bandwidth at the egress port by defining
scheduling weights for Weighted Round-Robin, or the queuing mode
that uses a combination of strict and weighted queuing (page 873).
â—† Bandwidth is allocated to each queue by calculating a precise number
of bytes per second that will be serviced on each round.