Network Management

NCM failed to download Cisco ASA full device configuration

NCM failed to download Cisco ASA full device configuration.

First published date

10/19/2018 3:49 PM

Last published date

6/12/2023 9:18 PM

Overview

NCM failed to download Cisco ASA full device configuration.

The following template for Cisco ASA devices is being used.

01	<!--SolarWinds Network Management Tools-->
02	<!--Copyright 2007 SolarWinds.Net All rights reserved-->
03	<Configuration-Management Device="Cisco ASA" SystemOID=" 1.3.6.1.4.1.9.1.669">
04	                <Commands>
05	                               <Command Name="RESET" Value="terminal pager 0"/>
06	                               <Command Name="Reboot" Value="reload noconfirm"/>
07	                               <Command Name="EnterConfigMode" Value="config terminal"/>
08	                               <Command Name="ExitConfigMode" Value="quit"/>
09	                               <Command Name="Startup" Value="show startup"/>
10	                               <Command Name="Running" Value="more system:running-config"/>
11	                               <Command Name="DownloadConfig" Value="${ConfigType}"/>
12	                               <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
13	                               <Command Name="DownloadConfigIndirect" Value="write net ${StorageAddress}:/${StorageFilename}"/>
14	                               <Command Name="UploadConfigIndirect"/>
15	                               <Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>
16	                               <Command Name="SaveConfig" Value="write memory"/>
17	                               <Command Name="Version" Value="show version"/>
18	                </Commands>
19	</Configuration-Management>

Configuration is not being downloaded properly with the output of: and had the below error in the session trace. 

“
: 
^
2: 
ERROR: % Invalid input detected at '^' marker.

Other issues:

  • The issue seems to be only with running-config, so when you download the running config above output is something we can see (WRONG)/
  • Whenever you download startup-config, it works fine. Please note that the firewall has running-config saved in startup-config anytime change is implemented by the write memory command, which saves running-config into startup-config.

The device template is “Cisco Adaptive Security Appliance”.

Product section

Network Configuration Manager

Cause

The following command to download the running config is specified in the device template:

more system:running-config

The device does not accept this command. Device report error % Invalid input detected at '^' marker in response to this command.

Please try Putty and find out what is the correct command to download the running-config for the device (could be just show running). Once the correct command is found, update the device template in place of:

<Command Name="Running" Value="more system:running-config"/>

Resolution

Restore the default template back as below for Cisco ASA:
 

View source print: NCM failed to download Cisco ASA full device configuration
 
01	<!--SolarWinds Network Management Tools-->
02	<!--Copyright 2007 SolarWinds.Net All rights reserved-->
03	<Configuration-Management Device="Cisco ASA" SystemOID=" 1.3.6.1.4.1.9.1.669">
04	                <Commands>
05	                                <Command Name="RESET" Value="terminal pager 0"/>
06	                                <Command Name="Reboot" Value="reload noconfirm"/>
07	                                <Command Name="EnterConfigMode" Value="config terminal"/>
08	                                <Command Name="ExitConfigMode" Value="quit"/>
09	                                <Command Name="Startup" Value="show startup"/>
10	                                <Command Name="Running" Value="show running-config"/>
11	                                <!--<Command Name="Running" Value="more system:running-config"/>-->
12	                                <Command Name="DownloadConfig" Value="${ConfigType}"/>
13	                                <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
14	                                <Command Name="DownloadConfigIndirect" Value="write net ${StorageAddress}:/${StorageFilename}"/>
15	                                <Command Name="UploadConfigIndirect"/>
16	                                <Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>
17	                                <Command Name="SaveConfig" Value="write memory"/>
18	                                <Command Name="Version" Value="show version"/>
19	                </Commands>
20	</Configuration-Management>