Web
– Click Security, Port Security. Set the action to take when an invalid addr es s is
detected on a port, mark the checkbox in the Stat us colum n to enabl e securit y for a
port, set the maximum number of MAC addresses allowed on a port , an d clic k A pply.
Figure 6-8 Port Security
CLI – This example selects the target port, sets th e port secur ity actio n to send a
trap and disable the port , sp ec ifies a ma xi mum ad dr ess c ou nt, and t hen ena bles
port security for the port.
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)#port security
Console(config-if)#
25-25
6-17
Configuring Port Security
6