Specifications
4-98
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Chapter 4 Configuring the Cisco MWR 2941 Router Using the CLI
Configuration Sequence
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 follow 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 output traffic
policy.
• A policy map containing the set cos command can only be attached as an input traffic policy.
Follow these 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.
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Step 4 Use the policy-map command to define a policy map and enter policy map configuration mode.
Router(config)# policy-map policy1
Router(config-pmap)#
Step 5 Use the class command to specify the traffic class for which you want to create a policy and enter policy
map class configuration mode. You can also use the class-default parameter to define a default class.
Router(config-pmap)# class class1
Router(config-pmap-c)#