Cisco Systems A9014CFD Router User Manual


 
24-39
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 24 Configuring QoS
Configuring Quality of Service (QoS)
Creating a Class Map for Marking Network Traffic
Class maps allow you to define classes of network traffic in order to apply QoS features to each class.
Complete the following steps to define a traffic class to mark network traffic:
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 class-map command to define a new class map and enter class map configuration mode.
Router(config)# class-map class1
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
Step 6 Exit configuration mode.
Router(config-cmap)# end
Router#
Creating a Policy Map for Applying a QoS Feature to Network Traffic
Policy maps allow you to apply the appropriate QoS feature to the network traffic based on the traffic
classification. The following sections describe how to create and configure a policy map to use a class
map or table map.
The following restrictions apply when applying a QoS feature to network traffic:
A policy map containing the set qos-group command can only be attached as an intput traffic policy.
A policy map containing the set cos command can only be attached as an input traffic policy.
Complete the following steps to create a policy 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.