C
ONFIGURING
THE
S
WITCH
2-64
Binding a Port to an Access Control List
After configuring Access Control Lists (ACL), you should bind them to
the ports that need to filter traffic. You can only assign one IP access list
and/or one MAC access list to any port.
Command Attributes
•
MAC
– Specifies the MAC Access List to enable globally.
•
IP
– Specifies the IP Access List to enable for a port.
Web
– Click Security, 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 example assigns an IP and MAC access list to port 1, and an IP
access list to port 2.
Console(config)#interface ethernet 1/1
3-85
Console(config-if)#ip access-group david in
3-178
Console(config-if)#mac access-group jerry in
3-184
Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#ip access-group david in
Console(config-if)#
Содержание 6724AL2
Страница 2: ......
Страница 404: ...COMMAND LINE INTERFACE 3 216 ...
Страница 406: ...TROUBLESHOOTING A 2 ...
Страница 418: ...GLOSSARY Glossary 8 ...
Страница 422: ...INDEX Index 4 ...
Страница 423: ......