errdisable detect cause

To enable error-disable (err-disabled) detection in an application, use the errdisable detect cause command. To disable error disable detection, use the no form of this command.

errdisable detect cause {all | link-flap | loopback}

no errdisable detect cause {all | link-flap | loopback}

Syntax Description

all

Enables error detection on all cases.

link-flap

Enables error disable detection on linkstate-flapping.

loopback

Enables error disable detection on loopback.


Command Default

Enabled

Command Modes

Global configuration mode

Command History

Release
Modification

4.2(1)N1(1)

This command was introduced.


Usage Guidelines

When error disable detection is enabled and a cause is detected on an interface, the interface is placed in an err-disabled state, which is an operational state that is similar to the link-down state.

Examples

This example shows how to enable the err-disabled detection on linkstate-flapping:

switch(config)# errdisable detect cause link-flap 
switch(config)#

Related Commands

Command
Description

errdisable recovery

Configures recovery from the err-disabled state.

show interface status err-disabled

Displays the interface error disabled state.