Cisco Catalyst 3560X-24P Command Reference Manual page 123

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
If you enter the match-all or match-any keyword, you can only use it to specify an extended named
access control list (ACL) with the match access-group acl-index-or-name class-map configuration
command.
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.
Only one ACL can be configured in a class map. The ACL can have multiple access control entries
(ACEs).
Examples
This example shows how to configure the class map called class1 with one match criterion, which is an
access list called 103:
Switch(config)# access-list 103 permit ip any any dscp 10
Switch(config)# class-map class1
Switch(config-cmap)# match access-group 103
Switch(config-cmap)# exit
This example shows how to delete the class map
Switch(config)# no class-map class1
You can verify your settings by entering the show class-map privileged EXEC command.
Related Commands
Command
class
match (class-map
configuration)
policy-map
show class-map
OL-21522-02
class1 :
Description
Defines a traffic classification match criteria (through the police,
set, and trust policy-map class configuration commands) for the
specified class-map name.
Defines the match criteria to classify traffic.
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
Displays QoS class maps.
Catalyst 3750-X and 3560-X Switch Command Reference
class-map
2-91

Advertisement

Table of Contents
loading

Table of Contents