Cisco 300 Series Cli Manual page 798

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

49
798
match-any—Performs a logical OR of the criteria of the ACLs belonging to
this class map. Only a single match criteria in this class map must be
matched.
Default Configuration
If neither match-all nor match-any is specified, the match-all parameter is selected
by default.
Command Mode
Global Configuration mode
User Guidelines
The class-map enters Class-map Configuration mode. In this mode, up to two
match commands can be entered to configure the criteria for this class. Each
match specifies an ACL.
When using two match commands, each must point to a different type of ACL,
such as: one IP ACL and one MAC ACL. The classification is by first match,
therefore, the order of the ACLs is important.
Error messages are generated in the following cases:
There is more than one match command in a match-all class map
There is a repetitive classification field in the participating ACLs.
After entering the Class-map Configuration mode, the following configuration
commands are available:
exit: Exits the Class-map Configuration mode.
match: Configures classification criteria.
no: Removes a match statement from a class map.
Example
The following example creates a class map called Class1 and configures it to
check that packets match all classification criteria in the ACL specified.
switchxxxxxx(config)#
switchxxxxxx(config-cmap)#
class-map
class1
match-all
match access-group
78-21075-01 Command Line Interface Reference Guide
Quality of Service (QoS) Commands
acl-name

Advertisement

Table of Contents
loading

Table of Contents