DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
480
Parameters
NAME
Specifies the name of the class map with a maximum of 32
characters.
match-all
(Optional) Specifies how to evaluate multiple match criteria. Multiple
match statements in the class map will be evaluated based on the
logical AND. If neither match-all nor match-any is specified, match-
any is implied.
match-any
(Optional) Specifies how to evaluate multiple match criteria. Multiple
match statements in the class map will be evaluated based on the
logical OR. If neither match-all nor match-any is specified, match-
any is implied.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to create or modify a class-map that defines the criteria for matching packets. This
command enters the class-map configuration mode where match commands are entered to define the
match criteria for this class.
When multiple match commands are defined for a class, use the
match-all
or
match-any
keyword to
specify whether to evaluate the multiple match criteria based on either the logical AND or the logical
OR.
Example
This example shows how to configure the
“class_home_user “as the name of a class map. In this
class map, a match statement specifies that the traffic that matches the access control list
“acl_home_user” and matches the IPv6 protocol will be included under the class-map
“class_home_user”.
Switch# configure terminal
Switch(config)# class-map match-all class_home_user
Switch(config-cmap)# match access-group name acl_home_user
Switch(config-cmap)# match protocol ipv6
Switch(config-cmap)#
56-3 match
This command is used to define the match criteria for a class-map. Use the
no
form of this command
to remove the match criteria.
match {access-group name
ACCESS-LIST-NAME
| cos
COS-LIST
| [ip] dscp
DSCP-LIST
| [ip]
precedence
IP-PRECEDENCE-LIST
| protocol
PROTOCOL-NAME
| vlan
VLAN-ID-LIST
}
no match {access-group name
ACCESS-LIST-NAME
| cos
COS-LIST
| [ip] dscp
DSCP-LIST
|
[ip] precedence
IP-PRECEDENCE-LIST
| protocol
PROTOCOL-NAME
| vlan
VLAN-ID-LIST
}
Parameters
access-group name
ACCESS-LIST-NAME
Specifies an access list to be matched. Traffic that is permitted by
the access list will be classified.
Содержание DGS-1510 Series
Страница 1: ...1 0 ...
Страница 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Страница 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Страница 315: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 312 VLAN The VLAN number of the client interface ...
Страница 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Страница 450: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 447 Auth Delay Authentication Delay ...
Страница 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Страница 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...