152
2. For port 10, configure the 802.1p user priority 3 to send the packet to queue 5 instead of the default
queue (queue 3).
(QCT) (Interface 0/10)#queue cos-map 3 5
3. For port 10, specify that untagged VLAN packets should have a default priority of 2.
(QCT) (Interface 0/10)#switchport priority 2
(QCT) (Interface 0/10)#exit
4. For Port 8, the egress port, configure a weighted scheduling scheme for queues 5–0.
(QCT) (Config)#interface 0/8
(QCT) (Interface 0/8)#queue cos-queue min-bandwidth 0 0 5 5 10 20 40 0
5. Configure Port 8 to have strict priority on queue 6.
(QCT) (Interface 0/8)#queue cos-queue strict 6
6. View the configuration.
(QCT) #show interfaces cos-queue 0/8
Interface......................................
0/8
Interface Shaping Rate......................... 0
WRED Decay Exponent............................ 9
Queue Id Min. Bandwidth Scheduler Type Queue Management Type
-------- -------------- -------------- ---------------------
0 0 Weighted Tail Drop
1 0 Weighted Tail Drop
2 5 Weighted Tail Drop
3 5 Weighted Tail Drop
4 10 Weighted Tail Drop
5 20 Weighted Tail Drop
6 40 Strict Tail Drop
7 0 Weighted Tail Drop
5.2. DiffServ
Standard IP-based networks are designed to provide best effort data delivery service. Best effort service
implies that the network delivers the data in a timely fashion, although there is no guarantee that it will.
During times of congestion, packets may be delayed, sent sporadically, or dropped. For typical Internet
applications, such as email and file
transfer,
a slight
degradation
in
service
is
acceptable
and in many cases
unnoticeable.
Conversely, any
degradation
of service has undesirable effects on
applications
with strict timing
requirements,
such as voice or multimedia.