Manual Recovery
An interface can be recovered manually from the Errdisable state, when configure shutdown followed by no shutdown using CLI. Shutdown will recover the interface from errdisable state and No shutdown will make the interface up state.
RTR1
#configure terminal | Enter configure mode. |
(config)#errdisable cause link-flap | Enable errdisable due to link-flap |
(config)#errdisable link-flap-setting max-flaps 3 time 20 | Configure Link flap settings. Max link flap count and interval for linkFlap Timer |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#exit | Exit interface mode |
#show running-config | include errdisable
errdisable cause link-flap
errdisable link-flap-setting max-flaps 3 time 20
errdisable cause stp-bpdu-guard
#show errdisable details
Link Flap Timer Interval : 20 secs
Link Flaps allowed Max. count : 3
ErrDisable Cause Status
---------------- ------
Link-Flap Enabled
Lag-Mismatch Disabled
Stp-Bpdu-Guard Disabled
Mac-move-limit Disabled
Note: Interface xe11 went into the ErrDisable state after flapping 3 times in 20 seconds.
(config)#do show interface errdisable status
Interfaces that will be enabled at the next timeout
Interface ErrDisable Cause Time left(secs)
--------- ---------------- ---------------
xe11 link-flap NA
(config)#do show int brief | include ED
ED - ErrDisabled, PD - Protocol Down, AD - Admin Down, IA - InActive
xe11 ETH -- -- down ED 10g -- No No
Note: Interface xe11 recovered from the ErrDisable state after entering shutdown followed by no shutdown.
(config)#interface xe11
(config-if)#shutdown
2017 Sep 18 13:02:20 : NSM : WARN : [IFMGR_ERR_DISABLE_UP_4]: Interface xe11 recovered from link-flap errdisable
(config-if)#no shut
(config-if)#2017 Sep 18 13:02:21 : NSM : CRITI : [IFMGR_IF_UP_2]: Interface xe11 changed state to up
2017 Sep 18 13:02:21 : NSM : WARN : [VXLAN_OPR_ACCESSPORT_UP_4]: VXLAN Access port on xe11 is up
config)#do show interface errdisable
(config)#do show interface brief | include ED
ED - ErrDisabled, PD - Protocol Down, AD - Admin Down, IA - InActive
(config)#
If you configure no errdisable cause link-flap, at the global level, it recovers all the interfaces from the ErrDisable state
Last modified date: 10/12/2023