queue-limit
This example shows how to configure WTD for a Fast Ethernet port where outclass1, outclass2, and
outclass3 get a minimum of 50, 20, and 10 percent of the traffic bandwidth. The class-default gets the
remaining 20 percent. Each corresponding queue size is set to 64, 32, and 16 (256-byte) packets,
respectively. The example also shows how if outclass1 matches to dscp 46, 56, 57, 58, 60, 63, a DSCP
value of 46 gets a queue size of 32 (256-byte) packets; DSCP values 56, 57, and 58 get queue sizes of
48 (256-byte) packets; and the remaining DSCP values of 60 and 63 get the default queue size of 64
(256-byte) packets.
Switch(config)# policy-map out-policy
Switch(config-pmap)# class outclass1
Switch(config-pmap-c)# bandwidth percent 50
Switch(config-pmap-c)# queue-limit 64
Switch(config-pmap-c)# queue-limit dscp 46 32
Switch(config-pmap-c)# queue-limit dscp 56 48
Switch(config-pmap-c)# queue-limit dscp 57 48
Switch(config-pmap-c)# queue-limit dscp 58 48
Switch(config-pmap-c)# exit
Switch(config-pmap)# class outclass2
Switch(config-pmap-c)# bandwidth percent 20
Switch(config-pmap-c)# queue-limit 32
Switch(config-pmap-c)# exit
Switch(config-pmap)# class outclass3
Switch(config-pmap-c)# bandwidth percent 10
Switch(config-pmap-c)# queue-limit 16
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastethernet 0/1
Switch(config-if)# service-policy output out-policy
Switch(config-if)# exit
You can use these same queue-limit values in multiple output policy maps on the switch. However,
changing one of the queue-limit values in a class would create a new, unique queue-limit configuration.
You can attach only three unique queue-limit configurations in output policy maps to interfaces at any
one time. If you try to attach an output policy map with a fourth unique queue-limit configuration, you
see this error message:
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
class
policy-map
show policy-map
Cisco ME 3400 Ethernet Access Switch Command Reference
2-306
QoS: Configuration failed. Maximum number of allowable unique queue-limit
configurations exceeded.
Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
Description
Defines a traffic classification match criteria for the specified
class-map name.
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
Displays QoS policy maps.
OL-9640-07