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-19
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
Recommendations for Using In-Place Policy Modification
For a short period of time while a QoS policy is being modified, there might not be any policy in effect
on the interfaces in which the modified policy is used. For this reason, modify QoS policies that affect
the fewest number of interfaces at a time. Use the show policy-map targets command to identify the
number of interfaces that will be affected during policy map modification.
How to Configure Modular QoS Packet Classification and
Marking on Cisco
ASR 9000 Series Routers
This section contains instructions for the following tasks:
• Creating a Traffic Class, page 19 (required)
• Creating a Traffic Policy, page 22 (required)
• Attaching a Traffic Policy to an Interface, page 24 (required)
• Shared Policy Instance, page 13 (optional)
• Configuring Class-based Unconditional Packet Marking, page 29 (required)
Creating a Traffic Class
To create a traffic class containing match criteria, use the class-map command to specify the traffic class
name, and then use the following match commands in class-map configuration mode, as needed.
For conceptual information, see the “Traffic Class Elements” section on page 11.
Restrictions
All match commands specified in this configuration task are considered optional, but you must
configure at least one match criterion for a class.
SUMMARY STEPS
1. configure
2. class-map [type qos] [match-any] [match-all] class-map-name
3. match access-group [ipv4 | ipv6] access-group-name
4. match [not] cos [cos-value] [cos-value1 ... cos-value7]
5. match [not] cos inner [inner-cos-value] [inner-cos-value1...inner-cos-value7]
6. match destination-address mac destination-mac-address
7. match source-address mac source-mac-address
8. match [not] discard-class discard-class-value [discard-class-value1 ... discard-class-value6]
9. match [not] dscp [ipv4 | ipv6] dscp-value [dscp-value1 ... dscp-value7]
10. match [not] mpls experimental topmost exp-value [exp-value1 ... exp-value7]
11. match [not] precedence [ipv4 | ipv6] precedence-value [precedence-value1 ... precedence-value7]