
Command Manual (For Soliton) – ACL
H3C S3100 Series Ethernet Switches
Chapter 1 ACL Configuration Commands
1-9
Example
# Configure an IPv6 ACL template to match the source address and destination
address fields in IPv6 packets.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ipv6-acl-template src-ip dest-ip
1.1.9 packet-filter
Syntax
packet-filter
inbound acl-rule
undo
packet-filter
inbound acl-rule
View
System view, Ethernet port view, Port group view
Parameters
inbound
: Filters inbound packets.
acl-rule
: ACL/ACL rules to be applied. This argument can be one of those listed in
Table
1-5
.
Table 1-5
Combined application of ACLs
Combination mode
The acl-rule argument
Apply all the rules of an ACL that is of IP
type (The ACL can be a basic ACL or an
advanced ACL.)
ip-group acl-number
Apply a rule of an ACL that is of IP type
(The ACL can be a basic ACL or an
advanced ACL.)
ip-group
acl-number
rule
rule-id
Apply all the rules of a Layer 2 ACL
link-group
acl-number
Apply a rule of a Layer 2 ACL
link-group acl-number
rule
rule-id
Apply all rules of an IPv6 ACL
user-group
acl-number
Apply a rule of an IPv6 ACL
user-group
acl-number
rule
rule-id
Apply a rule of an ACL that is of IP type
and a rule of a Layer 2 ACL
ip-group acl-number
rule
rule-id
link-group acl-number
rule
rule-id
In
Table 1-5
:
z
The
ip-group acl-number
keyword specifies a basic or an advanced ACL. The
acl-number
argument ranges from 2000 to 3999.