Command Manual – ACL
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-9
View
Advanced ACL view
Parameter
1)
Parameters of the rule command:
rule-id
: ACL rule ID, in the range of 0 to 65,534.
deny
: Drops packets that satisfy the condition.
permit
: Permits packets that satisfy the condition to pass.
rule-string
: Rule information, which can be combination of the parameters described in
Table 1-4. You need to configure the
protocol
argument in the rule information before
you can configure other arguments.
Table 1-4 Rule information
Parameter
Type
Function
Description
protocol
Protocol
type
Type of the
protocols
carried by IP
When expressed in numerals,
the value range is 1 to 255.
When expressed with a name,
the value can be GRE, ICMP,
IGMP, IP, IPinIP, OSPF, TCP,
and UDP.
source
{
sour-addr
sour-wildcard
|
any
}
Source
address
information
Specifies the
source address
information in
the rule
sour-addr sour-wildcard
is used
to specify the source address of
the packet, expressed in dotted
decimal notation.
any
represents any source
address.
destination
{
dest-addr
dest-wildcard
|
any
}
Destination
address
information
Specifies the
destination
address
information in
the rule
dest-addr dest-wildcard
is used
to specify the destination
address of the packet,
expressed in dotted decimal
notation.
any
represents any destination
address.
precedence
precedence
Packet
precedence
Packet priority Value range: 0 to 7
tos
tos
Packet
precedence
ToS priority
Value range: 0 to 15