Manual

17-4
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter 17 Configuring CDP
Monitoring and Maintaining 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:
Command Purpose
Step 1
Step 2
Step 3
Step 4
Step 5
Beginning in privileged EXEC mode, follow these steps to enable CDP on an interface:
Command Purpose
Step 1
Step 2
Step 3
Step 4
Step 5
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
Monitoring and Maintaining CDP
To monitor and maintain CDP on your device, perform one or more of these tasks, beginning in
privileged EXEC mode.
configure terminal Enter g
lobal configuration mode.
interface in
terface-id Enter interface configuration mode, and enter the
interface on which you are disabling CDP.
no cdp enable Disabl
e CDP on an interface.
end Retu
rn to privileged EXEC mode.
copy running-config startup-config (Op
tional) Save your entries in the configuration file.
configure terminal Enter global configuration mode.
interface in
terface-id Enter interface configuration mode, and enter the
interface on which you are enabling CDP.
cdp enable Enable CD
P on an interface after disabling it.
end Retu
rn to privileged EXEC mode.
copy running-config startup-config (Op
tional) Save your entries in the configuration file.
Command Description
clear cdp counters Re
set the traffic counters to zero.
clear cdp table Delete the CDP table of information about neighbors.