Chapter 30
Configuring QoS
Command
Step 4
bandwidth {rate | percent value | remaining
percent value}
Step 5
exit
Step 6
exit
Step 7
interface interface-id
Step 8
service-policy output policy-map-name
Step 9
end
Step 10
show policy-map [policy-map-name [class
class-map-name]]
Step 11
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, class map, or bandwidth
configuration.
This example shows how to set the precedence of a queue by allocating 25 percent of the total available
bandwidth to the traffic class defined by the class map:
Switch(config)# policy-map gold_policy
Switch(config-pmap)# class out_class-1
Switch(config-pmap-c)# bandwidth percent 25
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy output gold_policy
Switch(config-if)# exit
78-17058-01
Purpose
Set output bandwidth limits for the policy-map class.
•
Enter a rate to set bandwidth in kilobits per second. The range
is from 64 to 1000000.
•
Enter percent value to set bandwidth as a percentage of the
total bandwidth. The range is 1 to 100 percent.
•
Enter remaining percent value to set bandwidth as a
percentage of the remaining bandwidth. The range is 1 to
100 percent. This keyword is valid only when strict priority
(priority without police) is configured for another class in the
output policy map.
You must specify the same units in each bandwidth configuration
in an output policy (absolute rates or percentages). The total
guaranteed bandwidth cannot exceed the total available rate.
Return to policy-map configuration mode.
Return to global configuration mode.
Enter interface configuration mode for the interface to which you
want to attach the policy.
Attach the policy map (created in Step 2) to the egress interface.
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-45