5 Replies Latest reply on Jul 27, 2017 10:09 AM by christophe guengant

    Enterasys Securestack Backup failing

    christophe guengant

      Hello,

       

      i'm trying to backup my Enterasys Securestack B5 switch with CatTools 3.11 but it fails. It gets stuck as you can see in the debug below :

       

       

      <NEWSESSION CatTools 3.11.2 25/07/2017 16:30:50>

      <PROTOCOL=SSH2>

      <DEVICE TYPE=Enterasys.Securestack>

      <ACTIVITY TYPE=Device.Backup.Running Config>

      <ACTIVITY SCRIPT=C:\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>

      <USERS NAME FOR DEVICE=switch-nsi-03>

      <C OK 16:30:51>

      <R-16:30:51>[13][10][13][10]Enterasys B5 [13][10]Command Line Interface [13][10][13][10]Enterasys Networks, Inc. [13][10]9 Northeastern Boulevard[13][10]Salem, NH 03079 U.S.A. [13][10][13][10]Phone: +1 603 952 5000 [13][10]E-mail: support@enterasys.com [13][10]WWW: http://www.enterasys.com [13][10][13][10](c) Copyright Enterasys Networks, Inc. 2013[13][10][13][10]

      <R-16:30:51>Chassis Serial Number:      10201410905A[13][10]Chassis Firmware Revision:  06.71.03.0025[13][10][13][10]Last successful login : MON JUL 24 13:25:34 2017[13][10]Failed login attempts since last login : 0[13][10][13][10]Stack Enterasys backbone ASTEN NSI Shelter Relecq[13][10]switch-nsi-03(su)->

      <W-16:30:51>[13]

      <R-16:30:51>[13][10]switch-nsi-03(su)->

      <W-16:30:51>show config all

      <R-16:30:51>s

      <R-16:30:51>how config all

      <W-16:30:52>[13]

      <R-16:30:52>[13][10][10]begin[13][10]![13][10]#***** ALL (DEFAULT and NON-DEFAULT) CONFIGURATION *****[13][10]![13][10]![13][10]# Firmware Revision:  06.71.03.0025[13][10]![13][10]#ip[13][10]set ip protocol none[13][10]set ip address 10.143.0.244 mask 255.255.255.0 gateway 10.143.0.160[13][10]![13][10][13][10]#security[13][10]set security profile normal[13][10]![13][10][13][10]#system[13][10]set switch member 1 5 [13][10]set switch member 2 5 [13][10]set switch description 1 "Enterasys Networks, Inc. B5 -- Model B5K125-24"[13][10]set switch description 2 "Enterasys Networks, Inc. B5 -- Model B5K125-24"[13][10]set system name "Stack NSI Enterasys backbone ASTEN NSI"[13][10]set system location "Asten NSI Gouesnou salle serveurs"[13][10]set system contact "Stephane Saintilan"[13][10]set system fault-bias default trap disable [13][10]set system password-resetbutton enable[13][10]set system temperature syslog disable trap disable overtemp-threshold 100[13][10]set system utilization threshold 800[13][10]set system password aging disable warning-period 20 grace-period 0 grace-limit 0 history 0 length 7 min-required-chars uppercase 0 lowercase 0 numeric 0 special 0 require-at-creation no allow-duplicates yes substring-match-len 0 allow-repeating-chars yes change-first-login no change-frequency 0 [13][10]set system login admin super-user enable  password :3b29b72c5860b3d2b382dd7aea6611563f9aad71e7ca7a1a4667b40bbe07d727b57c0d30cf3af20233: local-only no aging 0 simultaneous-logins 0 [13][10]set system login asten super-

      ...

      (A lot more lines i deleted)

      ...

      <R-10:58:05>[13][10]set vlanauthorization egress untagged ge.2.6[13][10]set vlanauthorization egress untagged ge.2.7[13][10]set vlanauthorization egress untagged ge.2.8[13][10]set vlanauthorization egress untagged ge.2.9[13][10]set vlanauthorization egress untagged ge.2.10[13][10]set vlanauthorization egress untagged ge.2.11[13][10]set vlanauthorization egress untagged ge.2.12[13][10]set vlanauthorization egress untagged ge.2.13[13][10]set vlanauthorization egress untagged ge.2.14[13][10]set vlanauthorization egress untagged ge.2.15[13][10]set vlanauthorization egress untagged ge.2.16[13][10]set vlanauthorization egress untagged ge.2.17[13][10]set vlanauthorization egress untagged ge.2.18[13][10]set vlanauthorization egress untagged ge.2.19[13][10]set vlanauthorization egress untagged ge.2.20[13][10]set vlanauthorization egress untagged ge.2.21[13][10]set vlanauthorization egress untagged ge.2.22[13][10]set vlanauthorization egress untagged ge.2.23[13][10]set vlanauthorization egress untagged ge.2.24[13][10]set vlanauthorization egress untagged tg.2.25[13][10]set vlanauthorization egress untagged tg.2.26[13][10]set vlanauthorization egress untagged lag.0.1[13][10]set vlanauthorization egress untagged lag.0.2[13][10]set vlanauthorization egress untagged lag.0.3[13][10]set vlanauthorization egress untagged lag.0.4[13][10]set vlanauthorization egress untagged lag.0.5[13][10]set vlanauthorization egress untagged lag.0.6[13][10]![13][10][13][10]#webview[13][10]set webview disable[13][10]![13][10][13][10]#width[13][10]set width 79 default[13][10]![13][10]end[13][10][10][13][10]switch-nsi-03(su)->

       

      ================================================================================

      WFMDRetVal=1 Waiting for: "--More-- <space> next page, <cr> one line, <q> quit"

      WFMDRetVal=2 Waiting for: "% Invalid input detected at"

      WFMDRetVal=3 Waiting for: "% Incomplete command"

      WFMDRetVal=4 Waiting for: "(y/n) ["

      WFMDRetVal=5 Waiting for: "File transfer operation completed successfully"

      WFMDRetVal=18 Waiting for: "switch-nsi-03(su)-->"

       

       

       

      The Report result :

       

      It seems the backup script doesn't know what to do with the show config all.

      I did a "show config all" manually from my switch and i didn't get as much informations than in the debug file. There is way less informations.

       

      The Device type is spot on, Enterasys Securestack B5 :

       

      Can you help me get past this error ?

       

       

      thanks in advance.

        • Re: Enterasys Securestack Backup failing
          bkyle

          You will want to will want to click on the Variations tab, and then the Use Variations button.  Click the Prompts tab, and select Paging prompt option, like in this screenshot:

           

          • Re: Enterasys Securestack Backup failing
            bkyle

            Also, it looks like CatTools is looking for switch-nsi-03(su)-->, but the actual prompt is switch-nsi-03(su)->.

              • Re: Enterasys Securestack Backup failing
                christophe guengant

                I did as you suggested, to no avail, the script gets stuck again.

                I tried send command "show config all" from the CLI interface of the switch. It doesn't ask for --more-- or anything else. It straight displays all the configuration.

                Changing Promt doesn't work neither :

                 

                ...

                horization enable lag.0.3[13][10]set vlanauthorization enable lag.0.4[13][10]set vlanauthorization enable lag.0.5[13][10]set vlanauthorization enable lag.0.6[13][10]set vlanauthorization egress untagged ge.1.1[13][10]set vlanauthorization egress untagged ge.1.2[13][10]set vlanauthorization egress untagged ge.1.3[13][10]set vlanauthorization egress untagged ge.1.4[13][10]set vlanauthorization egress untagged ge.1.5[13][10]set vlanauthorization egress untagged ge.1.6[13][10]set vlanauthorization egress untagged ge.1.7[13][10]set vlanauthorization egress untagged ge.1.8[13][10]set vlanauthorization egress untagged ge.1.9[13][10]set vlanauthorization egress untagged ge.1.10[13][10]set vlanauthorization egress untagged ge.1.11[13][10]set vlanauthorization egress untagged ge.1.12[13][10]set vlanauthorization egress untagged ge.1.13[13][10]set vlanauthorization egress untagged ge.1.14[13][10]set vlanauthorization egress untagged ge.1.15[13][10]set vlanauthorization egress untagged ge.1.16[13][10]set vlanauthorization egress untagged ge.1.17[13][10]set vlanauthorization egress untagged ge.1.18[13][10]set vlanauthorization egress untagged ge.1.19[13][10]set vlanauthorization egress untagged ge.1.20[13][10]set vlanauthorization egress untagged ge.1.21[13][10]set vlanauthorization egress untagged ge.1.22[13][10]set vlanauthorization egress untagged ge.1.23[13][10]set vlanauthorization egress untagged ge.1.24[13][10]set vlanauthorization egress untagged tg.1.25[13][10]set vlanauthorization egress untagged tg.1.26[13][10]set vlanauthorization egress untagged ge.2.1[13][10]set vlanauthorization egress untagged ge.2.2[13][10]set vlanauthorization egress untagged ge.2.3[13][10]set vlanauthorization egress untagged ge.2.4[13][10]set vlanauthorization egress untagged ge.2.5

                <R-17:44:26>[13][10]set vlanauthorization egress untagged ge.2.6[13][10]set vlanauthorization egress untagged ge.2.7[13][10]set vlanauthorization egress untagged ge.2.8[13][10]set vlanauthorization egress untagged ge.2.9[13][10]set vlanauthorization egress untagged ge.2.10[13][10]set vlanauthorization egress untagged ge.2.11[13][10]set vlanauthorization egress untagged ge.2.12[13][10]set vlanauthorization egress untagged ge.2.13[13][10]set vlanauthorization egress untagged ge.2.14[13][10]set vlanauthorization egress untagged ge.2.15[13][10]set vlanauthorization egress untagged ge.2.16[13][10]set vlanauthorization egress untagged ge.2.17[13][10]set vlanauthorization egress untagged ge.2.18[13][10]set vlanauthorization egress untagged ge.2.19[13][10]set vlanauthorization egress untagged ge.2.20[13][10]set vlanauthorization egress untagged ge.2.21[13][10]set vlanauthorization egress untagged ge.2.22[13][10]set vlanauthorization egress untagged ge.2.23[13][10]set vlanauthorization egress untagged ge.2.24[13][10]set vlanauthorization egress untagged tg.2.25[13][10]set vlanauthorization egress untagged tg.2.26[13][10]set vlanauthorization egress untagged lag.0.1[13][10]set vlanauthorization egress untagged lag.0.2[13][10]set vlanauthorization egress untagged lag.0.3[13][10]set vlanauthorization egress untagged lag.0.4[13][10]set vlanauthorization egress untagged lag.0.5[13][10]set vlanauthorization egress untagged lag.0.6[13][10]![13][10][13][10]#webview[13][10]set webview disable[13][10]![13][10][13][10]#width[13][10]set width 79 default[13][10]![13][10]end[13][10][10][13][10]switch-nsi-03(su)->

                 

                ================================================================================

                WFMDRetVal=1 Waiting for: "--More--"

                WFMDRetVal=2 Waiting for: "% Invalid input detected at"

                WFMDRetVal=3 Waiting for: "% Incomplete command"

                WFMDRetVal=4 Waiting for: "(y/n) ["

                WFMDRetVal=5 Waiting for: "File transfer operation completed successfully"

                WFMDRetVal=18 Waiting for: "switch-nsi-03(su)-->"

                 

                 

                I tried changing prompt here :

                No succes

                 

                and there :

                 

                 

                No better.

                 

                Any other idea ?

              • Re: Enterasys Securestack Backup failing
                bkyle

                You can try "switch-nsi-03(su)->" for the prompt name.

                • Re: Enterasys Securestack Backup failing
                  christophe guengant

                  Allright, i finaly solved my problem, here is how.

                  As you said Blyke the script was expecting switch-nsi-03(su)--> prompt but the right prompt was switch-nsi-03(su)->

                   

                  In variations > Full Prompts tab of the device, i did as below :

                   

                  The result is :

                   

                  <W-14:35:13>[13]

                  <R-14:35:14>[13][10]switch-nsi-03(su)->

                  <W-14:35:14>exit[13]

                  <D 14:35:14>

                  <SCRIPT VALUES>

                  <HOSTNAME="switch-nsi-03(su)">

                  <PROMPT VTY="switch-nsi-03(su)->">

                  <PROMPT ENABLE="switch-nsi-03(su)->">

                  <PROMPT CONFIG="switch-nsi-03(su)->">

                   

                   

                   

                  Thanks for your help.