Configuring Ethernet Interfaces

Enabling the Error-Disabled Detection

Enabling the Error-Disabled Detection

You can enable error-disable (err-disabled) detection in an application. As a result, when 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.

Procedure

 

Command or Action

Purpose

Step 1

config t

Enters configuration mode.

 

Example:

 

 

switch# config t

 

 

switch(config)#

 

Step 2

errdisable detect cause {all link-flap

Specifies a condition under which to place the

 

loopback}

interface in an err-disabled state. The default is

 

 

enabled.

 

Example:

 

 

switch(config)# errdisable detect cause

 

 

all

 

 

switch(config)#

 

Step 3

shutdown

Example:

switch(config)# shutdown switch(config)#

Brings the interface down administratively. To manually recover the interface from the err-disabled state, enter this command first.

Step 4

no shutdown

Example:

switch(config)# no shutdown switch(config)#

Brings the interface up administratively and enables the interface to recover manually from the err-disabled state.

Step 5

show interface status err-disabled

Displays information about err-disabled

 

 

interfaces.

 

Example:

 

 

switch(config)# show interface status

 

 

err-disabled

 

Step 6

copy running-config startup-config

(Optional) Copies the running configuration to

 

 

the startup configuration.

 

Example:

 

 

switch(config)# copy running-config

 

 

startup-config

 

This example shows how to enable the err-disabled detection in all cases:

switch(config)#errdisable detect cause all switch(config)#

 

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

18

OL-26590-01

Page 32
Image 32
Cisco Systems N3KC3048TP1GE, N3KC3064TFAL3 manual Enabling the Error-Disabled Detection, Example