17-4
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter17 Configuring CDP
Configuring CDP
This example shows how to enable CDP.
AP# configure terminal
AP(config)# cdp run
AP(config)# end
Disabling and Enabling CDP on an Interface
CDP is enabled by default on all supported interfaces to send and receive CDP information.
Beginning in privileged EXEC mode, follow these steps to disable CDP on an interface:
Beginning in privileged EXEC mode, follow these steps to enable CDP on an interface:
This example shows how to enable CDP on an interface.
AP# configure terminal
AP(config)# interface x
AP(config-if)# cdp enable
AP(config-if)# end
Step2 cdp run Enable CDP after disabling it.
Step3 end Return to privileged EXEC mode.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Enter interface configuration mode, and enter the
interface on which you are disabling CDP.
Step3 no cdp enable Disable CDP on an interface.
Step4 end Return to privileged EXEC mode.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Enter interface configuration mode, and enter the
interface on which you are enabling CDP.
Step3 cdp enable Enable CDP on an interface after disabling it.
Step4 end Return to privileged EXEC mode.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.