24-Port Layer 3 Switch Management Guide
A
CCESS
C
ONTROL
L
ISTS
3-49
Binding a Port to an Access Control List
After configuring Access Control Lists (ACL), you can bind the ports that
need to filter traffic to the appropriate ACLs. You can only assign one IP
access list and/or one MAC access list to any port.
Command Attributes
•Port – Fixed port or module. (Range: 1-26)
• IP – Specifies the IP ACL to bind to a port.
• MAC – Specifies the MAC ACL to bind to a port.
Web – Click ACL, ACL Port Binding. Mark the Enable field for the port
you want to bind to an ACL, select the required ACL from the drop-down
list, then click Apply.
CLI – This examples assigns an IP and MAC access list to port 1, and an
IP access list to port 2.
Console(config)#interface ethernet 1/1 4-119
Console(config-if)#ip access-group david in 4-81
Console(config-if)#mac access-group jerry in 4-87
Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#ip access-group david in
Console(config-if)#