11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sclass-mapclass-mapUse the class-map global configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>alone switch to createa class map to be used for matching packets to the class whose name you specify <strong>and</strong> to enter class-mapconfiguration mode. Use the no form of this comm<strong>and</strong> to delete an existing class map <strong>and</strong> to return toglobal configuration mode.class-map [match-all | match-any] class-map-nameno class-map [match-all | match-any] class-map-nameSyntax Descriptionmatch-allmatch-anyclass-map-name(Optional) Perform a logical-AND of all matching statements under this classmap. All criteria in the class map must be matched.(Optional) Perform a logical-OR of the matching statements under this classmap. One or more criteria must be matched.Name of the class map.DefaultsNo class maps are defined.If neither the match-all or match-any keyword is specified, the default is match-all.Comm<strong>and</strong> ModesGlobal configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesUse this comm<strong>and</strong> to specify the name of the class for which you want to create or modify class-mapmatch criteria <strong>and</strong> to enter class-map configuration mode.The class-map comm<strong>and</strong> <strong>and</strong> its subcomm<strong>and</strong>s are used to define packet classification, marking, <strong>and</strong>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 comm<strong>and</strong>sare available:• description: describes the class map (up to 200 characters). The show class-map privileged EXECcomm<strong>and</strong> displays the description <strong>and</strong> 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-mapconfiguration) comm<strong>and</strong>.• 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.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-87

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!