Cisco CRS Command Reference Manual page 151

Ios xr modular quality of service command reference
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

Quality of Service Commands on the Cisco IOS XR Software
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 refer to the
The violate-action command can set the DSCP, the precedence, or the discard class for IP packets, and
experimental and discard-class values for MPLS packets.
Task ID
Task ID
qos
Examples
In the following example for MPLS, traffic policing is configured to drop packets that violate 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)# violate-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 gigabitethernet 0/1/0/9
RP/0/RP0/CPU0:router(config-if) service-policy input policy1
Related Commands
Command
conform-action, on page 17
exceed-action, on page 23
police rate, on page 63
policy-map, on page 67
show policy-map interface, on page 125
OL-23235-03
Description
Configures the action to take on packets that conform to the rate
limit.
Configures the action to take on packets that exceed the rate limit.
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.
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
police rate, on page 63
Operations
read, write
violate-action
command.
145

Advertisement

Table of Contents
loading

Table of Contents