Solved

Cisco show command automation

Posted on 2006-06-28
5
563 Views
Last Modified: 2008-03-06
Hi,

I need a batch file or script which automatically logs into a Cisco PIX firewall, executes the "show access-lists" command, and then captures the results in csv/excel format so I can read/sort the hit count data easily.

I have no idea where to start on this, so any help would be greatly appreciated!

Many thanks,
PJRimmer.
0
Comment
Question by:PJRimmer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 13

Expert Comment

by:prashsax
ID: 17001898
You can use Telnet Scripting Tool.
http://www.winsite.com/bin/Info?500000000873

Create your own script which will login to router and save the output in a text file.

0
 
LVL 32

Expert Comment

by:rsivanandan
ID: 17002692
Expect is a great tool for such things. Not just the 'show' command but can also do a lot of things. Learning expect is also simple since it uses less stuff to learn.

Cheers,
Rajesh
0
 
LVL 2

Expert Comment

by:skags442
ID: 17003186
why not use logging and a syslog server
0
 
LVL 10

Accepted Solution

by:
Sorenson earned 250 total points
ID: 17003684
Kiwi Cat tools, free for up to 5 devices, http://www.kiwisyslog.com/cattools2.htm can be setup to run as a service, gather configs, or run scripted commands, e-mail or save results, etc.  Great for managing  a bunch of systems and maintaining change control on them.  Would work for what you are looking for.
0
 

Author Comment

by:PJRimmer
ID: 17030973
Hi Sorenson,

I downloaded Kiwi Cat tools which seems to do the trick, however the captured output has in complete lines and repeated sections. Have you seen this before?
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question