[c-nsp] Link Discovery Error

Peter Rathlev peter at rathlev.dk
Thu May 27 08:46:11 EDT 2010


On Thu, 2010-05-27 at 17:57 +0530, jaikar gupta wrote:
> ipNetToMediaTable contains the entry of all the devices which are
> reachable from the router but i want to know the devices which are
> directly connected with the router.

You either want MAC-addresses or CDP neighbor information, right? For
the latter you can use CISCO-CDP-MIB::cdpCache*. Newer devices might
support LLDP-MIB instead, which is more cross-platform compatible.

If you're just doing neighbor discovery, what do you need the MAC
address tables/ARP tables for?

-- 
Peter




More information about the cisco-nsp mailing list