Configuring Modular QoS Service Packet Classification and Marking 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//CPU0:router(config-pmap-c)# set
discard-class 3
OL-23108-02
How to Configure Modular QoS Packet Classification and Marking on Cisco ASR 9000 Series Routers
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
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 to7.
Sets the Layer 2 CoS value of an outgoing packet.
•
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.
For Layer 2 interfaces, the set cos command:
•
Is rejected on ingress or egress policies on a main
–
interface.
Is accepted but ignored on ingress policies on a
–
subinterface.
Is supported on egress policies on a subinterface.
–
For Layer 3 interfaces, the set cos command:
•
Is ignored on ingress policies on a main interface.
–
Is rejected on ingress policies on a subinterface.
–
Is supported on egress policies on main interfaces
–
and subinterfaces.
Sets the experimental value of the MPLS packet top-most or
imposition labels.
imposition 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.
QC-31