Configuring the CDP Characteristics
Command or Action
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
If the interface and transceiver speed is mismatched, the SFP validation failed message is displayed when
Note
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 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:
SUMMARY STEPS
1. switch# configure terminal
2. (Optional) switch(config)# [no] cdp advertise {v1 | v2 }
3. (Optional) switch(config)# [no] cdp format device-id {mac-address | serial-number | system-name}
4. (Optional) switch(config)# [no] cdp holdtime seconds
5. (Optional) switch(config)# [no] cdp timer seconds
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# [no] cdp advertise {v1 |
v2 }
Step 3
switch(config)# [no] cdp format
device-id {mac-address | serial-number
| system-name}
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
12
Purpose
Purpose
Enters configuration mode.
(Optional)
Configures the version to use to send CDP advertisements. Version-2 is
the default state.
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.
Use the no form of the command to return to its default setting.
Configuring Ethernet Interfaces