Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
•
•
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 c
Switch(config)# no class-map class1
You can verify your settings by entering the show class-map privileged EXEC command.
Related Commands
Command
class
match access-group
match cos
match ip dscp
match ip precedence
match qos-group
match vlan
policy-map
show class-map
OL-9640-10
match: configures classification criteria. For more information, see the match class-map
configuration commands.
no: removes a match statement from a class map.
lass1:
Description
Defines a traffic classification match criteria for the specified
class-map name.
Configures the match criteria for a class map on the basis of the
specified access control list (ACL)
Configures the match criteria for a class map on the basis of the
Layer 2 class of service (CoS) marking,
Configures the match criteria for a class map on the basis of a
specific IPv4 Differentiated Service Code Point (DSCP) value.
Configures the match criteria for a class map on the basis of IPv4
precedence values.
Configures the match criteria for a class map on the basis of a
specific quality of service (QoS) group value.
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.
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
Displays QoS class maps.
Cisco ME 3400 Ethernet Access Switch Command Reference
class-map
2-37