-323
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
policy-map
Usage Guidelines Use the policy-map command to specify the name of the policy map to be created, added to, or modified
before you configure policies for classes whose match criteria are defined in a class map. The
policy-map command enters policy-map configuration mode, in which you can configure or modify the
class policies for a policy map.
You can configure class policies in a policy map only if the classes have match criteria defined for them.
Use the class-map and match commands to configure the match criteria for a class. Because you can
configure a maximum of 64 class maps, a policy map cannot contain more than 64 class policies.
A single policy map can be attached to more than one interface concurrently. Except as noted, when you
attempt to attach a policy map to an interface, the attempt is denied if the available bandwidth on the
interface cannot accommodate the total bandwidth requested by class policies that make up the policy
map. In this case, if the policy map is already attached to other interfaces, it is removed from them.
Whenever you modify class policy in an attached policy map, class-based weighted fair queueing
(CBWFQ) is notified and the new classes are installed as part of the policy map in the CBWFQ system.
Note Policy-map installation via subscriber-profile is not supported. If you configure an unsupported policy
map and there are a large number of sessions, then an equally large number of messages print on the
console. For example, if there are 32,000 sessions, then 32,000 messages print on the console at 9,600
baud.
Examples The following example creates a policy map called “policy1” and configures two class policies included
in that policy map. The class policy called “class1” specifies policy for traffic that matches access
control list (ACL) 136. The second class is the default class to which packets that do not satisfy
configured match criteria are directed.
! The following commands create class-map class1 and define its match criteria:
class-map class1
match access-group 136
! The following commands create the policy map, which is defined to contain policy
! specification for class1 and the default class:
policy-map policy1
class class1
bandwidth 2000
queue-limit 40
class class-default
fair-queue 16
queue-limit 20
Cisco IOS XE
Release 2.1
This command was implemented on Cisco ASR 1000 series routers.
12.4(20)MR This command was integrated into Cisco IOS Release 12.4(20)MR. This
release only supports the type control and type service keywords.
12.2(33)MRA This command was integrated into Cisco IOS Release 12.2(33)MRA. This
release only supports the type control and type service keywords.
15.0(1)MR This command was integrated into Cisco IOS Release 15.0(1)MR.
Release Modification
Comments to this Manuals