5 Replies Latest reply on Jan 25, 2017 3:08 PM by jemertz

    Session Trace - SSH ?


      Is this an option as my devices that I am having issue with does not allow telnet. I can't seem to get Juniper MX80 router to download config, I am using the out of box device template, its able to test connect and I have verified the XML config. I am out of ideas as I get error "Connectivity issues, discarding configuration (or configuration is too short)"


        • Re: Session Trace - SSH ?

          Got the trace to work - here is the output.





          nmsinfra@NYC06> set cli complete-on-space off

          set cli complete-on-space off

          Disabling complete-on-space


          nmsinfra@NYC06> set cli screen-width 0

          set cli screen-width 0

          Screen width set to 0


          nmsinfra@NYC06> set cli screen-length 0

          set cli screen-length 0

          Screen length set to 0


          nmsinfra@NYC06> show ${configuration | display set}

          show ${configuration


          syntax error, expecting <command>.


          nmsinfra@NYC06> show ${configuration      |


          syntax error, expecting <command>.


          nmsinfra@NYC06> show ${configuration|      display


          syntax error, expecting <command>.


          nmsinfra@NYC06> show ${configuration|display      set}


          syntax error, expecting <command>.






          here is the base juniper template.


          <!-- 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="Juniper Devices" SystemOID="">


                  <Command Name="Reset" Value="set cli complete-on-space off${CRLF}set cli screen-width 0${CRLF}set cli screen-length 0"/>

                  <Command Name="Reboot" Value="request system reboot${CRLF}yes"/>

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

                  <Command Name="ExitConfigMode" Value="commit and-quit"/>

                  <Command Name="DownloadConfig" Value="show configuration | display set"/>

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

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

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




          tdanner ?

          1 of 1 people found this helpful
            • Re: Session Trace - SSH ?

              That's weird. I would just open a ticket with SolarWinds support for that one.

              • Re: Session Trace - SSH ?

                Somewhere you're adding some extraneous characters to the command as listed in the template.
                First I'd verify that the template that you pasted for us is the template being used on the device. Edit Properties on the device and under NCM -> Communication choose this template instead of letting it autodetermine.
                I'm not able to locate a place where downloading the config specifies to use ${DownloadConfig} but it seems like somewhere this isn't being parsed right. If you can't locate it either, Solarwinds Support might be the only one who can help as it sounds like a bug in NCM template parsing.

                1 of 1 people found this helpful