Hi All,
Thank you for sharing every thing to date. I have tried both methods and I still only download a single "system" configuration. I've shown the two scripts below and would appreciate any feedback. I must admit I don't know much about scripting so I've copied and pasted what I think should be the right text after reading through this solution.
Script 1
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by () -->
<!--SolarWinds Network Management Tools-->
<!--Copyright 2005 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Cisco PIX" SystemOID=" 1.3.6.1.4.1.9.1.451">
<Commands>
<Command Name="RESET" Value="terminal width 0${CRLF}terminal length 0${CRLF}${ConfigType}" RegEx="p06cd01-ghe-int-fw-01" />
<Command Name="Context1" Value="changeto context system" />
<Command Name="Context2" Value="changeto context mgmt" />
<Command Name="Context3" Value="changeto context Production" />
<Command Name="Context4" Value="changeto context Preprod" />
<Command Name="Context5" Value="changeto context Cert" />
<Command Name="Context6" Value="changeto context Perf" />
<Command Name="Context7" Value="changeto context Admin" />
<Command Name="Reboot" Value="reload noconfirm"/>
<Command Name="EnterConfigMode" Value="config terminal"/>
<Command Name="ExitConfigMode" Value="quit"/>
<Command Name="Startup" Value="startup"/>
<Command Name="Running" Value="running"/>
<Command Name="DownloadConfig" Value="show running-config"/>
<Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
<Command Name="DownloadConfigIndirect" Value="write net ${StorageAddress}:/${StorageFilename}"/>
<Command Name="UploadConfigIndirect"/>
<Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>
<Command Name="SaveConfig" Value="write memory"/>
<Command Name="Version" Value="show version"/>
</Commands>
</Configuration-Management>
###################################
Script 2
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by () -->
<!--SolarWinds Network Management Tools-->
<!--Copyright 2005 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Cisco ASA Multi Context" SystemOID=" 1.3.6.1.4.1.9.1.669">
<Commands>
<Command Name="System" Value="more system:running-config"/>
<Command Name="Context1" Value="more disk0:/admin.cfg"/>
<Command Name="Context2" Value="more disk0:/mgmt.cfg"/>
<Command Name="Context3" Value="more disk0:/production.cfg"/>
<Command Name="Context4" Value="more disk0:/preprod.cfg"/>
<Command Name="Context5" Value="more disk0:/cert.cfg"/>
<Command Name="Context6" Value="more disk0:/perf.cfg"/>
<Command Name="MenuBased" Value="false"/>
<Command Name="RESET" Value="terminal pager 0${CRLF}changeto context system${CRLF}" RegEx="p06cd01-ghe-int-fw-01"/>
<Command Name="Reboot" Value="reload noconfirm"/>
<Command Name="EnterConfigMode" Value="config terminal"/>
<Command Name="ExitConfigMode" Value="quit"/>
<Command Name="Startup" Value="show startup"/>
<Command Name="Running" Value="show running"/>
<Command Name="DownloadConfig" Value="${ConfigType}"/>
<Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
<Command Name="DownloadConfigIndirect" Value="write net ${StorageAddress}:/${StorageFilename}"/>
<Command Name="UploadConfigIndirect"/>
<Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>
<Command Name="SaveConfig" Value="write memory all${CRLF}Yes"/>
<Command Name="Version" Value="show version"/>
</Commands>
</Configuration-Management>