Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
5-6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 5 Configuring Ethernet Interfaces
Configuring Ethernet Interfaces
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 Nexus 5010 switch and the first 16 ports of a 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:
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.
Command Purpose
Command 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. This interface must have a 1-Gigabit
Ethernet SFP transceiver inserted into it.
Step 3
switch(config-if)# speed speed
Sets the speed on the interface.