Submit a ticketCall us
Home > Success Center > Network Configuration Manager (NCM) > NCM - Knowledgebase Articles > Download the startup config of a context from an ASA device

Download the startup config of a context from an ASA device

Table of contents

Updated February 27, 2018

Overview

This article describes how to download the startup configuration of a context from an ASA device.

Environment

NCM 7.5 and later

Steps

The following example shows how to download the startup config of a context named Public.

  1. Go to Settings > All Settings > NCM Settings > Configs.
  2. Add a config type called Public_Startup.
  3. 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> 
  4. Save the device template and assign it to the device.

 

 

Last modified

Tags

Classifications

Public