Creating a class map, Creating a policy map – Cisco 3825 User Manual

Page 105

Advertising
background image

4-47

Cisco 3825 Mobile Wireless Edge Router Software Configuration Guide

OL-15667-03

Chapter 4 Configuring the Cisco 3825 Mobile Wireless Edge Router in a RAN-O Solution with the Command-Line

Configuration Sequence

Creating a Class Map

For each class map that you want to create, follow these steps, while 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 that a single match rule is sufficient for class membership and match-all
means that only packets that have all the specified attributes are part of the class.

For example, the following command specifies the class map as an llq-class:

Router(config)# class-map match-any llq-class

When you enter the class-map command, you are in the class map configuration mode.

Step 2

To identify a specific IP differentiated service code point (DSCP) value as a match criterion, use the
following command:

Router(config-cmap)# match ip dscp

value

Where match ip dscp value specifies the exact value from 0 to 63 used to identify an IP DSCP value.

For example, the following command specifies cs2 to be used as a match criterion:

Router(config-cmap)# match ip dscp cs2

For more information about this command, see the Cisco IOS Quality of Service Solutions Command
Reference
for your Cisco IOS Release.

Step 3

Exit the class map configuration mode.

Router(config-cmap)# exit

Creating a Policy Map

To create a policy map, follow these steps, while in the global configuration mode:

Step 1

Assign a name to your policy map.

Router(config)# policy-map

policy_name

Where policy_name specifies the name of the traffic policy. The traffic policy may contain one or more
traffic classes.

For example, the following command specifies the policy map of low latency queueing (LLQ).

Router(config)# policy-map llq-policy

When you enter the policy-map command, you are in the policy map configuration mode.

Step 2

Associate the llq-policy with a class map.

Router(config-pmap)# class

class_name

Where class_name specifies the name of a traffic class you want to modify.

Specify the same class_name as you did in Step 1in the

“Creating a Class Map” section on page 4-47

.

Advertising