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-20
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
12. match [not] protocol protocol value [protocol-value1 ... protocol-value7]
13. match [not] qos-group [qos-group-value1 ... qos-group-value8]
14. match vlan [inner] vlanid [vlanid1 ... vlanid7]
15. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Enters global configuration mode.
Step 2
class-map [type qos] [match-any] [match-all]
class-map-name
Example:
RP/0/RSP0/CPU0:router(config)# class-map
class201
Enters class map configuration mode.
• Creates a class map to be used for matching packets to
the class whose name you specify.
• If you specific match-any, one of the match criteria
must be met for traffic entering the traffic class to be
classified as part of the traffic class. This is the default.
If you specify match-all, the traffic must match all the
match criteria.
Step 3
match access-group [ipv4 | ipv6]
access-group-name
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match
access-group ipv4 map1
(Optional) Configures the match criteria for a class map
based on the specified access control list (ACL) name.
Step 4
match [not] cos [
cos-value
]
[
cos-value0 ...
cos-value7
]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match cos 5
(Optional) Specifies a cos-value in a class map to match
packets.
• cos-value arguments are specified as an integer from 0
to 7.
Step 5
match [not] cos inner [
inner-cos-value
]
[
inner-cos-value0
...
inner-cos-value7
]
Example:
RP/0/RSP0/CPU0:router match cos inner 7
(Optional) Specifies an inner-cos-value in a class map to
match packets.
• inner-cos-value arguments are specified as an integer
from 0 to 7.
Step 6
match destination-address mac
destination-mac-address
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match
destination-address mac 00.00.00
(Optional) Configures the match criteria for a class map
based on the specified destination MAC address.