11 Replies Latest reply: Dec 1, 2011 11:53 PM by Steve Welsh RSS

Did not receive VTY entry prompt from HP

Hi

I am new to Cattools

I am trying to backup configuration on my HP ProCurve switchs (mainly 2510 and 2626)

I got "Did not receive VTY entry prompt from HP" when trying to do Device.Backup.Running.Config.

The switch is default configured with no password.

Debug log

--------------------


<NEWSESSION CatTools 3.5.0 10-11-2010 13:39:14>
<PROTOCOL=Telnet>
<DEVICE TYPE=HP.Switch.2500>
<ACTIVITY TYPE=Device.Backup.Running Config>
<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
<USERS NAME FOR DEVICE=SW12>
<C OK 13:39:14><R-13:39:14>[27][2J[27][?7l[27][3;23r[27][?6l[27][1;1H[27][?25l[27][1;1HProCurve J9279A Switch 2510G-24[13][10][13]Software revision Y.11.16[13][10][13][13][10][13]Copyright (C) 1991-2009 Hewlett-Packard Co.  All Rights Reserved.[10][13][10][13]                           RESTRICTED RIGHTS LEGEND[10][13][10][13] Use, duplication, or disclosure by the Government is subject to restrictions[10][13] as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and[10][13] Computer Software clause at 52.227-7013.[10][13][10][13]         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303[10][13][10][13]We'd like to keep you up to date about:[10][13]  * Software feature updates[10][13]  * New product announcements[10][13]  * Special events[10][13][10][13]Please register your products now at:  www.ProCurve.com[10][13][10][13][10][13][27][1;24r[27][1;1H
================================================================================
WFMDRetVal=1 Waiting for: "ress any key to continue"
WFMDRetVal=2 Waiting for: "Password required, but none set"
WFMDRetVal=3 Waiting for: "Password:"
WFMDRetVal=4 Waiting for: "Username:"
WFMDBuffer="[27][2j[27][?7l[27][3;23r[27][?6l[27][1;1h[27][?25l[27][1;1hprocurve j9279a switch 2510g-24[13][10][13]software revision y.11.16[13][10][13][13][10][13]copyright (c) 1991-2009 hewlett-packard co.  all rights reserved.[10][13][10][13]                           restricted rights legend[10][13][10][13] use, duplication, or disclosure by the government is subject to restrictions[10][13] as set forth in subdivision (b) (3) (ii) of the rights in technical data and[10][13] computer software clause at 52.227-7013.[10][13][10][13]         hewlett-packard company, 3000 hanover st., palo alto, ca 94303[10][13][10][13]we'd like to keep you up to date about:[10][13]  * software feature updates[10][13]  * new product announcements[10][13]  * special events[10][13][10][13]please register your products now at:  www.procurve.com[10][13][10][13][10][13][27][1;24r[27][1;1h"
================================================================================

 
  • Re: Did not receive VTY entry prompt from HP

    HI chrsm-

    I checked our support logs and found a similar issue to yours. I don't know if this applies to your situation, but clicking Telnet seems to fix the issue when CatTools hasn't connected in a while.

    Barring that, you can open a support ticket. Here's what to prepare to speed the support process:

    1. Add a "Device.ConnectivityTest.Login" Activity to CatTools.
    2. Add 'OHCBC2_SW2' to the 'Devices' tab of this Activity.
    3. On the 'Options' tab, check both boxes.
    4. Click OK.
    5. Delete everything in \program files\CatTools3\Debug\.
    6. Click "File -> Enable capture mode" to enable it.
    7. Run the "Device.ConnectivityTest.Login" Activity.
    8. Zip up the contents of "\program files\CatTools3\Debug\".
    9. When you open a support ticket, you can upload these files.

    Let me know if that works for you.

    M

    • Re: Did not receive VTY entry prompt from HP
      Steve Welsh

      The problem here is that normally you'd get a 'Press any key to continue' type message from the device, which is one of the items CatTools is waiting on.

      It appears that your device is responding with some message about registering your product with HP:

      We'd like to keep you up to date about:
        * Software feature updates
        * New product announcements
        * Special events

      Please register your products now at: 
      www.ProCurve.com

      The device appears to then wait at this prompt.  If you can disable this message (or maybe register the product to see if it then disappears), then things should hopefully then run as normal and CatTools will be able to login successfully.

      Regards,

      Steve



      • Re: Did not receive VTY entry prompt from HP

        Hi

        It does show the "Press any key to continue" at the end of the text. When I then press "any key" it returns to the CLI console.

        The text showed below is commend for all my HP switch's.

         

        When I look into the logfile it show Waiting for: "ress any key to continue" and not "Press any key to continue". Is that a bug ?

         

        regards Christian

        -------------------------------------------------------

        ProCurve J9279A Switch 2510G-24
        Software revision Y.11.16

        Copyright (C) 1991-2009 Hewlett-Packard Co.  All Rights Reserved.

                                   RESTRICTED RIGHTS LEGEND

         Use, duplication, or disclosure by the Government is subject to restrictions
         as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and
         Computer Software clause at 52.227-7013.

                 HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303

        We'd like to keep you up to date about:
          * Software feature updates
          * New product announcements
          * Special events

        Please register your products now at:  www.ProCurve.com





        Press any key to continue

        ---------------------------------------------------------

        • Re: Did not receive VTY entry prompt from HP
          Steve Welsh

          Hi Christian,

          For the HP script, CatTools will wait for up to 30 seconds for the 'press any key to continue' prompt from the device.   Note: it doesn't matter that the script is looking for 'ress any key to continue'; this will still work just fine - so not a bug :)

          If your device needs no user keyboard interaction between the 

              We'd like to keep you up to date about:
                * Software feature updates
                * New product announcements
                * Special events

              Please register your products now at:  www.ProCurve.com


          and

              Press any key to continue

          prompts, then there must be a delay greater than 30 seconds which is causing this problem, otherwise CatTools should be working fine.
          Regards,
          Steve

        • Re: Did not receive VTY entry prompt from HP

          When I do an telnet to the switch it shows "Press any key to continue" immediately. I does not wait more the 30 secounds 

           

          • Re: Did not receive VTY entry prompt from HP
            Steve Welsh

            Interesting.

            In the last CatTools device capture log you attached, the device DID indeed send the 'Press any key to continue' prompt (it didn't in the original capture).

            However, the capture log is also showing me that CatTools is responding to this by sending a Carriage Return (CR).  You can see this in the following log snippet: 

             [24;1HPress any key to continue[27][24;1H[27][?25h[27][24;27H<W-17:15:54>[13]

            The device then continues responding, but there appears to be no authentication prompts (i.e. Username: or Password:) which CatTools is expecting to find.

            Instead it looks like we just reach the device hostname prompt of SW12#

            <R-17:15:54>[27][2J[27][?7l[27][1;24r[27][?6l[27][24;27H[27][1;24r[27][24;1H[27][24;1H[27][2K[27][24;1H[27][?25h[27][24;1H[27][24;1HSW12# [27][24;1H[27][24;7H[27][24;1H[27][?25h[27][24;7H

             

            Can you try in the 'Passwords' tab of the device set-up un-ticking all of the 3 tick box options at the bottom of the tab, i.e. 

                Initial login requires password: 

                Initial login requires  username/password: 

                Enable mode requires  username/password:

            Then re-run your activity to see if this now works.

             

            Regards,

            Steve

            • Re: Did not receive VTY entry prompt from HP
              evang 999

              Steve:

              This solution fixes the case where the switch has no passwords set. We have a lot of ProCurves (models 2800, 3500, 5400) that CatTools fails to back up.  Even when I remove the Please register text (as described below).

              I'm interested in finding a solution for them. 

              Evan

              PS: To get rid of the text about registering the switch, configure as "no banner motd". 

    • Re: Did not receive VTY entry prompt from HP

      The debug show the same. It its the free copy og CatTools I am using, so I cant create an support ticket

      Here is the debug

       


      <NEWSESSION CatTools 3.5.0 22-11-2010 17:15:52>
      <PROTOCOL=Telnet>
      <DEVICE TYPE=HP.Switch.2500>
      <ACTIVITY TYPE=Device.ConnectivityTest.Login>
      <ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.ConnectivityTest.Login.txt>
      <USERS NAME FOR DEVICE=SW12>
      <C OK 17:15:53><R-17:15:53>[27][2J[27][?7l[27][3;23r[27][?6l[27][1;1H[27][?25l[27][1;1HProCurve J9279A Switch 2510G-24[13][10][13]Software revision Y.11.16[13][10][13][13][10][13]Copyright (C) 1991-2009 Hewlett-Packard Co.  All Rights Reserved.[10][13][10][13]                           RESTRICTED RIGHTS LEGEND[10][13][10][13] Use, duplication, or disclosure by the Government is subject to restrictions[10][13] as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and[10][13] Computer Software clause at 52.227-7013.[10][13][10][13]         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303[10][13][10][13]We'd like to keep you up to date about:[10][13]  * Software feature updates[10][13]  * New product announcements[10][13]  * Special events[10][13][10][13]Please register your products now at:  www.ProCurve.com[10][13][10][13][10][13][27][1;24r[27][1;1H<R-17:15:53>[27][1;24r[27][24;1H[27][24;1HPress any key to continue[27][24;1H[27][?25h[27][24;27H<W-17:15:54>[13]<R-17:15:54>[27][2J[27][?7l[27][1;24r[27][?6l[27][24;27H[27][1;24r[27][24;1H[27][24;1H[27][2K[27][24;1H[27][?25h[27][24;1H[27][24;1HSW12# [27][24;1H[27][24;7H[27][24;1H[27][?25h[27][24;7H
      ================================================================================
      WFMDRetVal=1 Waiting for: "ress any key to continue"
      WFMDRetVal=2 Waiting for: "Password required, but none set"
      WFMDRetVal=3 Waiting for: "Password:"
      WFMDRetVal=4 Waiting for: "Username:"
      WFMDBuffer="[27][2j[27][?7l[27][1;24r[27][?6l[27][24;27h[27][1;24r[27][24;1h[27][24;1h[27][2k[27][24;1h[27][?25h[27][24;1h[27][24;1hsw12# [27][24;1h[27][24;7h[27][24;1h[27][?25h[27][24;7h"
      ================================================================================
      <D 17:16:24>
      <SCRIPT VALUES>
      <HOSTNAME="">
      <PROMPT VTY="">
      <PROMPT ENABLE="">
      <PROMPT CONFIG="">

  • Re: Did not receive VTY entry prompt from HP
    moadil

     Is there anyone help me to solve below porblem??

    I am trying to backup configuration on my Dell 6224P switches

    I got "Did not receive VTY entry prompt from device" when trying to do Device.Backup.Running.Config.

    The switch is having user name and password to login through telnet but no password if we connect from console.

     

    Debug log

    <NEWSESSION CatTools 3.6.0 9/11/2011 11:14:58 AM>
    <PROTOCOL=Telnet>
    <DEVICE TYPE=Dell.Switch.CLI>
    <ACTIVITY TYPE=Device.Backup.Running Config>
    <ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
    <USERS NAME FOR DEVICE=ABCD>
    <C OK 11:14:58 AM><R-11:14:58 AM>[13][10]User:
    ================================================================================
    WFMDRetVal=1 Waiting for: "Password:"
    WFMDRetVal=2 Waiting for: "Password required, but none set"
    WFMDRetVal=3 Waiting for: "abcdef"
    WFMDBuffer="[13][10]user:"
    ================================================================================
    <R-11:24:59 AM>[13][10]*** IDLE TIMEOUT ***[13][10]<D 11:24:59 AM>
    <SCRIPT VALUES>
    <HOSTNAME="">
    <PROMPT VTY="">
    <PROMPT ENABLE="">
    <PROMPT CONFIG="">

    I made changes and provided passwords and prompts

    New Debug log


    <NEWSESSION CatTools 3.6.0 9/11/2011 11:28:44 AM>
    <PROTOCOL=Telnet>
    <DEVICE TYPE=Dell.Switch.CLI>
    <ACTIVITY TYPE=Device.Backup.Running Config>
    <ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
    <USERS NAME FOR DEVICE=WDS-KA-SW01>
    <C OK 11:28:44 AM><R-11:28:44 AM>[13][10]User:
    ================================================================================
    WFMDRetVal=1 Waiting for: "xYCz1@22"
    WFMDRetVal=2 Waiting for: "Password required, but none set"
    WFMDRetVal=3 Waiting for: "abcdef"
    WFMDBuffer="[13][10]user:"
    ================================================================================
    <R-11:38:45 AM>[13][10]*** IDLE TIMEOUT ***[13][10]<D 11:38:45 AM>
    <SCRIPT VALUES>
    <HOSTNAME="">
    <PROMPT VTY="">
    <PROMPT ENABLE="">
    <PROMPT CONFIG="">

     I also tried below by clicking

     initial login require pasword

    Initial login requires username/password

    Enable mode use AAA suername/password

     

     Cat tool is working with cisco device but not working with Dell switches.

     Is there anyone help me to solve this porblem??