I have been trying to figure out a template to download config, but having problems.
Should be simple, but I think the problem is timing.
If I run the "show config" from a script it runs fine, but it takes 4 minutes to complete.
I think that is why my template is failing.
Here is a trace and my script.
Thanks
<!--SolarWinds Network Management Tools-->
<!--Copyright 2007 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Cisco Catalyst CatOS6500" SystemOID="1.3.6.1.4.1.9.50">
<Commands>
<Command Name="RESET" Value="set length 0"/>
<Command Name="Reboot" Value="reload${CRLF}y${CRLF}y"/>
<Command Name="EnterConfigMode" Value="enable"/>
<Command Name="ExitConfigMode" Value=""/>
<Command Name="Startup" Value="config"/>
<Command Name="Running" Value="config"/>
<Command Name="DownloadConfig" Value="${EnterConfigMode}${CRLF}Show ${ConfigType}${ENTER}{CRLF}"/>
<Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
<Command Name="EraseConfig" Value="write erase${CRLF}Y"/>
<Command Name="SaveConfig" Value="write memory"/>
<Command Name="More" Value="--More--"/>
<Command Name="Version" Value="show version"/>
<Command Name="EnableIdentifier" Value="(enable)"/>
</Commands>
</Configuration-Management>
[1/14/2010 7:37:49 PM] Solarwinds.Net SWTelnet9 Version 9.0.27
[1/14/2010 7:37:49 PM] Connected!
[1/14/2010 7:37:49 PM] -->
[1/14/2010 7:37:49 PM] --> iblaproxysg>
[1/14/2010 7:37:49 PM] ProcessLogin State: 0
[1/14/2010 7:37:51 PM] TimerTick: mstrData=<iblaproxysg>> State=3 - Connected to server - idle
[1/14/2010 7:37:51 PM] Pending Disconnect = False
[1/14/2010 7:37:51 PM] Sending to get a banner!
[1/14/2010 7:37:51 PM] <--
[1/14/2010 7:37:51 PM] -->
[1/14/2010 7:37:51 PM] --> iblaproxysg>
[1/14/2010 7:37:51 PM] ProcessLogin State: 0
[1/14/2010 7:37:53 PM] TimerTick: mstrData=<iblaproxysg>> State=3 - Connected to server - idle
[1/14/2010 7:37:53 PM] Pending Disconnect = False
[1/14/2010 7:37:53 PM] TimerTick: Send to CRLF get prompt again
[1/14/2010 7:37:53 PM] <--
[1/14/2010 7:37:53 PM] -->
[1/14/2010 7:37:53 PM] --> iblaproxysg>
[1/14/2010 7:37:53 PM] ProcessLogin State: 0
[1/14/2010 7:37:53 PM] Custom Prompt detector detect # prompt
[1/14/2010 7:37:53 PM] Custom Prompt detector detect # prompt
[1/14/2010 7:37:53 PM] no credentials needed - Command mode prompt detected
[1/14/2010 7:37:53 PM] Prompt is being set to : iblaproxysg>
[1/14/2010 7:37:53 PM] Logging into Enable Mode
[1/14/2010 7:37:53 PM] <-- enable
[1/14/2010 7:37:53 PM] --> enable
[1/14/2010 7:37:53 PM] -->
[1/14/2010 7:37:53 PM] ProcessLogin State: 5
[1/14/2010 7:37:53 PM] Enable command echo detected
[1/14/2010 7:37:53 PM] --->Enable Password:
[1/14/2010 7:37:53 PM] ProcessLogin State: 5
[1/14/2010 7:37:53 PM] <-- Hide
[1/14/2010 7:37:53 PM] -->
[1/14/2010 7:37:53 PM] -->
[1/14/2010 7:37:53 PM] ProcessLogin State: 6
[1/14/2010 7:37:53 PM] --->iblaproxysg#
[1/14/2010 7:37:53 PM] ProcessLogin State: 6
[1/14/2010 7:37:55 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:37:55 PM] Pending Disconnect = False
[1/14/2010 7:37:57 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:37:57 PM] Pending Disconnect = False
[1/14/2010 7:37:57 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:37:59 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:37:59 PM] Pending Disconnect = False
[1/14/2010 7:37:59 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:01 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:01 PM] Pending Disconnect = False
[1/14/2010 7:38:01 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:03 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:03 PM] Pending Disconnect = False
[1/14/2010 7:38:03 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:05 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:05 PM] Pending Disconnect = False
[1/14/2010 7:38:05 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:07 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:07 PM] Pending Disconnect = False
[1/14/2010 7:38:07 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:09 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:09 PM] Pending Disconnect = False
[1/14/2010 7:38:09 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:11 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:11 PM] Pending Disconnect = False
[1/14/2010 7:38:11 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:13 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:13 PM] Pending Disconnect = False
[1/14/2010 7:38:13 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:15 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:15 PM] Pending Disconnect = False
[1/14/2010 7:38:15 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:17 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:17 PM] Pending Disconnect = False
[1/14/2010 7:38:17 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:19 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:19 PM] Pending Disconnect = False
[1/14/2010 7:38:19 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:21 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:21 PM] Pending Disconnect = False
[1/14/2010 7:38:21 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:23 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:23 PM] Pending Disconnect = False
[1/14/2010 7:38:23 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[1/14/2010 7:38:25 PM] TimerTick: mstrData=<iblaproxysg#> State=3 - Connected to server - idle
[1/14/2010 7:38:25 PM] Pending Disconnect = False
[1/14/2010 7:38:25 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...