6 match, Match – PLANET XGS3-24042 User Manual

Page 281

Advertising
background image

15-127

Command mode:

Policy class map configuration mode

Usage Guide:

Drop the specified packet after configure this command.

Example:

Drop the packet which satisfy c1.

Switch(config)#policy-map p1

Switch(Config-PolicyMap-p1)#class c1

Switch(Config-PolicyMap-p1-Class-c1)#drop

Switch(Config-PolicyMap-p1-Class-c1)#exit

Switch(Config-PolicyMap-p1)#exit

15.6 match

Command:

match {access-group <acl-index-or-name> | ip dscp <dscp-list> | ip precedence

<ip-precedence-list> | ipv6 access-group <acl-index-or-name> | ipv6 dscp <dscp-list> | ipv6

flowlabel <flowlabel-list> | vlan <vlan-list> | cos <cos-list>}

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 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 ranging 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;

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

flow label value, the ranging is 0~1048575;

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

maximum 8 VLAN IDs, the ranging is 1~4094;

cos <cos-list> match specified CoS value, the parameter is a CoS list consisting of maximum 8

Advertising