Configures the auto recovery time for ports that shuts down following a port security violation on an interface.
Auto recovery of ports is not enabled.
Interface configuration mode
The shutdown and no-shutdown processes initiated as part of the port violation action is independent of the shutdown process explicitly initiated by an administrator on the same port on which port MAC security is enabled.
If a port security-based change occurs when a port is shut down, the shutdown timer is not triggered. Consequently, the user must restore the full functionality of the port.
When port security violation causes a port to be shut down and the user manually changes the shutdown time, the shutdown timer is reset and the timer starts with the new shutdown time.
The no switchport port-security shutdown-time command disables the auto recovery functionality.
The following example configures the auto recovery time as 4 minutes for ports that shuts down following a port security violation on an interface.
device(config)# interface Ethernet 3/2 device(conf-if-eth-3/2)# switchport device(conf-if-eth-3/2)# switchport port-security shutdown-time 4