Cisco Cisco IOS Software Release 12.4(6)T
Tag and Template
policy-map
25
Cisco IOS Security Configuration Guide
policy-map
To create or modify a policy map that can be attached to one or more interfaces to specify a service
policy, use the policy-map command in global configuration command. To delete a policy map, use the
no form of this command.
policy, use the policy-map command in global configuration command. To delete a policy map, use the
no form of this command.
policy-map [type access-control | type control tag] policy-map-name
no policy-map [type access-control | type control tag] policy-map-name
Syntax Description
Defaults
No default behavior or values
Command Modes
Global configuration
Command History
Usage Guidelines
Use the policy-map command to specify the name of the policy map to be created, added to, or modified
before you can configure policies for classes whose match criteria are defined in a class map. Entering
the policy-map command enables QoS policy-map configuration mode in which you can configure or
modify the class policies for that policy map.
before you can configure policies for classes whose match criteria are defined in a class map. Entering
the policy-map command enables QoS policy-map configuration mode in which you can configure or
modify the class policies for that policy map.
You can configure class policies in a policy map only if the classes have match criteria defined for them.
You 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, no policy map can contain more than 64 class policies.
You 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, no policy map can contain more than 64 class policies.
A single policy map can be attached to multiple interfaces concurrently. 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 comprising the policy map. In this case, if
the policy map is already attached to other interfaces, it is removed from them.
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 comprising 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, CBWFQ is notified and the new classes
are installed as part of the policy map in the CBWFQ system.
are installed as part of the policy map in the CBWFQ system.
type access-control
(Optional) Determines the exact pattern to look for in the protocol stack of
interest.
interest.
type control tag
(Optional) Creates a policy map type tag.
policy-map-name
Name of the policy map. The name can be a maximum of 40 alphanumeric
characters.
characters.
Release
Modification
12.0(5)T
This command was introduced.
12.4(4)T
The type access-control keywords were added to support flexible packet
matching.
matching.
12.4(6)T
The type control tag keyword was added.