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-21
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
Step 7
match source-address mac 
source-mac-address
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match 
source-address mac 00.00.00
(Optional) Configures the match criteria for a class map 
based on the specified source MAC address.
Step 8
match [not] discard-class 
discard-class-value
 
[
discard-class-value1
 ... 
discard-class-value6
]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match 
discard-class 5
(Optional) Specifies a discard-class-value in a class map to 
match packets.
  • discard-class-value argument is specified as an integer 
from 0 to 7.
The match discard-class command is supported only for an 
egress policy.
Step 9
match [not] dscp [ipv4 | ipv6] 
dscp-value
 
[
dscp-value
 ... 
dscp-value
]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match dscp 
ipv4 15
(Optional) Identifies a specific DSCP value as a match 
criterion.
  • Value range is from 0 to 63. 
  • Reserved keywords can be specified instead of numeric 
values.
  • Up to eight values or ranges con be used per match 
statement.
Step 10
match [not] mpls experimental topmost 
exp-value
 
[
exp-value1
 
...
 
exp-value7
]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match mpls 
experimental topmost 3
(Optional) Configure a class map so that the three-bit 
experimental field in the topmost Multiprotocol Label 
Switching (MPLS) labels are examined for experimental 
(EXP) field values.
The value range is from 0 to 7. 
Step 11
match [not] precedence [ipv4 | ipv6] 
precedence-value
 [
precedence-value1 ... 
precedence-value6
]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match 
precedence ipv4 5
(Optional) Identifies IP precedence values as match criteria.
  • Value range is from 0 to 7. 
  • Reserved keywords can be specified instead of numeric 
values. 
Step 12
match [not] protocol 
protocol-value
 
[
protocol-value1
 ... 
protocol-value7
]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match 
protocol igmp
(Optional) Configures the match criteria for a class map on 
the basis of the specified protocol.
Step 13
match [not] qos-group [
qos-group-value1
 ... 
qos-group-value8
]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match 
qos-group 1 2 3 4 5 6 7 8
(Optional) Specifies service (QoS) group values in a class 
map to match packets.
  • qos-group-value identifier argument is specified as the 
exact value or range of values from 0 to 63.
  • Up to eight values (separated by spaces) can be entered 
in one match statement.
  • match qos-group command is supported only for an 
egress policy.
Command or Action Purpose