Class-Map - Cisco ME 3400 Command Reference Manual

Ethernet access switch
Table of Contents

Advertisement

class-map

class-map
Use the class-map global configuration command to create a class map to be used for matching packets
to a specified criteria and to enter class-map configuration mode. Use the no form of this command to
delete an existing class map.
Syntax Description
match-all
match-any
class-map-name
Defaults
No class maps are defined.
If neither the match-all or the match-any keyword is specified, the default is match-all.
Command Modes
Global configuration
Command History
Release
12.2(25)EX
Usage Guidelines
Use this command to specify the name of the class for which you want to create or to modify class-map
match criteria and to enter class-map configuration mode.
The switch supports a maximum of 1024 unique class maps.
You use the class-map command and class-map configuration mode to define packet classification as
part of a globally named service policy applied on a per-port basis. When you configure a class map, you
can use one or more match commands to specify match criteria. Packets arriving at either the input or
output interface (determined by how you configure the service-policy interface configuration command)
are checked against the class-map match criteria to determine if the packet belongs to that class.
A match-all class map means that the packet must match all entries and can have no other match
statements.
After you are in class-map configuration mode, these configuration commands are available:
Cisco ME 3400 Ethernet Access Switch Command Reference
2-36
class-map [match-all | match-any] class-map-name
no class-map [match-all | match-any] class-map-name
(Optional) Perform a logical-AND of all matching statements under this class
map. Packets must meet all of the match criteria.
(Optional) Perform a logical-OR of the matching statements under this class
map. Packets must meet one or more of the match criteria.
Name of the class map.
Modification
This command was introduced.
description: describes the class map (up to 200 characters). The show class-map privileged EXEC
command displays the description and the name of the class map.
exit: exits QoS class-map configuration mode.
Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
OL-9640-10

Advertisement

Table of Contents
loading

Table of Contents