Configuring for Network Management Applications

LLDP (Link-Layer Discovery Protocol)

Viewing the Switch’s Current CDP Neighbors Table. Devices are listed by the port on which they were detected.

Syntax: show cdp neighbors

Lists the neighboring CDP devices the switch detects, with a subset of the information collected from the device’s CDP packet.

[ [e] port-numb [detail] ]

Lists the CDP device connected to the specified port. (Allows only one port at a time.) Using detail provides a longer list of details on the CDP device the switch detects on the specified port.

[detail [ [e] port-num ] ]

Provides a list of the details for all of the CDP devices the switch detects. Using port-numproduces a list of details for the selected port.

Figure 13-26lists CDP devices that the switch has detected by receiving their CDP packets.

ProCurve#

show cdp

neighbors

 

 

CDP neighbors information

 

 

Port

Device ID

 

Platform

Capability

1----

HP-----------------------------

ProCurve

Switch 2824(00

+---------------------------...

-----------S

Revision I.08.58 /sw/code

1

HP

ProCurve

Switch 2524(00...

Revision F.05.17 /sw/code...

S

1

HP

ProCurve

Switch 2824(00...

Revision I.08.58 /sw/code...

S

 

 

 

 

 

 

Figure 13-26. Example of CDP Neighbors Table Listing

Enabling CDP Operation. Enabling CDP operation (the default) on the switch causes the switch to add entries to its CDP Neighbors table for any CDP packets it receives from other neighboring CDP devices.

Disabling CDP Operation. Disabling CDP operation clears the switch’s CDP Neighbors table 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

Enables or disables CDP read-only operation on the switch. (Default: Enabled)

13-81