[c-nsp] Scratching the surface of SNMP

Peter Hicks peter.hicks at poggs.co.uk
Tue Oct 27 05:28:18 EDT 2009


Hi Charlie

Charlie Greenaway wrote:

> Cross reference the ARP table, IfTable and IP Table.  From these you
> will be able to eliminate the locally configured IP addresses and MAC
> addresses (the intersection of ARP and IP tables).  Whatever is left
> in the ARP table is what is connected to the interface (intersect
> with remainder of ARP table and IF table).

I've already implemented that - great for physical interfaces with an IP 
address attached, but it doesn't do what I need for VLAN or SVI 
interfaces.  All the ARP entries are associated with the SVI - the lack 
of dot1dBridgeFdbTable support means I can't tell which physical port a 
device is connected to.

Here's an example - I have an 1801 with three unmanaged switches 
connected to it, and I can't tell which port on the 1801 a particular 
MAC address appears on.

> Please do keep me posted on how you get on.  I'm going to be writing
> some MPLS/VRF-Lite based tools soon.

Check out NetHorus - www.nethorus.org - which I am writing.  I have a 
load of commits to sort out in the coming weeks plus a new layout based 
on feedback from people who grok usability.

Regards,


Peter


More information about the cisco-nsp mailing list