XS26GS Managed Optical Ethernet Switch User Manual
166
packet-filter acl-number
acl-number
no packet-filter acl-number {
acl-number
| all}
View
Ethernet port view
Parameters
acl-number
: Required, between 1 to 30.
all
: the comand is applied to all the ACLs.
Description
Use
packet-filter acl-number
acl-number
command to apply an ACL to a specific
port.
Use
no packet-filter acl-number {
acl-number
| all}
command to unbind an ACL
from a specific port.
Examples
XS(Ethernet0/1)# packet-filter acl-number 2
Configuration has been completed successfully!
XS(Ethernet0/1)# no packet-filter acl-number 2
Delete acl binding port successfully!
show acl number
Syntax
show acl number [
acl-number
]
View
Any view
Parameters
acl-number:
Optional, between 1 to 30
Description
Use
show acl number
command to display valid ACL number;
Use
show acl number
acl-number
to display the rules associated to this ACL
number.
Examples
XS# show acl number 2
Basic ACL 2:
rule 01 permit source 192.168.0.111 255.255.255.0
3.24
Port Binding Configuration Commands
The “Any view” in the below table refers to anyone of the following: System view,
Ethernet port view, Port-based VLAN view, VLAN view, or dot1x view.
Command list
: