Re: Parse cisco's "show ip route" output in Python 2.7

2012-03-04 Thread Dan Stromberg
I've done little with Ciscos, but what if you use individual things like "show ip ospf", "show ip rip database", etc. instead of "show ip route". Does that makes things a little more consistent? Often big problems are simpler if we can divide them into smaller, more manageable subproblems. On S

Parse cisco's "show ip route" output in Python 2.7

2012-03-04 Thread Antgoodlife
Hi All, Long time reader, first time poster. I'm trying to parse the output of the SHOW IP ROUTE command from a cisco router (It's a 3800 Series IOS 12.4 although almost all should have same output format) and put it into a CSV format to import into a database or spreadsheet. While we of course h