We are running CaTTools 3.11 for backing up several of our Cisco switches and it is working great. However, we also have a bunch of HP switches that we are also trying to use CaTTools with but I'm having trouble getting it working...
Started trying on a HP J9827a switch with 4 cards in it.
I've messed around with the different HP switch options including "other" and the variations...
From the debug log it looks to me like its dumping all the commands early not waiting for the prompts. How do I make it wait for the appropriate parts?
we dont have logins setup and that is all unchecked in the setup...
What am I missing? (debug below)
<NEWSESSION CatTools 3.11.2 6/7/2018 3:09:58 PM>
<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=Building M Old Computer Room HP 48 port>
<C OK 3:09:58 PM>
<R-3:09:59 PM>HP J9850A Switch 5406Rzl2[13][13][10]Software revision KB.16.05.0004[13][13][10][13][13][10] (C) Copyright 2017 Hewlett Packard Enterprise Development LP[13][10][13][10] RESTRICTED RIGHTS LEGEND[13][10] Confidential computer software. Valid license from Hewlett Packard Enterprise[13][10] Development LP required for possession, use or copying. Consistent with FAR[13][10] 12.211 and 12.212, Commercial Computer Software, Computer Software[13][10] Documentation, and Technical Data for Commercial Items are licensed to the[13][10] U.S. Government under vendor's standard commercial license.[13][10][13][10]We'd like to keep you up to date about:[13][10] * Software feature updates[13][10] * New product announcements[13][10] * Special events[13][10]Please register your products now at: www.hpe.com/networking/register[13][10][13][10]Press any key to continue
<W-3:09:59 PM>[13]
<R-3:09:59 PM>[27][?6l[27][1;24r[27][?7h[27][2J[27][1;1H[27][1920;1920H[27][6n[27][1;1HYour previous successful login (as manager) was on 2018-06-07 18:50:46 [13][10] from 192.168.20.114[13][10][27][1;24r[27][24;1H[27][24;1H[27][2K[27][24;1H[27][?25h[27][24;1H[27][24;1HHP POE M Building Switch# [27][24;1H[27][24;27H[27][24;1H[27][?25h[27][24;27H
<W-3:10:00 PM>[13]
<R-3:10:00 PM>[27][1;0H[27][1M[27][24;1H[27][1L[27][24;27H[27][24;1H[27][2K[27][24;1H[27][?25h[27][24;1H[27][1;24r[27][24;1H[27][1;24r[27][24;1H[27][24;1H[27][2K[27][24;1H[27][?25h[27][24;1H[27][24;1HHP POE M Building Switch# [27][24;1H[27][24;27H[27][24;1H[27][?25h[27][24;27H
<W-3:10:00 PM>enable
<R-3:10:00 PM>enable
<W-3:10:00 PM>[13]
<R-3:10:00 PM>Invalid input: enable[13][10]HP POE M Building Switch#
<W-3:10:01 PM>no page
<R-3:10:01 PM>no page
<W-3:10:01 PM>[13]
<R-3:10:01 PM>HP POE M Building Switch#
<W-3:10:01 PM>yes
<R-3:10:01 PM>yes
<W-3:10:01 PM>[13]
<R-3:10:01 PM>Invalid input: yes[13][10]HP POE M Building Switch#
================================================================================
WFMDRetVal=1 Waiting for: "Running configuration"
WFMDRetVal=2 Waiting for: "Building configuration..."
WFMDBuffer="yesinvalid input: yes[13][10]hp poe m building switch# "
================================================================================
<W-3:10:31 PM>page[13][10]
<R-3:10:31 PM>pageHP POE M Building Switch#
<W-3:10:35 PM>exit
<R-3:10:35 PM>exit
<W-3:10:35 PM>[13][10]
<R-3:10:35 PM>HP POE M Building Switch>
<W-3:10:36 PM>exit
<R-3:10:36 PM>exit
<W-3:10:37 PM>[13][10]
<R-3:10:37 PM>Do you want to log out (y/n)?
================================================================================
WFMDRetVal=1 Waiting for: "Invalid input:"
WFMDRetVal=2 Waiting for: "[confirm]"
WFMDRetVal=3 Waiting for: "[y/n]?"
WFMDRetVal=4 Waiting for: "Delete filename ["
WFMDRetVal=5 Waiting for: "Writing System Software to FLASH..."
WFMDRetVal=6 Waiting for: "New password"
WFMDRetVal=7 Waiting for: "Destination filename?"
WFMDRetVal=8 Waiting for: "Address of remote host?"
WFMDRetVal=9 Waiting for: "TFTP Server IP:"
WFMDRetVal=10 Waiting for: "TFTP Destnation file name:"
WFMDRetVal=11 Waiting for: "Rebooting switch"
WFMDRetVal=12 Waiting for: "HP POE M Building Switch>"
WFMDRetVal=13 Waiting for: "HP POE M Building Switch#"
WFMDBuffer="exitdo you want to log out (y/n)? "
================================================================================
<D 3:10:47 PM>
<SCRIPT VALUES>
<HOSTNAME="HP POE M Building Switch">
<PROMPT VTY="HP POE M Building Switch>">
<PROMPT ENABLE="HP POE M Building Switch#">
<PROMPT CONFIG="HP POE M Building Switch(config)#">