Cisco CRS Command Reference Manual page 55

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
experimental value of 2 should be treated differently than a packet marked with the EXP value of 1. The
treatment of these different packets is defined by the user through the setting of QoS policies in policy map
class configuration mode.
Task ID
Task ID
qos
Examples
The following example shows how to configure the service policy called policy1 and attach service policy
policy1 to an interface. In this example, class map mplsmap1 evaluates all packets entering GigabitEthernet
interface 0/1/0/9 for an MPLS experimental value of 1. If the incoming packet has been marked with the
MPLS experimental value of 1, the packet is queued to the class queue with the bandwidth setting of 300
kbps.
RP/0/RP0/CPU0:router(config)# class-map mplsmap1
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 policy1
RP/0/RP0/CPU0:router(config-pmap)# class mplsmap1
RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth 300
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 output policy1
Related Commands
Command
class-map, on page 12
match dscp, on page 44
policy-map, on page 67
set mpls experimental, on page 104
show policy-map interface, on page 125
OL-23235-03
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
Operations
read, write
Description
Defines a traffic class and the associated rules that match packets
to the class.
Identifies specific IP differentiated services code point (DSCP)
values as match criteria for a class map.
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.
match mpls experimental topmost
49

Advertisement

Table of Contents
loading

Table of Contents