
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-5
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring Ethernet Interfaces
Configuring Ethernet Interfaces
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.
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
This example shows how to disable UDLD for an Ethernet port:
switch#
configure terminal
switch(config)#
interface ethernet 1/4
switch(config-if)#
udld disable
This example shows how to disable UDLD for the switch:
switch#
configure terminal
switch(config)#
no feature udld
Configuring Interface Speed
The first eight ports of a Nexus 5010 switch and the first 16 ports of a Nexus 5020 switch are switchable
1-Gigabit/10-Gigabit ports. The default interface speed is 10-Gigabit. To configure these ports for
1-Gigabit Ethernet, insert a 1-Gigabit Ethernet SFP transceiver into the applicable port then set its speed
with the
speed
command.
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
feature udld
Enables UDLD for the device.
switch(config)#
no feature udld
Disables UDLD for the device.
Step 3
switch(config)#
show udld global
Displays the UDLD status for the device.
Step 4
switch(config)#
interface ethernet
slot
/
port
Specifies an interface to configure, and enters
interface configuration mode.
Step 5
switch(config-if)#
udld
{
enable
|
disable
|
aggressive
}
Enables the normal UDLD mode, disables UDLD, or
enables the aggressive UDLD mode.
Step 6
switch(config-if)#
show udld
interface
Displays the UDLD status for the interface.