
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-6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring Ethernet Interfaces
Configuring Ethernet Interfaces
To configure a 1-Gigabit Ethernet port, perform this task:
The following example shows how to set the speed for a 1-Gigabit Ethernet port:
switch#
configure terminal
switch(config)#
interface ethernet 1/4
switch(config-if)#
speed 1000
This command can only be applied to a physical Ethernet interface.
Note
If the interface and transceiver speed is mismatched, this shows as "SFP validation failed" when you run
the
show interface ethernet
slot
/
port
command. For example, if you insert 1-Gigabit SFP transceiver
into a port without configuring
speed 1000
you will get this error. By default, all ports are 10-Gigabit.
Configuring the CDP Parameter
You can enable or disable the Cisco Discovery Protocol (CDP) for Ethernet interfaces. This protocol
works only when you have it enabled on both interfaces on the same link.
To enable or disable CDP for an interface, perform this task:
The following example shows how to enable CDP for an Ethernet port:
switch#
configure terminal
switch(config)#
interface ethernet 1/4
switch(config-if)#
cdp enable
This command can only be applied to a physical Ethernet interface.
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.
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.
Step 3
switch(config-if)#
cdp
enable
Enables CDP for the interface.
To work correctly, this parameter must be enabled for
both interfaces on the same link.
switch(config-if)#
cdp
enable
Disables CDP for the interface.