Open plajjan opened 12 years ago
Not sure what would be sensible to put as description on the prefixes though?
Would this really be useful at all?
+1 this is useful and usually a value add for more commercial products (typically labeled discovery).
Not sure what you mean with labeled discovery. I'm still at a loss when it comes to where these tools get their data from... or are they parsing interface descriptions?
SNMP has all this data on 3 platforms I've used, IOS, Junos, and Brocade. Depending on your network and how many routers you have carrying full routes, you can do per-device discovery and BGP peer walking to find all the advertised and locally connected routes/interfaces. This works out well because in some networks there is a strict aggregate-only policy in place so nothing less than a /24 is advertised (except in anycast which a /32 is allowed). same goes for v6 where the policy dictates nothing less than a /56 maybe advertised.
So, BGP is good for initial discovery but it doesn't help you import your actual assignments in a lot of cases.
Interface IPs: http://www.net-snmp.org/docs/mibs/ip.html#ipv4InterfaceTable Pulling ARP: http://serverfault.com/questions/441072/how-do-i-poll-the-arp-table-with-an-snmp-oid Installed routes: http://stackoverflow.com/questions/3405363/accessing-routing-table-via-snmp
BGP MIBs: http://www.snmplink.org/OnLineMIB/Cisco/index.html#1500 http://www.juniper.net/techpubs/en_US/junos14.2/topics/reference/mibs/mib-jnx-bgpmib2.txt http://crunchtools.com/software/crunchtools/cacti/grpah-bgp-neighbors/
Write a script that can parse 'show ip bgp' or similar from IOS/JUNOS or something for importing it into NIPAP.