Specifications

27-4
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
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:
Router# configure terminal
Router(config)# cdp run
Router(config)# end
Disabling and Enabling CDP on an Interface
CDP is enabled by default on NNIs to send and to receive CDP information. You can enable CDP on
ENIs, but it is not supported on UNIs. Beginning in privileged EXEC mode, follow these steps to disable
CDP on a port:
Beginning in privileged EXEC mode, follow these steps to enable CDP on a port when it has been
disabled:
This example shows how to enable CDP on a port when it has been disabled:
Router# configure terminal
Router(config)# interface gigabitethernet0/1
Router(config-if)# cdp enable
Router(config-if)# end
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
cdp run Enables CDP after disabling it.
Step 3
end Returns to privileged EXEC mode.
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
interface interface-id Specifies the interface on which you are disabling CDP, and enter
interface configuration mode.
Step 3
no cdp enable Disables CDP on the interface.
Step 4
end Returns to privileged EXEC mode.
Step 5
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
interface interface-id Specifies the interface on which you are enabling CDP, and enter
interface configuration mode.
Step 3
cdp enable Enables CDP on the interface after disabling it.
Step 4
end Returns to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Saves your entries in the configuration file.