D-Link DGS-6608 — настройка команды match для классов в сетевых устройствах [476/1106]

Превью страниц Страница 476 / 1106
D-Link DGS-6604 [476/1106] Usage guideline
DGS-6600 Series Switch m match
CLI Reference Guide
466
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. If the user wants multiple ACLs of acl-1, acl-2 or acl-3 (note
that only one of the named ACLs needs to be matched, not all of the specified
named ACLs), the match access-list acl-1,acl-2,acl-3 command.
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. If
the user wants multiple CoS values of 1, 2 or 3 (note that only one of the CoS
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.

Содержание

4839

Узнайте, как использовать команду match в конфигурации классов для настройки критериев соответствия в сетевых устройствах. Полезные советы и рекомендации.