Enabling an Error-Disabled Port Automatically

To enable a port to recover automatically from the error-disabled state after the expiry of a configured error recovery timer, run the errdisable recovery cause command in global configuration mode.

For example, to enable error-disable recovery for BPDU guard, enter the following command:

device(config)# errdisable recovery cause bpduguard
Note: When automatic recovery re-enables the port, the port is not in the error-disabled state, but it can remain down for other reasons, such as the Tx/Rx of the fiber optic not being seated properly. Thus, the port is not able to receive the signal from the other side. In this case, after the optic is inserted correctly, you should manually disable the port and then enable it.