Operation Manual – ACL
H3C S5600 Series Ethernet Switches
Chapter 1 ACL Configuration
1-13
To do...
Use the command...
Remarks
Enter system view
system-view
—
Apply ACL rules to a
VLAN
packet-filter
vlan vlan-id
inbound
acl-rule
Required
For information about
acl-rule
,
refer to
ACL Commands
.
III. Configuration example
# Apply ACL 2000 in the inbound direction of VLAN 1 to filter packets.
<Sysname> system-view
[Sysname] packet-filter vlan 1 inbound ip-group 2000
1.3 Displaying and Maintaining ACL Configuration
To do...
Use the command...
Remarks
Display a configured ACL
or all the ACLs
display
acl
{
all
|
acl-number
}
Display a time range or all
the time ranges
display
time-range
{
all
|
time-name
}
Display information about
packet filtering
display packet-filter
{
interface
interface-type interface-number
|
unitid unit-id
}
Display information about
ACL resources
display drv-module qacl
qacl_resource
Available in any
view
1.4 Examples for Upper-layer Software Referencing ACLs
1.4.1 Example for Controlling Telnet Login Users by Source IP
I. Network requirements
Apply an ACL to permit users with the source IP address of 10.110.100.52 to telnet to
the switch.