Cisco CRS Command Reference Manual page 107

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
Examples
The following example shows how to set the discard class value to 5 for packets that match the MPLS
experimental bits 1:
RP/0/RP0/CPU0:router(config)# class-map cust1
RP/0/RP0/CPU0:router(config-cmap)# match mpls experimental topmost 1
RP/0/RP0/CPU0:router(config-cmap)# exit
RP/0/RP0/CPU0:router(config)# policy-map policy2
RP/0/RP0/CPU0:router(config-pmap)# class cust1
RP/0/RP0/CPU0:router(config-pmap-c)# set discard-class 5
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 policy2
Related Commands
Command
class-map, on page 12
policy-map, on page 67
service-policy (interface), on page 93
OL-23235-03
Description
Defines a traffic class and the associated rules that match packets to
the class.
Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
Attaches a policy map to an input interface or output interface to be
used as the service policy for that interface.
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
set discard-class
101

Advertisement

Table of Contents
loading

Table of Contents