Configuring for Network Management Applications
CDP on the Series 5300xl Switches
Note that the table will again list entries after the switch
receives new CDP packets from neighboring CDP devices.
Figure 14-28. View of the CDP Neighbors Table Immediately After Executing cdp clear
14-62
Clearing (Resetting) the CDP Neighbors Table
Syntax: cdp clear
Removes any records of CDP Neighbor devices from the
switch' s CDP MIB objects.
If you execute
cdp clear
receives a CDP packet from any neighbor device, the displayed table appears
empty.
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 switch's CDP Neighbors Table, prevents
the switch from transmitting outbound CDP packets to advertise itself to
neighboring CDP devices, and causes the switch to forward inbound CDP
packets from other devices without entering the data in the CDP Neighbors
Table.
Syntax: [no] cdp run
Enables or disables CDP operation on the switch. (Default:
Enabled)
and then execute
show cdp
neighbors before the switch