Configuring for Network Management Applications

 

 

 

CDP

Table 10-3. CDP Neighbors Data

 

 

 

 

 

 

CDP Neighbor Data

Displayed

MIB

 

 

Neighbors

 

 

 

Table

 

 

Address Type

No

Yes

Always “1” (IP address only).

CDP Cache Address

No

Yes

IP address of source device.

Software Version

Yes

Yes

ASCII String

Device Name (ASCII string)

Yes

Yes

In HP Procurve switches, this is the value configured for

 

 

 

the System Name parameter.

Device MAC Address

Yes

Yes

Included in the Device Name entry.

Destination Port Number

Yes

Yes

On the Series 5300XL switches (the receiving device), the

 

 

 

number of the port through which the CDP packet arrived.

Source Port Number

No

Yes

On the source (neighbor) device, the number of the port

 

 

 

through which the CDP packet was sent.

Product Name (ASCII string)

Yes

Yes

Platform name designated by vendor.

Capability Code (Device Type)

Yes

Yes

1 or R: Router

 

(alpha

(numeric

2: Transparent Bridge

 

character)

character)

4 or B: Source Route Bridge

 

 

 

8 or S: Switch

 

 

 

16 or H: Host

32 or I: IGMP conditional filtering

64 or r: Repeater

Displaying CDP Neighbor Data.

Syntax: walkmib CdpCacheEntry

Displays the superset of CDP neighbor held in the MIB.

For example, with two CDP devices connected to ports A1 and A3 on the switch, you would see a walkmib listing similar to this:

10-27