Once a Port Security violation happened, the interface is shut down and it is in a state called as Errdisable state. Use any of the following methods to bring the interface up after a Port Security violation related shutdown.
• One method to enable back an interface, after a Port Security violation related shutdown (Errdisable state) is to bring the interface down and again up by issuing the commands "shutdown" and "no shutdown".
OmniSecuSW1(config)#interface gigabitethernet 0/0
• Other method is to bring up the switch port automatically after a period of time in Errdisable state. The following set of commands enable the autorecovery feature 60 seconds after a shutdown related with Port Security violation.
OmniSecuSW1(config)# errdisable recovery cause psecure-violation
OmniSecuSW1(config)# errdisable recovery interval 60