Configuring Ethernet Interfaces

Configuring the UDLD Mode

Configuring the UDLD Mode

You can configure normal or aggressive unidirectional link detection (UDLD) modes for Ethernet interfaces on devices configured to run UDLD. Before you can enable a UDLD mode for an interface, you must make sure that UDLD is already enabled on the device that includes the interface. UDLD must also be enabled on the other linked interface and its device.

To use the normal UDLD mode, you must configure one of the ports for normal mode and configure the other port for the normal or aggressive mode. To use the aggressive UDLD mode, you must configure both ports for the aggressive mode.

Note Before you begin, UDLD must be enabled for the other linked port and its device.

To configure the UDLD mode, perform this task:

Procedure

 

Command or Action

Purpose

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# feature udld

Enables UDLD for the device.

Step 3

switch(config)# no feature udld

Disables UDLD for the device.

Step 4

switch(config)# show udld global

Displays the UDLD status for the device.

Step 5

switch(config)# interface type slot/port

Specifies an interface to configure, and enters

 

 

interface configuration mode.

Step 6

switch(config-if)# udld {enable disable

Enables the normal UDLD mode, disables

 

aggressive}

UDLD, or enables the aggressive UDLD mode.

Step 7

switch(config-if)# show udld interface

Displays the UDLD status for the interface.

This example shows how to enable the UDLD for the switch:

switch# configure terminal switch(config)# feature udld

This example shows how to enable the normal UDLD mode for an Ethernet port:

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

This example shows how to enable the aggressive UDLD mode for an Ethernet port:

switch# configure terminal switch(config)# interface ethernet 1/4 switch(config-if)# udld aggressive

 

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

12

OL-26590-01

Page 26
Image 26
Cisco Systems N3KC3048TP1GE manual Configuring the Udld Mode, Command or Action Purpose Step, Switch# configure terminal