598
Configuring QoS
QoS Treatment for Performance-Monitoring Protocols
shows an example of WTD operating on a queue of 1000 frames. Three drop percentages are
configured: 40 percent (400 frames), 60 percent (600 frames), and 100 percent (1000 frames). These percentages mean
that traffic reclassified to the 40-percent threshold is dropped when the queue depth exceeds 400 frames, traffic
reclassified to 60 percent is dropped when the queue depth exceeds 600 frames, and traffic up to 400 frames can be
queued at the 40-percent threshold, up to 600 frames at the 60-percent threshold, and up to 1000 frames at the
100-percent threshold.
Figure 82
WTD and Queue Operation
In this example, CoS values 6 and 7 have a greater importance than the other CoS values, and they are assigned to the
100-percent drop threshold (queue-full state). CoS values 4 and 5 are assigned to the 60-percent threshold, and CoS
values 0 to 3 are assigned to the 40-percent threshold.
If the queue is already filled with 600 frames, and a new frame arrives containing CoS values 4 and 5, the frame is
subjected to the 60-percent threshold. When this frame is added to the queue, the threshold would be exceeded, so the
switch drops it.
WTD is configured by using the
queue-limit
policy-map class command. The command adjusts the queue size (buffer
size) associated with a particular class of traffic. You specify the threshold as the number of packets, where each packet
is a fixed unit of 256 bytes. You can specify different queue sizes for different classes of traffic (CoS, DSCP, precedence,
or QoS group) in the same queue. Setting a queue limit establishes a drop threshold for the associated traffic when
congestion occurs.
Note:
You cannot configure queue size by using the
queue-limit
policy map class command without first configuring a
scheduling action (
bandwidth
,
shape average
, or
priority
). The only exception to this is when you configure queue-limit
for the
class-default
of an output policy map.
The switch supports up to three unique queue-limit configurations across all output policy maps. Within an output policy
map, only four queues (classes) are allowed, including the class default. Each queue has three thresholds defined. Only
three unique threshold value configurations are allowed on the switch. However, multiple policy maps can share the same
queue-limits. When two policy maps a share queue-limit configuration, all threshold values must be the same for all the
classes in both policy maps.
For more information, see
Configuring Output Policy Maps with Class-Based-Weighted-Queuing, page 630
.
This example configures
class A
to match DSCP values and a policy map,
PM1
. The DSCP values of 30 and 50 are
mapped to unique thresholds (32 and 64, respectively). The DSCP values of 40 and 60 are mapped to the maximum
threshold of 112 packets.
Switch(config)#
class-map match-any classA
Switch(config-cmap)#
match ip dscp 30 40 50 60
Switch(config-cmap)#
exit
Switch(config)#
policy-map PM1
Switch(config-pmap)#
class classA
Switch(config-pmap-c)#
bandwidth percent 50
Switch(config-pmap-c)#
queue-limit 112
Switch(config-pmap-c)#
queue-limit dscp 30 32
Switch(config-pmap-c)#
queue-limit dscp 50 64
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
exit
Switch(config)#
interface gigabitethernet 0/1
Switch(config-if)#
service-policy output PM1
CoS 6-7
100%
60%
40%
1000
600
400
0
CoS 4-5
CoS 0-3
86692
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...