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
DescriptionCommand
Configures the action to take on packets that conform to the rate limit.conform-action, on page 17
(Used for SIP 700 cards only.) Configures preclassification of ingress
Layer 2 Frame Relay packets that have been previously marked as discard
exceed-color
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.
police rate, on page 63
Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
policy-map, on page 67
Displays policy configuration information for all classes configured for
all service policies on the specified interface.
show policy-map interface, on
page 125
Configures the action to take on packets that violate the rate limit.violate-action, on page 144
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
OL-23235-03 25
Quality of Service Commands on the Cisco IOS XR Software
exceed-action