Protect: | - Frames from new MAC-addresses will be dropped - Dropped frames will not be logged - Dropped frames will not create security violation |
|
Restrict: | - Frames from new MAC-addresses will be dropped - Dropped frames will be logged - Dropped frames will create security violation |
|
Shutdown: | - Frames from new MAC-addresses will be dropped - Dropped frames will be logged - Dropped frames will create security violation - Dropped frames will cause a port to go in SHUTDOWN |
int fastethernet 0/1 switchport port-security switchport port-security maximum 1 switchport port-security violation <protect|restrict|shutdown> switchport port-security mac-address sticky
! Enable recovery from a locked port errdisable recovery cause psecure-violation ! ! Recovery will happen after 900 seconds (15 min). errdisable recovery interval 900