beautypg.com

6 match, Match – PLANET WGSW-52040 User Manual

Page 360

background image

20-129

20.6 match

Command:

match {access-group > | ip dscp | ip precedence | ipv6

access-group > | ipv6 dscp | ipv6 flowlabel | vlan |

cos }

no match {access-group | ip dscp | ip precedence| ipv6 access-group| ipv6 dscp | ipv6 flowlabel | vlan | cos}

Function:

Configure the match standard of the class map; the no form of this command deletes the specified match standard.

Parameter:

access-group <acl-index-or-name> match specified IP ACL, MAC ACL or IPv6 standard ACL or MAC-IP ACL, the

parameters are the number or name of the ACL;

ip dscp <dscp-list> and ipv6 dscp <dscp-list> match specified DSCP value, the parameter is a list of DSCP

consisting of maximum 8 DSCP values, the range is 0~63;

ip precedence <ip-precedence-list> match specified IP Precedence, the parameter is a IP Precedence list

consisting of maximum 8 IP Precedence values with a valid range of 0~7;

ipv6 access-group <acl-index-or-name> match specified IPv6 ACL, the parameter is the number or name of the

IPv6 ACL, it only supports standard ipv6 acl;

ipv6 flowlabel <flowlabel-list> match specified IPv6 flow label, the parameter is IPv6 flow label value, the range is

0~1048575;

vlan <vlan-list> match specified VLAN ID, the parameter is a VLAN ID list consisting of maximum 8 VLAN IDs, the

range is 1~4094;

cos match specified CoS value, the parameter is a CoS list consisting of maximum 8 CoS, the range is

0~7.

Default:

No match standard by default

Command Mode:

Class-map Mode

Usage Guide:

Only one match standard can be configured in a class map. When configuring the match ACL, permit rule as the

match option, apply Policy Map action. Deny rule as the excluding option, do not apply Policy Map action. If

configure another match rule after one was configured, the operation fails, but configure the same match rule will

cover the previous.

Example: