How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers
Command or Action
Step 4
set precedence number
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set
precedence 1
Step 5
set dscp dscp-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set dscp
5
Step 6
set qos-group qos-group-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set
qos-group 31
Step 7
set cos [inner] cos-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set cos 7
Step 8
set mpls experimental {imposition | topmost}
exp-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set mpls
experimental imposition 3
Step 9
set discard-class discard-class-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set
discard-class 3
Step 10
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# exit
Step 11
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap)# exit
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
QC-24
Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers
D r a f t — C i s c o C o n f i d e n t i a l
Purpose
Sets the precedence value in the IP header.
Marks a packet by setting the DSCP in the ToS byte.
Sets the QoS group identifiers on IPv4 or MPLS packets.
The set qos-group command is supported only on an
ingress policy.
Sets the specific IEEE 802.1Q Layer 2 CoS value of an
outgoing packet.Values are from 0 to 7.
•
This command should be used by a router if a user
wants to mark a packet that is being sent to a switch.
Switches can leverage Layer 2 header information,
including a CoS value marking.
The set cos command is supported only on an egress
•
policy. Packets entering an interface cannot be set with
a CoS value.
Sets the experimental value of the MPLS packet top-most or
imposition labels.
The imposition keyword can be used only in service
•
policies that are attached in the ingress policy.
Sets the discard class on IP Version 4 (IPv4) or
Multiprotocol Label Switching (MPLS) packets.
This command can be used only in service policies that
•
are attached in the ingress policy.
Returns the router to policy map configuration mode.
Returns the router to global configuration mode.
OL-17239-01