Command Manual – ACL
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-6
1.1.6 packet-filter
Syntax
packet-filter
{
inbound
|
outbound
}
acl-rule
undo
packet-filter
{
inbound
|
outbound
}
acl-rule
View
Ethernet port view
Parameter
inbound
: Specifies to filter packets received on the port.
outbound
: Specifies to filter packets sent through the port.
acl-rule
: Applied ACL rules, which can be the combination of different types of ACL
rules. The following table describes the ACL combinations.
Table 1-3 Combined application of ACLs
Combination mode
Form of acl-rule
Apply all rules in an IP type ACL (either a
basic ACL or an advanced ACL) separately
ip-group acl-number
Apply one rule in an IP type ACL separately
ip-group acl-number
rule
rule
Apply all rules in a Layer 2 ACL separately
link-group acl-number
Apply one rule in a Layer 2 ACL separately
link-group acl-number
rule
rule
Apply all rules in a user-defined ACL
separately
user-group acl-number
Apply one rule in a user-defined ACL
separately
user-group acl-number
rule
rule
Apply one rule in an IP type ACL and one
rule in a Link type ACL simultaneously
ip-group acl-number
rule
rule
link-group acl-number
rule
rule
In Table 1-3:
z
ip-group acl-number
: Specifies a basic or an advanced ACL. The
acl-number
argument ranges from 2000 to 3999.
z
link-group acl-number
: Specifies a Layer 2 ACL. The
acl-number
argument
ranges from 4000 to 4999.
z
user-group acl-number
: Specifies a user-defined ACL. The
acl-number
argument ranges from 5000 to 5999.