Quality of Service Commands on the Cisco IOS XR Software
Examples
In the following example for MPLS, traffic policing is configured to drop traffic that exceeds the rate limit:
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-police)# exceed-action drop
RP/0/RP0/CPU0:router(config-pmap-c-police)# exit
RP/0/RP0/CPU0:router(config-pmap-c)# exit
RP/0/RP0/CPU0:router(config-pmap)# exit
RP/0/RP0/CPU0:router(config)# interface pos 0/5/0/0
RP/0/RP0/CPU0:router(config-if) service-policy input policy1
Related Commands
Command
conform-action, on page 17
exceed-color
police rate, on page 63
policy-map, on page 67
show policy-map interface, on
page 125
violate-action, on page 144
OL-23235-03
Description
Configures the action to take on packets that conform to the rate limit.
(Used for SIP 700 cards only.) Configures preclassification of ingress
Layer 2 Frame Relay packets that have been previously marked as discard
eligible on an upstream node. These previously-marked packets are
analyzed and preclassified by the color-aware policer on the ingress
interface as part of the 2-rate 3-color (2R3C) traffic policing feature.
Configures traffic policing and enters policy map police configuration
mode.
Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
Displays policy configuration information for all classes configured for
all service policies on the specified interface.
Configures the action to take on packets that violate the rate limit.
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
exceed-action
25