Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

PurposeCommand or Action
Specifies an interface to configure, and enters
interface configuration mode.
switch(config)# interface type slot/port
Step 5
Enables the normal UDLD mode, disables
UDLD, or enables the aggressive UDLD mode.
switch(config-if)# udld {enable | disable
| aggressive}
Step 6
Displays the UDLD status for the interface.
switch(config-if)# show udld interface
Step 7
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 8 ports of a Cisco Nexus 5010 switch and the first 16 ports of a Cisco Nexus 5020 switch are
switchable 1-Gigabit and 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 and then set its
speed with the speed command.
To configure a 1-Gigabit Ethernet port, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the specified
interface. This interface must have a 1-Gigabit
Ethernet SFP transceiver inserted into it.
switch(config)# interface type slot/port
Step 2
Sets the speed on the interface.
switch(config-if)# speed speed
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
70 OL-16597-01
Configuring Ethernet Interfaces
Configuring Interface Speed