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

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.
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.
Note
Configuring the Cisco Discovery Protocol
Configuring the CDP Characteristics
You can configure the frequency of Cisco Discovery Protocol (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:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
(Optional)
Configures the version to use to send CDP advertisements.
Version-2 is the default state.
switch(config)# [no] cdp
advertise {v1 | v2 }
Step 2
Use the no form of the command to return to its default
setting.
(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.
switch(config)# [no] cdp format
device-id {mac-address |
serial-number | system-name}
Step 3
Use the no form of the command to return to its default
setting.
(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.
switch(config)# [no] cdp
holdtime seconds
Step 4
Use the no form of the command to return to its default
setting.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 71
Configuring Ethernet Interfaces
Configuring the Cisco Discovery Protocol