Quantcast
Channel: THWACK: Popular Discussions - Network Configuration Manager
Viewing all articles
Browse latest Browse all 4266

Connectivity issues, discarding configuration (or configuration is too short)

$
0
0

Hi

 

Trying to download the config using NCM 7.4. I don't see what goes wrong with this device (it's a Fortigate 60D). I have other Fortigates (1500D) which work well.

Having spent 3 hours on this I'm at a point where I need professional help.

 

what I see, is:

  • correct device template is used
  • SSH-Login works OK
  • Prompt is recognized
  • but when the download should start, there appears Start check prompt for menu-based device although in the device template it says <Command Name="MenuBased" Value="false" />
  • as a result, the config is not downloaded and I get the message Connectivity issues, discarding configuration (or configuration is too short)

 

Session-Trace supplies the output below.

[22.07.2015 11:15:30] -----------------NCM 7.4-------------------
[22.07.2015 11:15:30] UseCustomMorePromptBehaviour: False
[22.07.2015 11:15:30] MorePromptKey: 
[22.07.2015 11:15:30] Login Attempts: 1
[22.07.2015 11:15:30] Custom UserName Prompt:
[22.07.2015 11:15:30] Custom Password Prompt:
[22.07.2015 11:15:30] Device Template: Fortigate 60D-1.3.6.1.4.1.12356.101.1.624
[22.07.2015 11:15:30] System Name: 8400a-p-afw001
[22.07.2015 11:15:30] System Description:
[22.07.2015 11:15:30] System OID: 1.3.6.1.4.1.12356.101.1.624
[22.07.2015 11:15:30] OS Image:
[22.07.2015 11:15:30] OS Version:

[22.07.2015 11:15:30] UseExactPromptMatch=False
[22.07.2015 11:15:31] Menu-Based mode=False
[22.07.2015 11:15:31] FreezeLoginForPreCommands mode= False
[22.07.2015 11:15:31] FISP mode= False
[22.07.2015 11:15:31] WODSSH Version: 3.0.0.184
[22.07.2015 11:15:31] UseVirtualPromptForCommands False
[22.07.2015 11:15:31]
-->StateChange: Connecting to server<--

[22.07.2015 11:15:31] Got HostFingerPrint: 6a:de:ae:6c:ee:c3:51:ed:e5:8d:db:df:25:22:cb:9b
[22.07.2015 11:15:31] SWTelnet9 Crypto Information Begin
[22.07.2015 11:15:31] Protocol = SSH2
[22.07.2015 11:15:31] RemoteName = SSH-2.0-4aY_y
[22.07.2015 11:15:31] SCcipher = aes128-cbc
[22.07.2015 11:15:31] CSCipher = aes128-cbc
[22.07.2015 11:15:31] Keys = ssh-rsa
[22.07.2015 11:15:31] SWTelnet9 Crypto Information End
[22.07.2015 11:15:31]
-->StateChange: Connected to server - idle<--

[22.07.2015 11:15:31] Solarwinds.Net SWTelnet9 Version 9.0.27
[22.07.2015 11:15:31] Connected!
[22.07.2015 11:15:31] --->8400a-p-afw001 $
[22.07.2015 11:15:31] ProcessLogin State: 0
[22.07.2015 11:15:31] no credentials needed - Command mode prompt detected
[22.07.2015 11:15:31] Prompt is being set to : 8400a-p-afw001 $
[22.07.2015 11:15:31] Logged into Router
[22.07.2015 11:15:31] <--

[22.07.2015 11:15:31] -->
[22.07.2015 11:15:31] -->
[22.07.2015 11:15:31] -->
[22.07.2015 11:15:31] Start check prompt for menu-based device
[22.07.2015 11:15:31] Process Line = <>
[22.07.2015 11:15:31] Process Line = <>
[22.07.2015 11:15:31] Process Line = <>
[22.07.2015 11:15:31] --->8400a-p-afw001 $
[22.07.2015 11:15:31] Start check prompt for menu-based device
[22.07.2015 11:15:31] Process Line = <8400a-p-afw001 $ >
[22.07.2015 11:15:31] Fuzzy match detector start detecting prompt. String1=8400a-p-afw001$ String2=8400a-p-afw001$
[22.07.2015 11:15:31] <--

[22.07.2015 11:15:31] -->
[22.07.2015 11:15:31] -->
[22.07.2015 11:15:31] -->
[22.07.2015 11:15:31] Complete buffer is detected - save all lines to echo buffer
[22.07.2015 11:15:31] Echo not detected yet. Push back data to echo buffer, EchoBuffer = <<<


>>>
[22.07.2015 11:15:31] Start detecting command echo in echo buffer...

 

The device template Looks like this:

Configuration-Management Device="Fortigate 60D " SystemOID=" 1.3.6.1.4.1.12356.101.1.624">

  <Commands>

    <Command Name="MenuBased" Value="false" />

    <Command Name="VirtualPrompt" Value="\$ " />

    <Command Name="UseExactPromptMatch " Value="false" />

    <Command Name="Reboot" Value="execute reboot${CRLF}y${CRLF}" />

    <Command Name="EnterConfigMode" Value="config global " />

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

    <Command Name="Startup" Value="full-configuration" />

    <Command Name="Running" Value="" />

    <Command Name="More" Value="--More-- " />

    <Command Name="DownloadConfig" Value="show" />

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

    <Command Name="DownloadConfigIndirect" Value="execute backup config ${TransferProtocol} ${StorageFilename} ${StorageAddress}${CRLF}${CRLF}${CRLF}" />

    <Command Name="UploadConfigIndirect" Value="execute restore config tftp ${StorageFilename} ${StorageAddress}${CRLF}${CRLF}" />

    <Command Name="EraseConfig" Value="execute factoryreset${CRLF}y" />

    <Command Name="SaveConfig" Value="execute cfg save" />

    <Command Name="Version" Value="get system status" />

    <Command Name="Reset" Value="" />

  </Commands>

</Configuration-Management>

 

Thanks in advance for any help.

 

Beat


Viewing all articles
Browse latest Browse all 4266

Trending Articles



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