The following commands can be used in a class map:
•
match access-group
•
match atm
•
match [not] cos
•
match destination-address
•
match [not] discard-class
•
match [not] dscp
•
match frame-relay dlci
•
match [not] mpls experimental topmost
•
match [not] precedence
•
match precedence
•
match [not] protocol
•
match [not] qos-group
•
match source-address
•
match vlan
•
match vpls
Task ID
OperationsTask ID
read, writeqos
Examples
The following example shows how to specify class101 as the name of a class and defines a class map for this
class. The packets that match the access list 101 are matched to class class101.
RP/0/RP0/CPU0:router(config)# class-map class101
RP/0/RP0/CPU0:router(config-cmap)# match access-group ipv4 101
Related Commands
DescriptionCommand
Specifies the name of the class whose policy you want to create or
change.
class (policy-map), on page 10
Identifies a specified access control list (ACL) number as the match
criteria for a class map.
match access-group, on page 32
Enables packet matching on the basis of the ATM operations,
administration, and maintenance (OAM) or cell loss priority (CLP).
match atm, on page 34
Identifies specified class of service (CoS) values as a match criteria
in a class map.
match cos, on page 36
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
OL-23235-03 13
Quality of Service Commands on the Cisco IOS XR Software
class-map