-403
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
service-policy (class-map)
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.
service-policy policy-map
no service-policy
Syntax Description
Command Default No service policy is specified.
Command Modes Class-map configuration
Command History
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:
policy-map 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.
Release Modification
12.1(2)T This command was introduced.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX 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.
12.4(20)MR This command was integrated into Cisco IOS Release 12.4(20)MR.
12.2(33)MRA This command was integrated into Cisco IOS Release 12.2(33)MRA.
15.0(1)MR This command was integrated into Cisco IOS Release 15.0(1)MR.
Comments to this Manuals