2-33
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
class-map
• match: configures classification criteria. For more information, see the match class-map
configuration commands.
• no: removes a match statement from a class map.
You can verify your settings by entering the show class-map privileged EXEC command.
Examples This example shows how to configure the class map called class1. By default, the class map is match-all
and therefore can contain no other match criteria.
Switch(config)# class-map class1
Switch(config-cmap)# exit
This example shows how to configure a match-any class map with one match criterion, which is an
access list called 103. This class map (matching an ACL) is supported only in an input policy map.
Switch(config)# class-map class2
Switch(config-cmap)# match access-group 103
Switch(config-cmap)# exit
This example shows how to delete the class map class1:
Switch(config)# no class-map class1
Related Commands Command Description
class Defines a traffic classification match criteria for the specified
class-map name.
match access-group Configures the match criteria for a class map on the basis of the
specified access control list (ACL)
match cos Configures the match criteria for a class map on the basis of the
Layer 2 class of service (CoS) marking,
match discard-class Configures a discard behavior identifier.
match ip dscp Configures the match criteria for a class map on the basis of a
specific IPv4 Differentiated Service Code Point (DSCP) value.
match ip precedence Configures the match criteria for a class map on the basis of IPv4
precedence values.
match mpls experimental
topmost
Match MPLS experimental value on the topmost label.
match qos-group Configures the match criteria for a class map on the basis of a
specific quality of service (QoS) group value.
match vlan Configures the match criteria for a class map in the parent policy of
a hierarchical policy map based on a VLAN ID or range of VLAN
IDs.
policy-map Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
show class-map Displays QoS class maps.