1-2
Field Description
Rule(s) Match criteria
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. Table 1-2
shows the available criteria.
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 Description
acl { access-list-number | name
acl-name }
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.
any
Specifies to match all packets.
customer-dot1p 8021p-list
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.
customer-vlan-id vlan-id-list
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.
destination-mac mac-address
Specifies to match the packets with a specified destination MAC
address.
dscp dscp-list
Specifies to match packets by DSCP precedence. The dscp-list
argument is a list of DSCP values in the range of 0 to 63.