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-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 5 Configuring Ethernet Interfaces
Configuring Ethernet Interfaces
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, the SFP validation failed message is displayed when
you enter the show interface ethernet slot/port command. For example, if you insert a 1-Gigabit SFP
transceiver into a port without configuring the speed 1000 command, you will get this error. By default,
all ports are 10 Gigabits.
Configuring the Cisco Discovery Protocol
This section shows how to configure the Cisco Discovery Protocol (CDP). It includes the following
topics:
Configuring the CDP Characteristics, page 5-7
Enabling or Disabling CDP, page 5-8
Configuring the CDP Characteristics
You can configure the frequency of CDP updates, the amount of time to hold the information before
discarding it, and whether or not to send Version-2 advertisements.
To configure CDP characteristics for an interface, perform this task:
Use the no form of the CDP commands to return to the default settings.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# cdp advertise {v1 | v2 }
(Optional) Configures the version to use to send CDP
advertisements. Version-2 is the default state.
Step 3
switch(config)# cdp format device-id
{mac-address | serial-number |
system-name}
(Optional) Configures the format of the CDP device
ID. The default is the system name, which can be
expressed as a fully qualified domain name.
Step 4
switch(config)# cdp holdtime seconds
(Optional) Specifies the amount of time a receiving
device should hold the information sent by your
device before discarding it. The range is 10 to 255
seconds; the default is 180 seconds.
Step 5
switch(config)# cdp timer seconds
(Optional) Sets the transmission frequency of CDP
updates in seconds. The range is 5 to 254; the default
is 60 seconds.