Service-Policy (Class-Map) - Cisco MWR 2941 Command Reference Manual

Table of Contents

Advertisement

Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR

service-policy (class-map)

To attach a policy map to a class, use the service-policy command in class-map configuration mode. To
remove a service policy from a class, use the no form of this command.
Syntax Description
policy-map
Command Default
No service policy is specified.
Command Modes
Class-map configuration
Command History
Release
12.1(2)T
12.2(33)SRA
12.2SX
12.4(20)MR
12.2(33)MRA
15.0(1)MR
Usage Guidelines
You can attach a single policy map to one or more classes to specify the service policy for those classes.
This command is only available for the output interface, which is assumed.
Examples
In the following example, three policy maps are defined—cust1-classes, cust2-classes, and cust-policy.
The policy maps cust1-classes and cust2-classes have three classes defined—gold, silver, and bronze.
For cust1-classes, gold is configured to use 50 percent of the bandwidth. Silver is configured to use
20 percent of the bandwidth, and bronze is configured to use 15 percent of the bandwidth.
For cust2-classes, gold is configured to use 30 percent of the bandwidth. Silver is configured to use
15 percent of the bandwidth, and bronze is configured to use 10 percent of the bandwidth.
The policy map cust-policy specifies average rate shaping of 384 kbps and assigns the service policy
called cust1-classes to the policy map called cust1-classes. The policy map called cust-policy specifies
peak rate shaping of 512 kbps and assigns the service policy called cust2-classes to the policy map called
cust2-classes.
To configure classes for cust1-classes, use the following commands:
OL-23890-01
service-policy policy-map
no service-policy
The name of a service policy map (created using the policy-map command)
to be attached. The name can be a maximum of 40 alphanumeric characters.
Modification
This command was introduced.
This command was integrated into Cisco IOS Release 12.2(33)SRA.
This command is supported in the Cisco IOS Release 12.2SX train. Support
in a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.
This command was integrated into Cisco IOS Release 12.4(20)MR.
This command was integrated into Cisco IOS Release 12.2(33)MRA.
This command was integrated into Cisco IOS Release 15.0(1)MR.
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
service-policy (class-map)
397

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mwr 2941-dcMwr 2941-dc-a

Table of Contents