Cisco Systems N5KC5596TFA Switch User Manual


 
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the specified
interface.
switch(config)# interface type slot/port
Step 2
Enables CDP for the interface.switch(config-if)# cdp enable
Step 3
To work correctly, this parameter must be enabled
for both interfaces on the same link.
Disables CDP for the interface.switch(config-if)# no cdp enable
Step 4
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
PurposeCommand or Action
Enters configuration mode.config t
Example:
switch# config t
switch(config)#
Step 1
Specifies a condition under which to place the
interface in an err-disabled state. The default is
enabled.
errdisable detect cause {all | link-flap |
loopback}
Example:
switch(config)# errdisable detect cause
all
switch(config)#
Step 2
Brings the interface down administratively. To
manually recover the interface from the
err-disabled state, enter this command first.
shutdown
Example:
switch(config)# shutdown
switch(config)#
Step 3
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
16 78-26881-OL
Configuring Layer 2 Interfaces
Enabling the Error-Disabled Detection