Chapter 30
Configuring QoS
Beginning in privileged EXEC mode, follow these steps to configure a strict priority queue:
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
Step 6
exit
Step 7
class class-map-name
Step 8
bandwidth remaining percent value
Step 9
exit
Step 10
exit
Step 11
interface interface-id
Step 12
service-policy output policy-map-name Attach the policy map (created in Step 3) to the egress interface.
Step 13
end
Step 14
show policy-map
Step 15
copy running-config startup-config
After you have created an output policy map, you attach it to an egress port. See the
Policy to an Interface" section on page
Use the no form of the appropriate command to delete an existing policy map or class map or to cancel
strict priority queuing for the priority class or the bandwidth setting for the other classes.
78-17058-01
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.
Set the strict scheduling priority for this class.
Only one unique class map on the switch can be associated with
Note
a priority command. You cannot configure priority along with
any other queuing action (bandwidth or shape average).
Exit policy-map class configuration mode for the priority class.
Enter the name of a nonpriority class, and enter policy-map class
configuration mode for that class.
Set output bandwidth limits for the policy-map class as a percentage of
the remaining bandwidth. The range is 1 to 100 percent.
Exit policy-map class configuration mode for the class
Return to global configuration mode.
Enter interface configuration mode for the interface to which you want to
attach the policy.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
30-35.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Configuring QoS
"Attaching a Traffic
30-49