Specifications

27-3
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 27 Configuring Cisco Discovery Protocol
Configuring CDP
Use the no form of the CDP commands to return to the default settings.
This example shows how to configure CDP characteristics.
Router# configure terminal
Router(config)# cdp timer 50
Router(config)# cdp holdtime 120
Router(config)# cdp advertise-v2
Router(config)# end
For additional CDP show commands, see the “Monitoring and Maintaining CDP” section on page 27-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:
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
cdp timer seconds (Optional) Sets the transmission frequency of CDP updates in seconds.
The range is from 5–254; the default is 60 seconds.
Step 3
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 from 10–255 seconds; the default is 180 seconds.
Step 4
cdp advertise-v2 (Optional) Configures CDP to send Version-2 advertisements.
This is the default state.
Step 5
end Returns to privileged EXEC mode.
Step 6
show cdp Verifies your settings.
Step 7
copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
no cdp run Disables CDP.
Step 3
end Returns to privileged EXEC mode.