- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2013 02:00 AM - edited 03-04-2019 08:03 PM
Has anyone heard of a tool that you could use to view/troubleshoot routing tables? I am looking for something that would visualize routes on a diagram, showing the amount of routes that point to certain next hops. This is for maintenance windows, where I redirect traffic away from a certain router. The problem is all the show commands I see end up displaying routes across multiple lines, so you can't just include the next-hop IP and be sure you have caught every route.
Solved! Go to Solution.
- Labels:
-
Other Routing
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2013 02:50 AM
Hello,
the best way to extract routing table from a router is snmp:
1 - ISO assigned OIDs
1.3 - ISO Identified Organization
1.3.6 - US Department of Defense
1.3.6.1 - OID assignments from 1.3.6.1 - Internet
1.3.6.1.2 - IETF Management
1.3.6.1.2.1 - SNMP MIB-2
1.3.6.1.2.1.4 - ip
1.3.6.1.2.1.4.21 - ipRouteTable
For example, the following link use it from a perl script:
http://it-certification-network.blogspot.com.es/2008/12/generating-report-of-routing-table.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2013 02:30 AM
Hi,
You probably already know this but you can redirect output to a file and then manipulate that data.
For example you could do:
#show ip route | redirect tftp://192.168.0.1/ip-route.txt
You can then view it is a text editor in a wide format and the lines won't wrap around. If you use something like Notepad+ you will get line numbers so you can count the lines. Or you could pull it in the excel and manipulate it there.
More recent versions of IOS include another output redirection:
#show ip route | count
Where it will count the number of lines returned by a command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2013 02:50 AM
Hello,
the best way to extract routing table from a router is snmp:
1 - ISO assigned OIDs
1.3 - ISO Identified Organization
1.3.6 - US Department of Defense
1.3.6.1 - OID assignments from 1.3.6.1 - Internet
1.3.6.1.2 - IETF Management
1.3.6.1.2.1 - SNMP MIB-2
1.3.6.1.2.1.4 - ip
1.3.6.1.2.1.4.21 - ipRouteTable
For example, the following link use it from a perl script:
http://it-certification-network.blogspot.com.es/2008/12/generating-report-of-routing-table.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2013 04:31 PM
Thanks for the replies, but I was hoping there was a tool that automated it somehow. I am trying to sort through hundreds of routes on the fly, so anything manual would be too much trouble.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2013 07:53 AM
I demo'd NetBrain about a year ago and didn't like it much. It wouldn't draw our networks properly, couldn't handle the SVI's and multiple interfaces in the same VLAN. The maps ended up looking really goofy. I also don't recall that it did anything for route table entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2013 09:03 AM
That's strange, I've never had those problems. They have some good training on their website that might have helped. It can do quite a bit with the route tables/route propogation/routing protocol visualization/etc. Maybe the product has matured since your eval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2013 06:44 PM
Take a look at netbrain.
Sent from Cisco Technical Support Android App
