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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

class-mapChapter 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>sIf you enter the match-all or match-any keyword, you can only use it to specify an extended namedaccess control list (ACL) with the match access-group acl-index-or-name class-map configurationcomm<strong>and</strong>.To define packet classification on a physical-port basis, only one match comm<strong>and</strong> per class map issupported. In this situation, the match-all <strong>and</strong> match-any keywords are equivalent.Only one ACL can be configured in a class map. The ACL can have multiple access control entries(ACEs).ExamplesThis example shows how to configure the class map called class1 with one match criterion, which is anaccess list called 103:<strong>Switch</strong>(config)# access-list 103 permit ip any any dscp 10<strong>Switch</strong>(config)# class-map class1<strong>Switch</strong>(config-cmap)# match access-group 103<strong>Switch</strong>(config-cmap)# exitThis example shows how to delete the class map class1:<strong>Switch</strong>(config)# no class-map class1You can verify your settings by entering the show class-map privileged EXEC comm<strong>and</strong>.Related Comm<strong>and</strong>s Comm<strong>and</strong> DescriptionclassDefines a traffic classification match criteria (through the police,set, <strong>and</strong> trust policy-map class configuration comm<strong>and</strong>s) for thespecified class-map name.match (class-mapDefines the match criteria to classify traffic.configuration)policy-mapCreates or modifies a policy map that can be attached to multipleports to specify a service policy.show class-mapDisplays QoS class maps.2-88<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

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

Saved successfully!

Ooh no, something went wrong!