1 Reply Latest reply on Mar 25, 2019 5:54 PM by robert.adams

    Support for IOS XE? config is failing to be captured

    robert.adams

      I just got the product installed and my first device configured but its failing to capture the configuration (it's an ASR running IOS-XE).

       

      I have 1 activity configured: Device.Backup.Running Config

      For the device, I configured the type as Cisco.Router.noenable. I initially tried Cisco.Router.General but it kept complaining about "Enable password prompt returned" which would be incorrect since there is no enable option on this router.  I don't get that error with Cisco.Router.noenable but it fails to capture the configuration.

       

      The config file shows this:

       

       

      show config
                           ^
      % Invalid input detected at '^' marker.

      This is odd because I can issue the command manually and it works.  Seems like there are some unprinted character after "config", given that a typical "invalid input" marker is spaced appropriately to point to the first invalid input character and there are 20 spaces before the ^ in the output.

       

       

       

      The activity log show this when using noenable :

       

       

      2019-03-06 13:54:14 4-Debug 1 rnh01prtr01 -->LoadScriptFile for C:\Program Files (x86)\CatTools3\Scripts\Cisco.Router.noenable.txt
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 LoadScriptFile - CurDevVariations
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 LoadScriptFile-->
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 SSH Fingerprint: 59:9b:b0:3b:98:bf:2d:70:85:a7:92:e4:97:28:26:14
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 Connected to rnh01prtr01.prd.nextraq.com
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 -->LoadScriptFile for C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 LoadScriptFile - CurDevVariations
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 LoadScriptFile-->
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 Login CiscoRouter: rnh01prtr01
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 Waiting for command prompt
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 Login to rnh01prtr01 was successful
      2019-03-06 13:54:15 4-Debug 1 rnh01prtr01 DeviceHostnameID: rnh01prtr01
      2019-03-06 13:54:16 4-Debug 1 rnh01prtr01 Waiting for an echo of term len 0 command
      2019-03-06 13:54:16 4-Debug 1 rnh01prtr01 Waiting for an echo of show config command
      2019-03-06 13:54:16 4-Debug 1 rnh01prtr01 Waiting for configuration data
      2019-03-06 13:54:16 3-Info 1 rnh01prtr01 Backup Running Config results: OK
      2019-03-06 13:54:16 4-Debug 1 rnh01prtr01 Disconnected from rnh01prtr01.prd.nextraq.com
      2019-03-06 13:54:16 3-Info 0 CatTools Service All threads have finished. Now processing results...

       

       

       

       

      When editing the device, I can click on the Telnet/SSH button and successfully log into the device and issue a show config.  Any ideas why this is failing.

        • Re: Support for IOS XE? config is failing to be captured
          robert.adams

          I got it working on my IOS-XE router by setting the username and password prompts on the prompts tab.  The same prompt exists for My Nexus switches running NX-OS and the job worked the first time I ran it but subsequent runs get the messages "Did not receive command prompt after connecting via SSH".  I also was getting bad ssh version so I set the method to SSH2-nopty which allowed it to connect the first time I tried it.  Any thoughts here?