Question : Monitoring CDP status using SNMP?

Hi,

I would  like to know how to discover CDP neighbor visibility from a switch using snmp. I currently have four Cat 5500 switches ( two on each site). The sites are connected by two 100mbit WAN links. In the event of one link failing, CDP shows the disappearance of the relevant neighbour. As this event is occuring at layer 2, i am having difficulty in discovering when link loss is occuring ( Alarms do occur, but this this is generally due to spanning tree reconvergence). At present i am using HP openview and Sitescope to monitor these switches. Ideally i would like to monitor the CDP status with Sitescope.If someone could also provide the correct OID for this task, that would be great.

Thanks,

Answer : Monitoring CDP status using SNMP?

I looked at the Cisco CDP V1SMI MIB (CISCO-CDP-MIB.my)

ciscoCdpMIBObjects OBJECT IDENTIFIER ::= { ciscoCdpMIB 1 }
cdpInterface    OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 1 }
cdpCache        OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 2 }
cdpGlobal       OBJECT IDENTIFIER ::= { ciscoCdpMIBObjects 3 }
ciscoCdpMIBConformance OBJECT IDENTIFIER ::= { ciscoCdpMIB 2 }
ciscoCdpMIBCompliances OBJECT IDENTIFIER ::= { ciscoCdpMIBConformance 1 }
ciscoCdpMIBGroups OBJECT IDENTIFIER ::= { ciscoCdpMIBConformance 2 }

Take a look at

cdpInterfaceTable
cdpInterfaceEntry
cdpInterfaceIfIndex

They might contatin the information you are looking for. You could easily setup HPOVNNM to monitor these objects for you and tell you when certain ones change.

hth

Timothy Estes
CCNA, CCDA
Brainbench MVP for TCP/IP Administration
Brainbench Certified Internet Professional
http://www.brainbench.com/transcript.jsp?pid=1198549
Random Solutions  
 
programming4us programming4us