3com WX3000 Benutzerhandbuch
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
1-11
Assigning an ACL to a Port
Configuration prerequisites
Before applying ACL rules to a VLAN, you need to define the related ACLs. For information about
defining an ACL, refer to
Configuration procedure
Follow these steps to apply an ACL to a port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
interface-number
—
Apply an ACL to the port packet-filter inbound acl-rule
Required
For description on the acl-rule
argument, refer to ACL Command.
argument, refer to ACL Command.
You cannot assign an ACL to a member port of a port group.
Configuration example
# Apply ACL 2000 to GigabitEthernet 1/0/1 to filter the inbound packets.
<device> system-view
[device] interface GigabitEthernet 1/0/1
[device-GigabitEthernet1/0/1] packet-filter inbound ip-group 2000
Displaying and Maintaining ACL
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 }
time-name }
Display the information about packet filtering
display packet-filter { global |
interface interface-type
interface-number | port-group
[ group-id ] | unitid unit-id | vlan
[ vlan-id ] }
interface interface-type
interface-number | port-group
[ group-id ] | unitid unit-id | vlan
[ vlan-id ] }
Display information about remaining ACL
resources
resources
display acl remaining entry
Available in
any view.
any view.