Cisco Systems ME 3400 Switch User Manual


  Open as PDF
of 1086
 
23-3
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 23 Configuring CDP
Configuring CDP
Use the no form of the CDP commands to return to the default settings.
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
Switch(config)# end
For additional CDP show commands, see the “Monitoring and Maintaining CDP” section on page 23-5.
Disabling and Enabling CDP
CDP is enabled by default on NNIs. It is disabled by default on ENIs but can be enabled.
Note Cisco devices (such as Cisco IP Phones) regularly exchange CDP messages with connected devices.
Disabling CDP can interrupt device connectivity.
Beginning in privileged EXEC mode, follow these steps to globally disable the CDP device discovery
capability:
Beginning in privileged EXEC mode, follow these steps to globally enable CDP when it has been
disabled:
This example shows how to globally enable CDP if it has been disabled.
Switch# configure terminal
Switch(config)# cdp run
Switch(config)# end
Step 5
end Return to privileged EXEC mode.
Step 6
show cdp Verify your settings.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
no cdp run Disable CDP.
Step 3
end Return to privileged EXEC mode.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
cdp run Enable CDP after disabling it.
Step 3
end Return to privileged EXEC mode.