Configuring Modular QoS Service Packet Classification and Marking on Cisco ASR 9000 Series Routers
Configuration Examples for Configuring Modular QoS Packet Classification and Marking on Cisco ASR 9000 Series
QC-36
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
Note The match qos-group command is supported only on egress policies.
Class-based, Unconditional Packet Marking Examples
The following are typical class-based, unconditional packet marking examples:
• IP Precedence Marking Configuration: Example, page 36
• IP DSCP Marking Configuration: Example, page 36
• QoS Group Marking Configuration: Example, page 37
• CoS Marking Configuration: Example, page 37
• MPLS Experimental Bit Imposition Marking Configuration: Example, page 37
• MPLS Experimental Topmost Marking Configuration: Example, page 38
IP Precedence Marking Configuration: Example
In the following example, a service policy called policy1 is created. This service policy is associated to
a previously defined class map called class1 through the use of the class command, and then the service
policy is attached to the output POS interface 0/1/0/0. The IP precedence bit in the ToS byte is set to 1:
policy-map policy1
class class1
set precedence 1
!
interface pos 0/1/0/0
service-policy output policy1
IP DSCP Marking Configuration: Example
In the following example, a service policy called policy1 is created. This service policy is associated to
a previously defined class map through the use of the class command. In this example, it is assumed that
a class map called class1 was previously configured.
In the following example, the IP DSCP value in the ToS byte is set to 5:
policy-map policy1
class class1
set dscp 5
class class2
set dscp ef
After you configure the settings shown for voice packets at the edge, all intermediate routers are
configured to provide low-latency treatment to the voice packets, as follows:
class-map voice
match dscp ef
policy-map qos-policy
class voice
priority level 1
police rate percent 10