Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Re: Connectivity issues, discarding configuration (or configuration is too short)...

$
0
0

A couple things to check, in the "Device Templates Management", which is web-based in newer NCM versions, although you'll have to scramble looking at text files for older versions, you will see something like this that will list all the commands NCM uses once it logs into the device, this is the one for "HP Switch" which was the device template used in the screenshots above:

 

<!-- 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="HP Procurve 420" SystemOID=" 1.3.6.1.4.1.11.2.14.11.6.4.1.1">

  <Commands>

  <Command Name="Reboot" Value="reset board{CRLF}y${CRLF}"/>

  <Command Name="EnterConfigMode" Value="configure"/>

  <Command Name="ExitConfigMode" Value="end"/>

  <Command Name="Startup" Value="text-config-file"/>

  <Command Name="Running" Value="text-config-file"/>

  <Command Name="DownloadConfig" Value="Show ${ConfigType}"/>

  <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>

  <Command Name="DownloadConfigIndirect" Value="copy config tftp text${CRLF}${StorageFilename}${CRLF}${StorageAddress}${CRLF}"/>

  <Command Name="UploadConfigIndirect" Value="copy tftp file${CRLF}4${CRLF}${StorageFilename}${CRLF}${StorageAddress}${CRLF}"/>

  <Command Name="EraseConfig" Value="reset configuration${CRLF}y${CRLF}"/>

  <Command Name="Version" Value="show version"/>

  </Commands>

</Configuration-Management>

 

In this case the "downloadconfig" should be the one used.   If you use that command, "Show ${ConfigType}" on your switch, where ConfigType can be Startup or Running (so "show Startup" or "show Running"), does your config look right?    Is it super short as it said?  If not, you might need to pick a new device template, or modify a copy of it and use that.

 

Also, under "Config Settings" there is a setting that is "Config Min Length".  Make sure that is short enough to accommodate the shortest config possible with that switch type.

 

HTH!


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>