Cisco Systems N5KC5596TFA Enabling the Error-Disabled Detection, config t, shutdown, Procedure

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 28
Image 28
Enabling the Error-Disabled Detection

Configuring Layer 2 Interfaces

Enabling the Error-Disabled Detection

Procedure

 

Command or Action

Purpose

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# interface type slot/port

Enters interface configuration mode for the specified

 

 

interface.

Step 3

switch(config-if)# cdp enable

Enables CDP for the interface.

 

 

To work correctly, this parameter must be enabled

 

 

for both interfaces on the same link.

Step 4

switch(config-if)# no cdp enable

Disables CDP for the interface.

This example shows how to enable CDP for an Ethernet port:

switch# configure terminal switch(config)# interface ethernet 1/4 switch(config-if)#cdp enable

This command can only be applied to a physical Ethernet interface.

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.

 

Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)

16

78-26881-OL

Page 28
Image 28
Cisco Systems N5KC5596TFA Enabling the Error-Disabled Detection, config t, errdisable detect cause all link-flap, shutdown