DGS-6604
m
match
CLI Reference Guide
419
match
Use the match command in the class map configuration mode to configure the
match criteria for a class-map. Use the no form of the command to remove the
match criteria.
match {access-list
ACCESS-LIST-NAME
| cos
COS-LIST
| [ip] dscp
DSCP-LIST
| [ip]
precedence
IP-PRECEDENCE-LIST|
| protocol
PROTOCOL-NAME
| vlan VLAN-LIST}
no match {access-list
ACCESS-LIST-NAME
| cos
COS-LIST
| [ip] dscp
DSCP-LIST
| [ip]
precedence
IP-PRECEDENCE-LIST
| | protocol
PROTOCOL-NAME
| vlan
VLAN-ID-LIST
}
Default
Not configured
Command Mode
Class-map configuration
Usage Guideline
To use the match command, the user must first enter the class-map command to
specify the name of the class to establish the match criteria with. The treatment
of these matched packets is defined by the user through the setting of Quality of
Service (QoS) policies in the policy-map class configuration mode.
The match access-list command specifies a named ACL whose contents are
used as the match criteria against which packets are checked to determine if
they belong to the class. The packets that are permitted by the access list will be
included in the class.
To match a packet on the basis of a Layer 2 class of service (CoS) marking, use
the
match cos
command in class-map configuration mode. To remove a specific
Layer 2 CoS marking as a match criterion, use the no form of this command.
To identify one or more differentiated service code point (DSCP), use the
match
dscp
command in class-map configuration mode. To remove a specific DSCP
Syntax Description
access-list
ACCESS-
LIST-NAME
Name of an access-list that will be used as the match criteria. The only allowed
access-list is the ip access-list with a permit rule to class the pass-through traffic,
other traffic is not classified for any QoS service.
cos
COS-LIST
Specific IEEE 802.1Q CoS value. The COS_LIST is from 0 to 7; Enter one or
more CoS values separated by commas.
dscp
DSCP-LIST
Numbers (0 to 63) representing differentiated services code point values. Enter
one or more differentiated service code point (DSCP) values separated by
commas.
precedence
IP-PRECEDENCE-
LIST
Numbers (0 to 7) representing the IP precedence values. Enter one or more
precedence values separated by commas.
protocol
PROTOCOL-NAME
Name of the protocol (for example, bgp) used as a matching criterion. See the
"Usage Guidelines" for a list of protocols supported by most routers.
vlan
VLAN-ID-LIST
VLAN identification number, numbers, or range of numbers. Valid VLAN
identification numbers must be in the range of 1 to 4094.
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...