Web – Click Security, Port Security. Set the action to take when an invalid
address is detected on a port, mark the checkbox in the Status column to
enable security for a port, set the maximum number of MAC addresses
allowed on a port, and click Apply.
CLI – This example enables port security for Port 5 with the intrusion
action to send a trap and disable the port, and then sets the maximum
addresses to learn on the port to 20.
Console(config)#interface ethernet 1/5
Console(config-if)#port security action trap-and-shutdown
Console(config-if)#port security max-mac-count 20
Console(config-if)#
Figure 3-36 Enabling Port Security
U
A
SER
UTHENTICATION
4-108
3-87