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 XR Config 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 type of the
service policy.
type qos
(Optional) Specifies a
quality-of-service (QoS) policy
map.
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
XR Config mode
Command History
Modification
Release
This command was introduced.
Release 6.0
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 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.
A single policy map can be attached to multiple interfaces concurrently.
The number of classes per policy-map supported in the egress direction is 8 and ingress direction is 32.
For egress classification, in order to see statistics on all 8 CoSQs, you are recommended to configure all 8
classes including class-default.
Task ID
Operations
Task
ID
read,
write
qos
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
45
Congestion Management Commands
policy-map