Enabling the Error-Disabled Detection
Command or Action
Step 4
switch(config-if)# no cdp enable
Example
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.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# errdisable detect cause {all | link-flap | loopback}
3. switch(config)# shutdown
4. switch(config)# no shutdown
5. switch(config)# show interface status err-disabled
6. (Optional) switch(config)# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# errdisable detect cause {all | link-flap |
loopback}
Step 3
switch(config)# shutdown
Step 4
switch(config)# no shutdown
Step 5
switch(config)# show interface status err-disabled
Step 6
(Optional) switch(config)# copy running-config
startup-config
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
16
Purpose
Disables CDP for the interface.
Purpose
Enters global configuration mode.
Specifies a condition under which to place the interface in
an err-disabled state. The default is enabled.
Brings the interface down administratively. To manually
recover the interface from the err-disabled state, enter this
command first.
Brings the interface up administratively and enables the
interface to recover manually from the err-disabled state.
Displays information about err-disabled interfaces.
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
Configuring Layer 2 Interfaces