H3C S5120-SI Configuration Manual page 27

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

Advertisement

Table 2 The keyword and argument combinations for the
Keyword and argument combination
acl [ ipv6 ] { acl-number | name
acl-name }
any
customer-dot1p 8021p-list
customer-vlan-id { vlan-id-list | vlan-id1 to
vlan-id2 }
destination-mac mac-address
dscp dscp-list
ip-precedence ip-precedence-list
protocol protocol-name
service-dot1p 8021p-list
service-vlan-id { vlan-id-list | vlan-id1 to
vlan-id2 }
source-mac mac-address
NOTE:
If a class that uses the AND operator has multiple if-match acl, if-match acl ipv6, if-match
customer-vlan-id or if-match service-vlan-id clauses, a packet that matches any of the clauses matches
the class.
match-criteria
Description
Matches an ACL
The acl-number argument ranges from 2000 to 3999 for an IPv4
ACL, 2000 to 3999 for an IPv6 ACL, and 4000 to 4999 for an
Ethernet frame header ACL.
The acl-name argument is a case-insensitive string of 1 to 32
characters, which must start with an English letter from a to z or A
to Z, and cannot be all to avoid confusion.
Matches all packets
Matches the 802.1p priority of the customer network.
The 8021p-list argument is a list of up to eight 802.1p priority
values. An 802.1p priority ranges from 0 to 7.
Matches the VLAN IDs of customer networks.
The vlan-id-list argument is a list of up to eight VLAN IDs. The
vlan-id1 to vlan-id2 specifies a VLAN ID range, where the vlan-id1
must be smaller than the vlan-id2. A VLAN ID ranges from 1 to
4094.
Matches a destination MAC address
Matches DSCP values.
The dscp-list argument is a list of up to eight DSCP values. A DSCP
value can be a number from 0 to 63 or any keyword in
Matches IP precedence.
The ip-precedence-list argument is a list of up to eight IP
precedence values. An IP precedence ranges from 0 to 7.
Matches a protocol.
The protocol-name argument can be IP or IPv6.
Matches the 802.1p priority of the service provider network.
The 8021p-list argument is a list of up to eight 802.1p priority
values. An 802.1p priority ranges from 0 to 7.
Matches the VLAN IDs of ISP networks.
The vlan-id-list is a list of up to eight VLAN IDs. The vlan-id1 to
vlan-id2 specifies a VLAN ID range, where the vlan-id1 must be
smaller than the vlan-id2. A VLAN ID ranges from 1 to 4094.
Matches a source MAC address
18
argument
Table
9.

Advertisement

Table of Contents
loading

Table of Contents