30-45
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter30 Configuring QoS Configuring QoS
After you have created an output policy map, you attach it to an egress port. See the “Attaching a Traffic
Policy to an Interface” section on page30-35.
Use the no form of the appropriate command to delete an existing policy map, class map, or b andwidth
configuration.
This example shows how to set the precedence of a queue by allocating 2 5 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
Step4 bandwidth {rate | percent value | remaining
percent value}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.
Step5 exit Return to policy-map configuration mode.
Step6 exit Return to global configuration mode.
Step7 interface interface-id Enter interface configuration mode for the interface to which you
want to attach the policy.
Step8 service-policy output policy-map-name Attach the policy map (created in Step 2) to the egress interface.
Step9 end Return to privileged EXEC mode.
Step10 show policy-map [policy-map-name [class
class-map-name]] Verify your entries.
Step11 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose