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 mode. To delete a policy map, use the no form of this
command.
policy-map [type qos] policy-name
no policy-map [type qos] policy-name
Syntax Description
(Optional) Specifies a quality-of-service (QoS) policy map.type qos
Name of the policy map.
policy-name
Command Default
A policy map does not exist until one is configured. Because a policy map is applied to an interface, no
restrictions on the flow of data are applied to any interface until a policy map is created.
Type is QoS when not specified.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Release 2.0
Maximum number of classes permitted per policy map was increased to
32.
Release 3.3.0
The type qos keywords were added.
Maximum number of classes permitted per policy map was increased to
512.
Release 3.6.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
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 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. Use
the class-map and match commands to configure the match criteria for a class. Because you can configure
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
OL-23235-03 67
Quality of Service Commands on the Cisco IOS XR Software
policy-map