Network Management
Download the startup config of a context from an ASA device
This article describes how to download the startup configuration of a context from an ASA device.
First published date
Last published date
Overview
Product section
Resolution
The following example shows how to download the startup config of a context named Public.
- Go to Settings > All Settings > NCM Settings > Configs.
- Add a config type called
Public_Startup. - Edit the template of the ASA device:
<Commands> <Command Name="RESET" Value="terminal pager 0"/> <Command Name="Startup" Value="show start"/> <Command Name="Running" Value="show run"/> <Command Name="Public_Startup" Value="changeto context Public${CRLF}show start"/> <Command Name="DownloadConfig" Value="${ConfigType}" RegEx="#"/> <Command Name="UseMultipleDownloadCommands" Value="True"/> <Command Name="Reboot" Value="reload noconfirm"/> <Command Name="EnterConfigMode" Value="config terminal"/> <Command Name="ExitConfigMode" Value="end"/> <Command Name="EraseConfig" Value="write erase${CRLF}Yes"/> <Command Name="SaveConfig" Value="write memory"/> <Command Name="Version" Value="show version"/> </Commands> - Save the device template and assign it to the device.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.