Class-Map - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands

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.
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
class-map-name
match-all
Defaults
No class maps are defined.
Command Modes
Global configuration
Command History
Release
12.1(6)EA2
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. In this mode, you can enter one match
command to configure the match criteria for this class.
The class-map command and its subcommands are used to define packet classification and marking as
part of a globally named service policy applied on a per-interface basis.
In quality of service (QoS) class-map configuration mode, these configuration commands are available:
Only one match criterion per class map is supported. For example, when defining a class map, only one
match command can be entered.
Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access
control entries (ACEs).
The switch does not support any deny conditions in an ACL configured in a class map.
Note
OL-10102-01
class-map class-map-name [match-all]
no class-map class-map-name [match-all]
Name of the class map.
(Optional) Perform a logical-AND of all matching statements under this class
map. All criteria in the class map must be matched.
Modification
This command was introduced.
exit: exits from QoS class-map configuration mode.
no: removes a match statement from a class map.
match: configures classification criteria. For more information, see the match class-map
configuration command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
class-map
2-37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents