Cisco WS-C3560E-48PD-SF Command Reference - Page 68
class-map
View all Cisco WS-C3560E-48PD-SF manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 68 highlights
class-map Chapter 2 Catalyst 3560 Switch 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. class-map [match-all | match-any] class-map-name no class-map [match-all | match-any] class-map-name Syntax Description match-all match-any class-map-name (Optional) Perform a logical-AND of all matching statements 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 must be matched. Name of the class map. Defaults No class maps are defined. If neither the match-all or match-any keyword is specified, the default is match-all. Command Modes Global configuration Command History Release 12.1(19)EA1 Modification This command was introduced. 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. The class-map command and its subcommands are used to define packet classification, marking, and aggregate policing as part of a globally named service policy applied on a per-port basis. After you are in quality of service (QoS) class-map configuration mode, these configuration commands are available: • 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 match (class-map 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 appears. To define packet classification on a physical-port basis, only one match command per class map is supported. In this situation, the match-all and match-any keywords are equivalent. 2-36 Catalyst 3560 Switch Command Reference 78-16405-05