Configuring for Network Management Applications

CDP

Figure 10-10lists six CDP devices (four switches and two workstations) that the switch has detected by receiving their CDP packets.

Figure 10-10. Example of CDP Neighbors Table Listing

Figure 10-11illustrates a topology of CDP-enabled devices for the CDP Neigh­ bors table listing in figure 10-10.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HP Series 5300XL

 

 

 

 

 

HP Switch 2512

 

 

 

 

 

 

 

 

Switch

 

 

 

 

HP J4812A: Accounting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0030c1-7fcc40

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Non-CDP-Capable Hub

 

 

 

HP Switch 4000M

 

HP Switch 4000M

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(HP J4121A: Support)

 

HP J4821A: Research

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0060b0-761a45

 

0060b0-889e43

 

 

Management

 

 

Management

 

 

 

 

 

 

 

 

 

Workstation

 

 

Workstation

 

 

 

 

HP Switch 2524

 

 

 

 

 

(Mgmt. NIC)

 

 

(Mgmt. NIC)

 

 

 

(HP J4813A: Marketing)

 

 

 

 

 

099a05-09df9

 

 

099a05-09df11

 

 

 

 

0030c5-38dc59

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 10-11. Example of CDP-Enabled Devices in a Topology for the Listing in Figure 10-10

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 empty.

and then execute show cdp neighbors before the switch from any neighbor device, the displayed table appears

10-21