Cisco Systems A9014CFD Router User Manual


 
24-35
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 24 Configuring QoS
Configuring Quality of Service (QoS)
Step 5 Use the match command to specify the match criteria for the class map. You can define a variety of
match criteria including CoS, DSCP, MPLS Exp, or QoS group value.
Router(config-cmap)# match qos-group 7
Note Class-default queue matches packets with qos-group 0.
Step 6 Exit configuration mode.
Router(config-cmap)# end
Router#
Creating a Policy Map for Applying a QoS Feature to Network Traffic
A policy map allows you to apply a QoS feature to network traffic based on the traffic classification.
Complete the following steps to create and configure a policy map that uses an existing class map.
Step 1 Enter enable mode.
Router> enable
Step 2 Enter the password.
Password:
password
When the prompt changes to Router, you have entered enable mode.
Step 3 Enter global configuration mode.
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Step 4 Use the policy-map command to define a new policy map and enter policy map configuration mode.
Router(config)# policy-map policy1
Router(config-pmap)#
Step 5 Use the class command to specify a traffic class to which the policy applies. This command enters
policy-map class configuration mode, which allows you to define the treatment for the traffic class.
Router(config-pmap)# class class1
Router(config-pmap-c)#
Use the bandwidth command to specify the bandwidth allocated for a traffic class attached to the policy
map. You can define the amount of bandwidth in kbps, a percentage of bandwidth, or an absolute amount
of bandwidth. This step is optional.
Note GigabitEthernet interfaces only support bandwidth defined as a percentage or remaining percent.
Router(config-pmap-c)# bandwidth percent 50
Step 6 Exit configuration mode.
Router(config-cmap)# end
Router#