Class-Map - Cisco Catalyst 3750 Metro Command Reference Manual

Hide thumbs Also See for Catalyst 3750 Metro:
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 the class whose name you specify and to enter class-map configuration mode. Use the no form of this
command to delete an existing class map and to return to global configuration mode.
Syntax Description
match-all
match-any
class-map-name
Defaults
No class maps are defined.
If neither the match-all nor the match-any keyword is specified, the default is match-all.
Command Modes
Global configuration
Command History
Release
12.1(14)AX
Usage Guidelines
Use this command to specify the name of the class for which you want to create or modify class-map
match criteria and to enter class-map configuration mode. Packets are checked against the match criteria
configured for a class map to decide if the packet belongs to that class. If a packet matches the specified
criteria, the packet is considered a member of the class and is forwarded according to the quality of
service (QoS) specifications set in the traffic policy.
You can create up to 4093 class maps.
After you enter the class-map command, the switch enters class-map configuration mode, and these
configuration commands are available:
Catalyst 3750 Metro Switch Command Reference
2-40
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 under this class map. All
criteria in the class map must be matched.
(Optional) Perform a logical-OR of the matching statements under this class
map. One or more criteria in the class map must be matched.
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 from QoS class-map configuration mode.
match: configures classification criteria. For more information, see the
configuration)
command.
no: removes a match statement from a class map.
rename: renames the current class map. If you rename a class map with a name that is already used,
the message
A class-map with this name already exists
Chapter 2
Catalyst 3750 Metro Switch Cisco IOS Commands
match (class-map
appears.
OL-9645-10

Advertisement

Table of Contents
loading

Table of Contents