Howdy! Few month back a user (Emmanuel Oginni - must give credit where credit is due) posted couple of his perl script for SSH and had mentioned that these have been tested for many Cisco devices. I happen to have saved it for testing but never around to do that so far. Take a look at his files attached and see if you can make use of it. Advise of caution, we have to use these scripts at our own risk, CA Support will probably not support it or god forbids SS goes down crashing. Hope it helps. Thanks, Ali
________________________________ From: D C [mailto:ptrading...@gmail.com] Sent: Wednesday, November 09, 2011 12:07 PM To: spectrum Subject: [spectrum] NCM Script Repository Hello, This has probably already been addressed, and if so, apologies. We are having a bit of trouble getting NCM (Network Configuration Manager) to pull a startup config from a Cisco PIX ASA-5540 device we have. Spectrum reads it in as a model type of CiscoRT (and a name of "Cisco Adaptive Security Appliance Version 8.0(4)"). After working with CA a bit, they helped establish that this device (although out for some time) is not on the list of supported devices. So I have been trying to modify one of the Perl scripts provided via OneClick for devices that *are* supported to work with this device. What we want is pretty simple: (a) ssh login; (b) switch to enable mode; (c) enter enable password; (d) get startup config. I have managed to adapt one of those scripts so that it works at the prompt, typing in the five arguments that Spectrum would send, and returning just the config in stdout. But the script bombs when I use it in OneClick. It would be great if CA provided an NCM script repository, but they seem not to. I believe that there is one on the Spectrum wiki hosted in Switzerland, but the site seems to have been down for at least a week. Does anyone have any scripting suggestions / repository ideas? Thanks! Daniel C. * --To unsubscribe from spectrum, send email to lists...@unc.edu<mailto:lists...@unc.edu> with the body: unsubscribe spectrum aliabbas.s...@convergys.com ________________________________ NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected. --- To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum arch...@mail-archive.com
Cisco_SSH_Capture_Startup_Script.pl
Description: Cisco_SSH_Capture_Startup_Script.pl
Cisco_SSH_Capture_Running_Script.pl
Description: Cisco_SSH_Capture_Running_Script.pl