08-11-2005 04:11 AM - edited 03-03-2019 10:15 AM
I would like to know the easiest way to automate the following process:
I have a spreadsheet that I manually enter the output from various IOS commands. Is there a way to automate this process?
i.e. a script that will log command output to either a text file or directly into my spreadsheet.
Any help is much appreciated.
08-11-2005 01:52 PM
have u tried thru hyperterminal ?? it gives you the capture option an whatever u execute will be captured in a text file..Hope this helps
08-12-2005 05:35 AM
I'm aware of the logging capabilities of Hyperterminal. What I'm asking is if there is any way to automate the process...
I need a method - e.g. Perl script, SNMP etc. that will allow me to automate the execution of commands on several routers and have the output logged to a file. I have 40 routers that I need output from and I don't want to manually telnet to each.
Thanks
08-14-2005 08:55 AM
I use the Net:Telnet module available on CPAN. See the README at http://www.cpan.org/modules/by-category/05_Networking_Devices_IPC/Net/Net-Telnet-3.01.readme
If you want to take a look at some scripts that use this module, check the Cisco-centric Open Source Exchange Community (COSI) web page at http://cosi-nms.sourceforge.net/alpha-progs.html. The IOS Command Script Toolkit (http://sourceforge.net/project/showfiles.php?group_id=25401&package_id=26206) have a a number of scripts that should give you enough ideas.
Regards
Steve
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide