Command Modes
Policy map police configuration
Command History
ModificationRelease
This command was introduced.Release 3.4.0
The set qos-group keyword was added.Release 3.4.1
The srp-priority value keyword and argument were added.
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.
For more information regarding the traffic policing feature, see the police rate, on page 63 command.
The conform-action command is used to set the DSCP, the precedence, or the discard class for IP packets,
and experimental or discard class values for MPLS packets.
•
experimental, qos-group, and discard class values, or
•
experimental and qos-group values, or
•
experimental and discard class values
•
Ingress and egress
•
Layer 2 subinterfaces
•
Layer 2 main interfaces
•
Layer 3 main interfaces
Task ID
OperationsTask ID
read, writeqos
Examples
In the following example for MPLS, traffic policing is configured to set the MPLS experimental bit for packets
that conform to the rate limit:
RP/0/RP0/CPU0:router(config)# class-map class
RP/0/RP0/CPU0:router(config-cmap)# match mpls experimental topmost 0
RP/0/RP0/CPU0:router(config-cmap)# exit
RP/0/RP0/CPU0:router(config)# policy-map child
RP/0/RP0/CPU0:router(config-pmap)# class prec1
RP/0/RP0/CPU0:router(config-pmap-c)# police rate 100000000 peak-rate 3125000 peak-burst
3125000
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
18 OL-23235-03
Quality of Service Commands on the Cisco IOS XR Software
conform-action