Command History
Modification
Release
This command was introduced.
Release 6.0
Usage Guidelines
Policer conditional set is unsupported.
Policing can be applied only in the ingress direction.
For
police rate
commands, interpret the
percent
keyword in this way:
• For a one-level policy, the
percent
keyword specifies the CIR as a percentage of the link rate. For
example, the command
police rate percent 35
configures the CIR as 35% of the link rate.
Configured values take into account the Layer 2 encapsulation applied to traffic. This applies to ingress
policing. For Ethernet transmission, the encapsulation is considered to be 14 bytes, whereas for IEEE 802.1Q,
the encapsulation is 18 bytes.
Note
For more information, see the Committed Bursts and Excess Bursts section in the
Modular QoS Configuration
Guide for Cisco NCS 5500 Series Routers
.
A police rate minimum of 21 kbps is supported.
Note
Task ID
Operations
Task
ID
read,
write
qos
In this example for MPLS, traffic policing is configured with the average rate at 250 kbps, and the
normal burst size at 50 bytes for all packets leaving HundredGigE interface 0/1/0/0:
RP/0/RP0/CPU0:router(config)#
class-map class1
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 policy1
RP/0/RP0/CPU0:router(config-pmap)#
class class1
RP/0/RP0/CPU0:router(config-pmap-c)#
police rate 250 kbps burst 50
RP/0/RP0/CPU0:router(config-pmap-c)#
exit
RP/0/RP0/CPU0:router(config-pmap)#
exit
RP/0/RP0/CPU0:router(config)#
HundredGigE interface 0/1/0/0
RP/0/RP0/CPU0:router(config-if)
service-policy input policy1
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
44
Congestion Management Commands
police rate