If-Match - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Rule(s)

if-match

Syntax
if-match match-criteria
undo if-match match-criteria
undo if-match acl { acl-number | name acl-name } [ update acl { acl-number | name acl-name } ]
View
Class view
Default Level
2: System level
Parameters
match-criteria: Match criterion.
acl { acl-number | name acl-name }: Specifies an ACL currently referenced in the class by the ACL
name or ACL number
update acl { acl-number | name acl-name }: Specifies a new ACL to replace the specified current ACL
by the number or name of the new ACL.
Table 1-2 The form of the match-criteria argument
Form
acl { access-list-number | name
acl-name }
any
customer-dot1p 8021p-list
customer-vlan-id vlan-id-list
destination-mac mac-address
dscp dscp-list
Field
Table 1-2
shows the available criteria.
Specifies to match an IPv4 ACL specified by its number or name.
The access-list-number argument specifies an ACL by its
number, which ranges from 2000 to 4999; the name acl-name
keyword-argument combination specifies an ACL by its name.
In a class configured with the operator and, the logical
relationship between rules defined in the referenced IPv4 ACL is
or.
Specifies to match all packets.
Specifies to match packets by 802.1p precedence of the
customer network. The 8021p-list argument is a list of CoS
values, in the range of 0 to 7.
Specifies to match the packets of specified VLANs of user
networks. The vlan-id-list argument specifies a list of VLAN IDs,
in the form of vlan-id to vlan-id or multiple discontinuous VLAN
IDs (separated by space). You can specify up to eight VLAN IDs
for this argument at a time. VLAN ID is in the range 1 to 4094.
Specifies to match the packets with a specified destination MAC
address.
Specifies to match packets by DSCP precedence. The dscp-list
argument is a list of DSCP values in the range of 0 to 63.
Match criteria
Description
1-2
Description

Advertisement

Table of Contents
loading

Table of Contents