12-21
Configuring for Network Management Applicati ons
CDP
Monitoring and Managing
the Switch
Figure 12-12. View of the CDP Neighbors Table Immediately Aft er Executing cdp clear
Configuring CDP Operation
Enabling or Disabling CDP Operation on the Switch. Enabling CDP
operation (the default) on the switch causes the switch to:
Transmit CDP packets describing itself to other, neighboring CDP
devices
Add entries to its CDP Neighbors table for any CDP packets it receives
from other, neighboring CDP devices
Disabling CDP operation clears the switchs CDP Neighbors table, prevents
the switch from transmitting outbound CDP packets to advertise itself to
neighboring CDP devices, and causes the switch to drop inbound CDP packets
from other devices without entering the data in the CDP Neighbors table.
Syntax: [no] cdp run
For example, to disable CDP on the switch:
Switch 4108GL(config) no cdp run
When CDP is disabled:
show cdp neighbors displays an empty CDP Neighbors table
show cdp displays
Global CDP information
Enable CDP : No
Note that the table will again list entries after the switch
recives new CDP packets from neighboring CDP devices.