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-8
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 5 Configuring Ethernet Interfaces
Configuring Ethernet Interfaces
This example shows how to configure CDP characteristics:
switch# configure terminal
switch(config)# cdp timer 50
switch(config)# cdp holdtime 120
switch(config)# cdp advertise v2
Enabling or Disabling CDP
You can enable or disable 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.
Configuring the Debounce Timer
You can enable the debounce timer for Ethernet ports by specifying a debounce time (in milliseconds)
or disable the timer by specifying a debounce time of 0.
You can show the debounce times for all of the Ethernet ports by using the show interface debounce
command.
To enable or disable the debounce timer, perform this task:
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)# no cdp enable
Disables CDP for 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)# link debounce time
milliseconds
Enables the debounce timer for the amount of time (1
to 5000 milliseconds) specified.
Disables the debounce timer if you specify 0
milliseconds.