non-gui tool for parsing/generating cisco configs
I'm looking for a non-gui tool (or tools) for parsing and generating configs for cisco switches and routers that can be run from another process on unix systems. The configs I'll have are pretty simple, minimal routing, some port-specific commands, and basic host info. I've searched around the web and dug through the nanog archives (mostly to find there are few things, none of which match my current needs, and lots of people saying they need what I'm asking for and more). If anybody has pointers for the above, they're much appreciated. Thank you, -eric
On Fri, 21 Jul 2000, Eric Hall wrote:
I'm looking for a non-gui tool (or tools) for parsing and generating configs for cisco switches and routers that can be run from another process on unix systems. The configs I'll have are pretty simple, minimal routing, some port-specific commands, and basic host info.
I knocked something like this out for a company I worked for a while back, but I don't think they want to release the code. However, I could write a script that did something similar in a relatively short amount of time, given the criteria you're checking for. The script parsed a cisco config for gloabal services turned off/on (ip finger, tcp-small-servers), required interface commands, BGP/OSP router setups, and a few other things, kind of like a lint for Cisco. Writing a multi-purpose beast to handle just any generic cisco config you throw at it would probably be a pain, which is probably why it hasn't been done yet, outside of the limited tools from Cisco.
I've searched around the web and dug through the nanog archives (mostly to find there are few things, none of which match my current needs, and lots of people saying they need what I'm asking for and more).
If anybody has pointers for the above, they're much appreciated.
__ Joseph Shaw
SysAdmin magazine had something written in Perl about a year ago Regards - Scott Eric Hall wrote:
I'm looking for a non-gui tool (or tools) for parsing and generating configs for cisco switches and routers that can be run from another process on unix systems. The configs I'll have are pretty simple, minimal routing, some port-specific commands, and basic host info.
I've searched around the web and dug through the nanog archives (mostly to find there are few things, none of which match my current needs, and lots of people saying they need what I'm asking for and more).
If anybody has pointers for the above, they're much appreciated.
Thank you,
-eric
On Sat, 22 Jul 2000, Scott McGrath wrote:
SysAdmin magazine had something written in Perl about a year ago
This? http://www.samag.com/archive/0803/feature.shtml -- Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz System/Network Admin. | | Home: simon@darkmere.gen.nz Ihug Limited, Auckland, NZ | Asst Doorman | Web: http://www.darkmere.gen.nz
You found it! I did not realize that they had a web archive and obviously I was wrong about the Perl part ;~} that was what I wasm referring to Thanks - Scott Simon Lyall wrote:
On Sat, 22 Jul 2000, Scott McGrath wrote:
SysAdmin magazine had something written in Perl about a year ago
This?
http://www.samag.com/archive/0803/feature.shtml
-- Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz System/Network Admin. | | Home: simon@darkmere.gen.nz Ihug Limited, Auckland, NZ | Asst Doorman | Web: http://www.darkmere.gen.nz
participants (4)
-
Eric Hall
-
Joe Shaw
-
Scott McGrath
-
Simon Lyall