Configuring Ethernet Interfaces
Command or Action
Step 2
switch(config) # slot slot number
Step 3
switch(config-slot) # port port number type
{ethernet | fc}
Step 4
switch(config-slot) # copy running-config
startup-config
Step 5
switch(config-slot) # reload
Step 6
switch(config) # slot slot number
Step 7
switch(config-slot) # no port port number type
fc
This example shows how to configure 20 ports as Ethernet ports and 12 as FC ports:
switch# configure terminal
switch(config)# slot 1
switch(config-slot)# port 21-32 type fc
switch(config-slot)# copy running-config startup-config
switch(config-slot)# reload
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.
Before you begin, UDLD must be enabled for the other linked port and its device.
Note
OL-25842-01
Purpose
Identifies the slot on the switch.
Configures a unified port as a native Fibre Channel port and an
Ethernet port.
• type—Specifies the type of port to configure on a slot in a
chassis.
• ethernet—Specifies an Ethernet port.
• fc—Specifies a Fibre Channel (FC) port.
Note
Copies the running configuration to the startup configuration.
Reboots the switch.
Identifies the slot on the switch.
Removes the unified port.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Configuring the UDLD Mode
Changing unified ports on an expansion module (GEM)
requires that you power cycle the GEM card. You do not
have to reboot the entire switch for changes to take effect.
15