1-100
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
policy-map
policy-map
To enter policy-map configuration mode and 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
mode. To delete a policy map, use the
no
form of this command.
policy-map
[
type
{
control
|
service
}]
policy-map-name
no policy-map
[
type
{
control
|
traffic
}]
policy-map-name
Syntax Description
Command Default
The policy map is not configured.
Command Modes
Global configuration (config)
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 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.
type
Specifies the policy-map type.
control
(Optional) Creates a control policy map.
service
(Optional) Creates a service policy map.
policy-map-name
Name of the policy map. The name can be a maximum of 40
alphanumeric characters.
Release
Modification
15.1(2)SNG
Support for this command was introduced on the Cisco ASR 901 router.