Cisco Systems 78-13983-04 Manual De Usuario
4-14
Cisco MWR 1900 Mobile Wireless Edge Router Software Configuration Guide
78-13983-04
Chapter 4
Configuring with the Command-Line Interface
Configuring QoS Attributes
Creating a Class Map
For each class map that you want to create, do the following in global configuration mode:
Step 1
Assign a name to your class map.
Router(config)# class-map [match-all | match-any] class_name
Where match-any means a single match rule is sufficient for class membership and match-all means
only those packets that have all the attributes you specify are part of the class.
only those packets that have all the attributes you specify are part of the class.
When you enter the class-map command, you are placed in class map configuration mode.
Step 2
Describe the characteristics of the packets that are subject to QoS using one or more of the following.
Router(config-cmap)# match access-group number
Router(config-cmap)# match ip dscp number
Router(config-cmap)# match ip precedence number
Router(config-cmap)# match input-interface interface-name
•
match access-group specifies access control list (ACL) that a packet must match.
•
match ip dscp specifies the IP differentiated service code point (DSCP) that a packet must match.
•
match ip precedence specifies the precedence values (0-7) that a packet must match.
•
match input-interface specifies the name of the input interface used as a match criterion.
For more information about these commands, see the “Cisco IOS Quality of Service Solutions Command
Reference.”
Reference.”
Step 3
Exit class map configuration mode.
Router(config-cmap)# exit
Creating a Policy Map
To create a policy map, do the following in global configuration mode:
Step 1
Assign a name to your policy map.
Router(config)# policy-map policy_name
When you enter the policy-map command, you are placed in policy map configuration mode.
Step 2
Associate the policy map with a class map.
Router(config-pmap)# class class_name
Specify the same class_name as you did in
. When you enter the class
command, you are placed in class submode of the policy-map configuration mode.