Configuring QoS
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy output policy1
Switch(config-if)# exit
Configuring Priority With Police
You can use the priority with police feature and configure an unconditional priority policer to limit the
bandwidth used by the priority queue and allocate bandwidth or shape other queues. Follow these
guidelines when configuring priority with police:
•
•
•
Beginning in privileged EXEC mode, follow these steps to configure priority with police:
Command
Step 1
configure terminal
Step 2
class-map class-map-name
Step 3
policy-map policy-map-name
Step 4
class class-map-name
Step 5
priority
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
33-60
You cannot configure a policer committed burst size for an unconditional priority policer even
though the keyword is visible in the CLI help. Any configured burst size is ignored when you try to
attach the output service policy.
The allowed police rate range is 64000 to 1000000000 bps, even though the range that appears in
the CLI help is 8000 to 1000000000. You cannot attach an output service policy with an out-of-range
rate.
You cannot configure priority with policing for a traffic class when bandwidth remaining percent
is configured for another class in the same output policy map.
Purpose
Enter global configuration mode.
Create classes for three egress queues. Enter match conditions
classification for each class.
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
Enter the name of the priority class (created by using the
class-map global configuration command), and enter policy-map
class configuration mode for the priority class.
Configure this class as the priority class.
Only one unique class map on the switch can be
Note
associated with a priority command.
Chapter 33
Configuring QoS
OL-9639-07