Class-Map - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

class-map

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 class-map global configuration command. To delete an existing
class map and to return to global configuration mode, use the no form of this command.
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 mode
Command History
Release
12.1(8a)EW
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.
After you enter the class-map command, the switch enters class-map configuration mode, and these
configuration commands are available:
OL-27596 -01
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
Support for this command was introduced on the Catalyst 4500 series switch.
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.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
class-map
match (class-map
2-95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents