H3C Technologies H3C S3100 Series Switches User Manual
Page 389

Operation Manual – ACL
H3C S3100-52P Ethernet Switch
Chapter 1 ACL Configuration
1-13
Parameter
Type
Function
Description
lsap
lsap-code
lsap-wildcard
lsap field
Specifies the
lsap field for
the ACL rule
lsap-code
: Encapsulation
format of data frames, a 16-bit
hexadecimal number.
lsap-wildcard
: Mask of the
lsap value, a 16-bit
hexadecimal number used to
specify the mask bits.
source
{
source-addr
source-mask
|
vlan-id
}*
Source MAC
address
information
Specifies the
source MAC
address
range for the
ACL rule
source-addr
: Source MAC
address, in the format of
H-H-H.
source-mask
: Mask of the
source MAC address, in the
format of H-H-H.
vlan-id
: Source VLAN ID, in
the range of 1 to 4094.
dest
dest-addr
dest-mask
Destination
MAC address
information
Specifies the
destination
MAC address
range for the
ACL rule
dest-addr
: Destination MAC
address, in the format of
H-H-H.
dest-mask
: Mask of the
destination MAC address, in
the format of H-H-H.
cos vlan-pri
Priority
Specifies the
802.1p
priority for the
rule
vlan-pri
: VLAN priority, in the
range of 0 to 7.
time-range
time-name
Time range
information
Specifies the
time range in
which the
ACL rule is
active
time-name
: Specifies the
name of the time range in
which the rule is active, a
string comprising 1 to 32
characters.
type
protocol-type
protocol-mask
Protocol type
of Ethernet
frames
Specifies the
protocol type
of Ethernet
frames for the
ACL rule
protocol-type
: Protocol type.
protocol-mask
: Protocol type
mask.
If you specify the cos keyword, you can directly input a value ranging from 0 to 7 or
input one of the keywords listed in Table 1-6 as the CoS value.
Table 1-13
CoS value and the corresponding keywords
Keyword
CoS in decimal
CoS in binary
best-effort
0 000
background
1 001
spare
2 010