Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-25-2013, 11:57 AM
serbant serbant is offline
Registered User
 
Join Date: Jun 2013
Posts: 1
multiscript to automate configuring cisco devices

Hi all, I have been running a multiscript that allows me to log into multiple routers (connections listed in a text file parsed at the beginning of the script) and send multiple commands to each router (another text file), one at a time.
This was used mostly to get output of various "show" commands, or to automate troubleshooting (run various pings or trace routes from multiple routers). All those commands are entered in the router's "enable" mode, but once I try to use the same script to actually configure multiple routers, the script stops when it gets into the "config" mode of the first router (with the "config t" command). The only way I could manage this is if I modify the sessions and add the "config t" command as part of the automated login, then I can use the multiscript to enter multiple configuration commands to multiple routers (as long as all those sessions have the "config t" as part of the router's automated login!). In short, the same script won't run commands in the "enable" mode (such as config t) AND in "config" mode at the same time!
Any ideas why and what would the fix be?
Thanks much!
Reply With Quote
  #2  
Old 06-25-2013, 12:12 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,046
Hello serbant,

What version of SecureCRT are you using?

On what platform?

Please post (or send to support@vandyke.com) the current version of the script you are trying to use.

If you attach the script to email, please include "Attn Brenda - Forum Thread #11094" in the subject line.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
automated , cisco , configuration , script


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:23 AM.