Interface Error Disabling and Auto Recovery Commands

Use these commands to configure interface error disabling and automatic recovery.

Interface error disabling automatically disables an interface when an error is detected. No traffic is allowed until the interface is either manually reenabled or, if auto recovery is configured, the configured auto recovery interval expires.

If an error condition is detected for an interface, the switch places the interface in an error-disabled state (also referred to as a diagnostic-disabled state) by shutting down the interface. The error-disabled interface does not allow any traffic until the interface is reenabled. You can manually enable the error-disabled interface. Alternatively, you can enable auto recovery, which automatically reenables the interface after the expiration of the configured interval.

errdisable recovery cause

M4250

M4350

This command enables auto recovery for a specific cause or for all causes. If auto recovery is enabled, interfaces in the error-disabled state are reenabled when the recovery interval expires. If errors continue on the interface, the interface can be placed back in the error-disabled state and disabled. You can manually reenable an interface in the error-disabled state by entering the no shutdown command for the interface.

Format errdisable recovery cause {all | arp-inspection | authmgr | bcast-storm | bpduguard | bpdustorm | coa | denial-of-service | dhcp-rate-limit | keepalive | link-flap | mac-locking | mcast-storm | ucast-storm | udld}
Mode Global Config

no errdisable recovery cause

Use this command to disable auto recovery for a specific cause or for all causes. When disabled, interfaces that are in an error-disabled state do not recover automatically.

Format no errdisable recovery cause {all | arp-inspection | authmgr | bcast-storm | bpduguard | bpdustorm | coa | denial-of-service | dhcp-rate-limit | keepalive | link-flap | mac-locking | mcast-storm | ucast-storm | udld}
Mode Global Config

errdisable recovery interval

M4250

M4350

Use this command to configure the auto recovery period, which is used for all causes. The period can be from 30 to 86400 seconds. When the recovery period expires, the switch attempts to bring interfaces in the error-disabled state back into service.

Default 300 seconds
Format errdisable recovery interval period
Mode Global Config

no errdisable recovery interval

Use this command to reset the auto recovery period to the default period of 300 seconds.

Format no errdisable recovery interval
Mode Global Config

show errdisable recovery

M4250

M4350

Use this command to display whether auto recovery is enabled for the various features for which it can be enabled.

Format show errdisable recovery
Mode Privileged EXEC
Term Definition
dhcp-rate-limit Auto recovery is enabled or disabled for rate limiting of the DHCP Snooping feature.
arp-inspection Auto recovery is enabled or disabled for the ARP Inspection feature.
udld Auto recovery is enabled or disabled for the UDLD feature.
bcast-storm Auto recovery is enabled or disabled for the broadcast storm conditions.
mcast-storm Auto recovery is enabled or disabled for the multicast storm conditions.
ucast-storm Auto recovery is enabled or disabled for the unicast storm conditions.
bpduguard Auto recovery is enabled or disabled for the BPDU Guard feature.
bpdustorm Auto recovery is enabled or disabled for BPDU storm conditions.
keepalive Auto recovery is enabled or disabled for keep-alive conditions.
mac-locking Auto recovery is enabled or disabled for port MAC locking conditions.
denial-of-service Auto recovery is enabled or disabled for DoS conditions.
link-flap Auto recovery is enabled or disabled for the link-flap conditions.
authmgr Auto recovery is enabled or disabled for 802.1x and MAB authentications.
coa Auto recovery is enabled or disabled for Change of Authorization (CoA) conditions.

Command example:

PYTHON
(NETGEAR Switch) #show errdisable recovery

Errdisable Reason      Auto-recovery Status
------------------     ---------------------
dhcp-rate-limit           Disabled
arp-inspection            Disabled
udld                      Disabled
bcast-storm               Disabled
mcast-storm               Disabled
ucast-storm               Disabled
bpduguard                 Disabled
bpdustorm                 Disabled
keepalive                 Disabled
mac-locking               Disabled
denial-of-service         Disabled
link-flap                 Disabled
authmgr                   Disabled
coa                       Disabled
Timeout for Auto-recovery from D-Disable state  300

show interfaces status err-disabled

M4250

M4350

Use this command to display the interfaces that are error-disabled, the reason they are error-disabled, and the period remaining before auto recovery occurs.

Format show interfaces status err-disabled
Mode Privileged EXEC
Term Definition
interface An interface that is error-disabled.
Errdisable Reason The reason the interface is error-disabled.
Auto-Recovery Time Left The period that is remaining before auto recovery occurs.

Command example:

CODE
(NETGEAR Switch) #show interfaces status err-disabled
Interface      Errdisable Reason      Auto-Recovery Time Left(sec)
----------     -----------------      ------------------
0/1             udld                  279
0/2             bpduguard             285
0/3             bpdustorm             291
0/4             keepalive             11