151
Figure 5-1: CoS Mapping and Queue Configuration
Continuing this example, the egress port 0/8 is configured for strict priority on queue 6, and a weighted
scheduling scheme is configured for queues 5-0. Assuming queue 5 has a higher weighting than queue 1
(relative weight values shown as a percentage, with 0% indicating the bandwidth is not guaranteed), the
queue service order is 6 followed by 5 followed by 1. Assuming each queue unloads all packets shown in the
diagram, the packet transmission order as seen on the network leading out of Port 0/8 is B, A, D, C. Thus,
packet B, with its higher user precedence than the others, is able to work its way through the device with
minimal delay and is transmitted ahead of the other packets at the egress port.
The following commands configure port 10 (ingress interface) and Port 8 (egress interface).
1. Configure the Trust mode for port 10.
(QCT) #config
(QCT) (Config)#interface 0/10
(QCT) (Interface 0/10)#queue trust dot1p