Configuring Modular QoS Service Packet Classification and Marking on Cisco ASR 9000 Series Routers
How to Configure Modular QoS Packet Classification and Marking on Cisco ASR 9000 Series Routers
QC-31
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
Step 4
set precedence
number
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set
precedence 1
• Sets the precedence value in the IP header.
Step 5
set dscp
dscp-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set dscp
5
• Marks a packet by setting the DSCP in the ToS byte.
Step 6
set qos-group
qos-group-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set
qos-group 31
Sets the QoS group identifiers on IPv4 or MPLS packets.
The set qos-group command is supported only on an
ingress policy.
Step 7
set cos [inner]
cos-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set cos 7
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.
Step 8
set mpls experimental {imposition | topmost}
exp-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# set mpls
experimental imposition 3
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.
Step 9
set discard-class
discard-class-value
Example:
RP/0//CPU0:router(config-pmap-c)# set
discard-class 3
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.
Command or Action Purpose