Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Network Configuration Manager (NCM) > NCM failed to download Cisco ASA full device configuration

NCM failed to download Cisco ASA full device configuration

Created by Malik Haider, last modified by Rodim Suarez on Mar 06, 2017

Views: 50 Votes: 0 Revisions: 4

Overview

NCM failed to download Cisco ASA full device configuration.

The following template for Cisco ASA devices is being used.

 

<!--SolarWinds Network Management Tools-->
<!--Copyright 2007 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Cisco ASA" SystemOID=" 1.3.6.1.4.1.9.1.669">
                <Commands>
                               <Command Name="RESET" Value="terminal pager 0"/>
                               <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="more system:running-config"/>
                               <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"/>
                               <Command Name="Version" Value="show version"/>
                </Commands>
</Configuration-Management>

 

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


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

 
Other issues:

  • 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 firewall has running config saved in startup config anytime change is being implemented by write memory command which save running config into startup config.

 
Device template is “Cisco Adaptive Security Appliance”.

Environment

All NCM versions 

Cause 

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

more system:running-config

This command is not accepted by the device. Device report error % Invalid input detected at '^' marker in response to this command.

Please try in Putty and find out what is correct command to download running config for device (could be just show running). One’s you find correct command- just update it in device template in place of <Command Name="Running" Value="more system:running-config"/>

Resolution

Restore the default template back as below for Cisco ASA:
 

<!--SolarWinds Network Management Tools-->
<!--Copyright 2007 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Cisco ASA" SystemOID=" 1.3.6.1.4.1.9.1.669">
                <Commands>
                                <Command Name="RESET" Value="terminal pager 0"/>
                                <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-config"/>
                                <!--<Command Name="Running" Value="more system:running-config"/>-->
                                <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"/>
                                <Command Name="Version" Value="show version"/>
                </Commands>
</Configuration-Management>
 

 

Last modified
22:37, 5 Mar 2017

Tags

Classifications

Public