![Enabling the Error-Disabled Detection](/images/new-backgrounds/112933/11293355x1.webp)
Configuring Layer 2 Interfaces
Enabling the
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 | Enables CDP for the interface. | |
|
| To work correctly, this parameter must be enabled |
|
| for both interfaces on the same link. |
Step 4 | 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
This command can only be applied to a physical Ethernet interface.
Enabling the Error-Disabled Detection
You can enable
Procedure
| Command or Action | Purpose |
Step 1 | config t | Enters configuration mode. |
| Example: |
|
| switch# config t |
|
| switch(config)# |
|
Step 2 | errdisable detect cause {all | Specifies a condition under which to place the |
| loopback} | interface in an |
|
| 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
| Cisco Nexus 5000 Series |
16 |