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-anymeans a single match rule is sufficient for class membership and match-allmeans 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-groupnumber

Router(config-cmap)# match ip dscp number

Router(config-cmap)# match ip precedence number

Router(config-cmap)#match input-interface interface-name

match access-groupspecifies 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-interfacespecifies 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.”

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-mappolicy_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 Step 1 of Creating a Class Map. When you enter the class command, you are placed in class submode of the policy-map configuration mode.

Cisco MWR 1900 Mobile Wireless Edge Router Software Configuration Guide

4-14

78-13983-04

 

 

Page 42
Image 42
Cisco Systems 78-13983-04 manual Creating a Class Map, Creating a Policy Map