Class: NetCrawl::CDP

Inherits:
XDP
  • Object
show all
Defined in:
lib/netcrawl/method/cdp.rb

Constant Summary collapse

MIB =

ciscoCdpMIB

'1.3.6.1.4.1.9.9.23'
OID =
{
  # http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.23.1.2.1.1
  :cdpInterfaceName   => '1.3.6.1.4.1.9.9.23.1.1.1.1.6',
  :cdpCacheAddress    => '1.3.6.1.4.1.9.9.23.1.2.1.1.4',
  :cdpCacheDeviceId   => '1.3.6.1.4.1.9.9.23.1.2.1.1.6',
  :cdpCacheDevicePort => '1.3.6.1.4.1.9.9.23.1.2.1.1.7',
}
PEERS_BY =
OID[:cdpCacheDeviceId]

Instance Attribute Summary

Attributes inherited from XDP

#mib

Method Summary

Methods inherited from XDP

peers, #poll

Methods included from NameMap

#namemap