I am new to CatTools and have created several Devices and Activities (Device.CLI.Send commands) and wondered if CatTools created a script that you can export to maybe a text file for these. I am using CatTools to run some CLI commands to login in to our Citrix Netscaler and execute a failover of several VIPS from our primary site to our Disaster Recovery site and vice versa. We would like to automate this proceedure and so I was wondering if CatTools creates a script for the procedures it executes?
New to CatTools - Scripts
HP H3C Devices backup Running config
Hi,
we use the Huawei also for the H3C switches, but ""screen-length disable" is missing when executing the "display current-configuration".
Now you can see the some strange behavior in the output and makes complicated.
...
irf auto-merge enable
[16D [16D undo irf link-delay
irf member 1 priority 32
...
#
undo ip http enable
[16D [16D#
mirroring-group 1 local
Any Idea ?
Linux Jump Server
Greetings,
I'm attempting to backup our devices that are accessible via a Linux server and according to the CatTools help section, sited bellow, under "Connect via" this should be achievable:
For example, if your device is behind an access list, but a Linux box has access to that device, you can connect via the Linux box first, then launch a telnet or SSH session to the destination device from there.
So looks like this: http://i.imgur.com/IFoVOYz.png
And it's obvious looking at the debug log that when the back connects to the Linux server there are no issue, it's from the Linux to the Cisco device there is an issue and it appear that issue is with the ssh command it's passing:
-8:55:20 PM>ssh -2 -l x.x.x.x
<R-8:55:20 PM>ssh -2 -l x.x.x.x
<W-8:55:20 PM>[13]
<R-8:55:20 PM>[13][10]usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec][13][10]
<W-5:41:52 PM>ssh -2 -l x.x.x.x
<R-5:41:52 PM>ssh -2 -l x.x.x.x
<W-5:41:52 PM>[13]
It's attempting to use a Cisco ssh command and not a a Linux/Bash ssh syntax which looks like this username@<IP Address>
Am I missing something in the config?
Thanks for your suggestions.
F5 BigIP GTM
Is anyone currently using CatTools to backup their F5 GTM Devices? We are having issues getting a backup. It works fine when profiled as a F5.BigIP however this is only backing up the bigip.conf and not the Zone files. When you switch the device type to F5.BigIp.GTM we get the following error -
2010/03/27 02:26:49 Default NS1.ECOM.COM 10.0.0.57 F5.BigIP.GTM Connect failed:30002:Please set your login for selected protocol. Unknown
Any thoughts?
Did not receive expected response to command: show running-config
I have a question, I have 2 Cisco WiSM (Cisco 6500 blade) that I am trying to use Cat tools to backup the config files on a regular schedule. I have run into the following error when trying to run the activity: "Did not receive expected response to command: configshow" and then Cat tools disconnects from the switch. I used telnet to issue the show running-config command and what I noticed is right after the show running-config command is issued the switch prompts with: "Press Enter to continue or <CTRL-Z> to abort" or "--More-- or (q)uit " and sits there until there is user intervension. How can I automate the CR to continue command so I can use Cattools to pull the configuration of these switches? Any help would be greatly appreciated.
Thanks
Watchguard Firebox and Kiwi CatTools
Just curious if anyone has or knows of a way to use Kiwi CatTools with a Watchguard Firebox?
SSH Devices - Please set your login for selected Protocol
Hi,
I am new on the forum and this is my first post. I have scanned through several pages and not found the solution to this.
I am currently using v3.3.14 CatTools and previously our devices were telnet and are now SSH2. When trying to add the devices to take backup I am getting the error 30002: Please set your login for selected protocol.
I have tried changing many settings and have applied changing the AAA and etc but I am getting nothing. Telnet devices are being backed up but no luck with SSH.
What are my options? What am i doing wrong?
Connect failed:(30044) No available encryption algorithms match with the server.
Hi all,
We have installed new Cisco 2960 switch in our building to replace the old faulty one.
When trying to backup the config using CatTools, I am getting the error "Connect failed:(30044) No available encryption algorithms match with the server."
The config is identical to the old switch. Is there something else that I need to configure on the switch for the CatTools to backup the config?
Any help would be greatly appreciated. Please let me know if you require more info.
Cheers,
Vig.
Failed to download device config -Cisco 2921
I am trying to take device.backup.running config but fail and give error message failed to download device config- Cisco 2921
<NEWSESSION CatTools 3.6.0 15/12/2011 10:34:18 AM>
<PROTOCOL=Telnet>
<DEVICE TYPE=Cisco.Router.General>
<ACTIVITY TYPE=Device.Backup.Running Config>
<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
<USERS NAME FOR DEVICE=diconqyatr01c29>
<C OK 10:34:18 AM><R-10:34:21 AM>[13][10] ******************************************************************************** [13][10] * Access to this computer system is limited to authorised users only. * [13][10] * Unauthorised users may be subject to prosecution under the Crimes * [13][10] * Act or State legislation * [13][10] * * [13][10] * Please note, ALL CUSTOMER DETAILS are confidential and must * [13][10] * not be disclosed. * [13][10] ******************************************************************************** [13][10][13][10][13][10][13][10][13][10]User Access Verification (ISP V1)[13][10][13][10]Username: <W-10:34:21 AM>sdorney[13]<R-10:34:21 AM>sdorney<R-10:34:21 AM>[13][10]Password: <W-10:34:21 AM>W9pqMep2[13]<R-10:34:22 AM>[13][10]Signon successful.[13][10]Signon successful.[13][10][13][10]diconqyatr01c29#<W-10:34:22 AM>[13]<R-10:34:22 AM>[13][10]diconqyatr01c29#<W-10:34:22 AM>enable<R-10:34:22 AM>enable<W-10:34:23 AM>[13]<R-10:34:23 AM>[13][10]diconqyatr01c29#<W-10:34:23 AM>term no mon<R-10:34:23 AM>term no mon<W-10:34:23 AM>[13]<R-10:34:23 AM>[13][10]<R-10:34:23 AM>Command authorization failed.[13][10][13][10]diconqyatr01c29#<W-10:34:23 AM>term len 0<R-10:34:23 AM>term len 0<W-10:34:23 AM>[13]<R-10:34:24 AM>[13][10]<R-10:34:25 AM>Command authorization failed.[13][10][13][10]diconqyatr01c29#<W-10:34:25 AM>show running<R-10:34:25 AM>show running<W-10:34:25 AM>[13]<R-10:34:25 AM>[13][10]<R-10:34:26 AM>Building configuration...[13][10]<R-10:34:26 AM>[13][10]Current configuration : 10630 bytes[13][10]![13][10]! No configuration change since last restart[13][10]! NVRAM config last updated at 23:37:01 UTC Wed Dec 14 2011[13][10]![13][10]version 15.0[13][10]service nagle[13][10]no service pad[13][10]service tcp-keepalives-in[13][10]service tcp-keepalives-out[13][10]service timestamps debug datetime msec show-timezone[13][10]service timestamps log datetime msec show-timezone[13][10]service password-encryption[13][10]service compress-config[13][10]![13][10]hostname diconqyatr01c29[13][10]![13][10]boot-start-marker[13][10]boot-end-marker[13][10]![13][10]logging buffered 16000[13][10]no logging console[13][10] --More--
================================================================================
WFMDRetVal=1 Waiting for: "[13][10]diconqyatr01c29#"
WFMDRetVal=2 Waiting for: "[10][00]diconqyatr01c29#"
WFMDRetVal=3 Waiting for: "[13][00]diconqyatr01c29#"
WFMDRetVal=4 Waiting for: "[10]diconqyatr01c29#"
WFMDRetVal=5 Waiting for: "[13]diconqyatr01c29#"
WFMDBuffer="current configuration : 10630 bytes[13][10]![13][10]! no configuration change since last restart[13][10]! nvram config last updated at 23:37:01 utc wed dec 14 2011[13][10]![13][10]version 15.0[13][10]service nagle[13][10]no service pad[13][10]service tcp-keepalives-in[13][10]service tcp-keepalives-out[13][10]service timestamps debug datetime msec show-timezone[13][10]service timestamps log datetime msec show-timezone[13][10]service password-encryption[13][10]service compress-config[13][10]![13][10]hostname diconqyatr01c29[13][10]![13][10]boot-start-marker[13][10]boot-end-marker[13][10]![13][10]logging buffered 16000[13][10]no logging console[13][10] --more-- "
================================================================================
<W-10:40:26 AM>[13]<R-10:40:26 AM>[08][08][08][08][08][08][08][08][08] [08][08][08][08][08][08][08][08][08]enable secret 5 $1$uGpo$gGc.YJD2ZRsZiKlO3lFEK0[13][10] --More--
================================================================================
WFMDRetVal=1 Waiting for: "diconqyatr01c29>"
WFMDRetVal=2 Waiting for: "diconqyatr01c29#"
WFMDRetVal=4 Waiting for: "(config)"
WFMDBuffer="[08][08][08][08][08][08][08][08][08] [08][08][08][08][08][08][08][08][08]enable secret 5 $1$ugpo$ggc.yjd2zrsziklo3lfek0[13][10] --more-- "
================================================================================
<W-10:40:56 AM>logout[13]<D 10:40:56 AM>
<SCRIPT VALUES>
<HOSTNAME="diconqyatr01c29">
<PROMPT VTY="diconqyatr01c29>">
<PROMPT ENABLE="diconqyatr01c29#">
<PROMPT CONFIG="">
<NEWSESSION CatTools 3.6.0 15/12/2011 10:46:54 AM>
<PROTOCOL=Telnet>
<DEVICE TYPE=Cisco.Router.General>
<ACTIVITY TYPE=Report.Version table>
<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Report.Version table.txt>
<USERS NAME FOR DEVICE=diconqyatr01c29>
<C OK 10:46:54 AM><R-10:46:55 AM>[13][10] ******************************************************************************** [13][10] * Access to this computer system is limited to authorised users only. * [13][10] * Unauthorised users may be subject to prosecution under the Crimes * [13][10] * Act or State legislation * [13][10] * * [13][10] * Please note, ALL CUSTOMER DETAILS are confidential and must * [13][10] * not be disclosed. * [13][10] ******************************************************************************** [13][10][13][10][13][10][13][10][13][10]User Access Verification (ISP V1)[13][10][13][10]Username: <W-10:46:55 AM>sdorney[13]<R-10:46:55 AM>sdorney<R-10:46:55 AM>[13][10]Password: <W-10:46:56 AM>W9pqMep2[13]<R-10:46:59 AM>[13][10]Signon successful.[13][10]Signon successful.[13][10][13][10]diconqyatr01c29#<W-10:47:00 AM>[13]<R-10:47:00 AM>[13][10]diconqyatr01c29#<W-10:47:00 AM>enable<R-10:47:00 AM>enable<W-10:47:00 AM>[13]<R-10:47:00 AM>[13][10]diconqyatr01c29#<W-10:47:00 AM>term no mon<R-10:47:00 AM>term no mo<R-10:47:00 AM>n<W-10:47:00 AM>[13]<R-10:47:00 AM>[13][10]<R-10:47:05 AM>diconqyatr01c29#<W-10:47:05 AM>term len 0<R-10:47:05 AM>term len 0<W-10:47:05 AM>[13]<R-10:47:05 AM>[13][10]<R-10:47:07 AM>Command authorization failed.[13][10][13][10]diconqyatr01c29#<W-10:47:07 AM>show version<R-10:47:07 AM>show version<W-10:47:07 AM>[13]<R-10:47:07 AM>[13][10]<R-10:47:09 AM>Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1)[13][10]Technical Support: http://www.cisco.com/techsupport[13][10]Copyright (c) 1986-2010 by Cisco Systems, Inc.[13][10]Compiled Thu 28-Oct-10 18:32 by prod_rel_team[13][10][13][10]ROM: System Bootstrap, Version 15.0(1r)M9, RELEASE SOFTWARE (fc1)[13][10][13][10]diconqyatr01c29 uptime is 6 weeks, 20 hours, 40 minutes[13][10]System returned to ROM by power-on[13][10]System restarted at 04:07:32 UTC Wed Nov 2 2011[13][10]System image file is "flash0:c2900-universalk9-mz.SPA.150-1.M4.bin"[13][10]Last reload type: Normal Reload[13][10][13][10][13][10]This product contains cryptographic features and is subject to United[13][10]States and local country laws governing import, export, transfer and[13][10]use. Delivery of Cisco cryptographic products does not imply[13][10]third-party authority to import, export, distribute or use encryption.[13][10]Importers, exporters, distributors and users are responsible for[13][10]compliance with U.S. and local country laws. By using this product you[13][10]agree to comply with applicable laws and regulations. If you are unable[13][10]to comply with U.S. and local laws, return this product immediately.[13][10] --More--
Script for HP/H3C Switches
Hi!
I'm trying to backup the config of our new HP (H3C) Switches (5120, 5800, 10500). The script I created out of the Custom.Template is not working. The prompt of the switches is "<SWITCHNAME>", not "SWITCHNAME>" as in Ciscos IOS. So the script returns the error "Did not receive expected prompt when entering Enable mode".
Has anybody managed to create a script that works with the HP H3C switches?
Regards, lls71
APC over SSH
Hi,
Has anyone created a template for accessing APC switched PDUs over SSH?
Cheers,
Ray
Backup HP V1910 (Legacy 3Com 2928) switch
I am trying to backup this switch using the Device.CLI.Send activity. Here is what I am trying to send:
Login authentication Username:xxxx
Password:
<Raben Tire IT Switch>_cmdline-mode on
All commands can be displayed and executed. Continue? [Y/N]y
Please input password:******
Warning: Now you enter an all-command mode for developer's testing, some commands may affect operation by wrong use, please carefully use it with our engineer's direction.
<Raben Tire IT Switch>backup startup-configuration to 10.21.1.13
Backup next startup-configuration file to 10.21.1.13, please wait...
finished!
<Raben Tire IT Switch>quit
I get to the input of the password and get a syntax error. Since I get a syntax error there, the rest of the script never runs, it also gets a syntax error. How do I input a password at that point?
Thanks,
Jeff
internal program error on CatTools v3.3.4
Hi,
I am writing to ask for help regarding the failure of the software cattools. about two days, the software reports the following errors after running:
1) *** INTERNAL PROGRAM ERROR ***
2) Version 3.3.4 - Error Number: 0 - Description: - Module Name: ClientFields.frm - Procedure Name: ConnectHostSingleAttempt - Line Number: 0 - Date and time: 7/3/2012 9:04:36 AM
3) Failed to connect x.x.x.x: unknow reason
The server reaches all the equipment and the login credentials are correct despite the error 3
Can anyone help me?
Thanks a lot
Connect failed:(30044) No available encryption algorithms match with the server.
Hi all,
We have installed new Cisco 2960 switch in our building to replace the old faulty one.
When trying to backup the config using CatTools, I am getting the error "Connect failed:(30044) No available encryption algorithms match with the server."
The config is identical to the old switch. Is there something else that I need to configure on the switch for the CatTools to backup the config?
Any help would be greatly appreciated. Please let me know if you require more info.
Cheers,
Vig.
Connect failed:(-32534) Disconnect : Protocol error
Hi,
I'm trying to run commands on Redback.router but i get this error :
Connect failed:(-32534) Disconnect : Protocol error
I use SSH2 Method and when i click Telnet/SSH from the device, it open the connection corectly with Secure-CRT (with SSH2..)
I'm running 3.10 version of the cattools.
do you know what could be the problem ?
thanks
F5 Backup Config doesn't backup partitions
If the F5 config uses partitions, this activity does not output any of the configuration in those partitions, only the base config.
This was raised a while ago (2014) as an issue with NCM, so it may be you have a fix in that product which could be used?
CatTools: No Results From Device.CLI.Send.commands script against Palo Alto 3050 firewall
I have a Palo Alto 3050 running 8.0.6. I created a job to send some commands to the firewall and write the output to a file.
The test commands I'm sending are:
set cli pager off
set cli scripting-mode on
show system info
It really doesn't matter what command I send I never receive any output. Here is what is written to the file/the output:
set
fw(active)> set cli [Kjodonnel-adm@NBDCRPIFW1(active)> set cli pager fw(active)> set cli pager off
fw(active)> set
fw(active)> set cli
fw(active)> set cli scripting-mode fw(active)> set cli scripting-mode on
fw(active)> show system info
I can't tell if the firewall isn't interpreting the carriage return of is experiencing an issue with the interactive session.
Wondering if anyone else experienced this issue. I opened an case with support almost 3 weeks ago. Uploaded a bunch of debugs and screen shots, but not response from tech support since......
Thanks!
Licensing error
Hi guys,
When I try and run cattools I get this error: "you have too many copies of this program already running on your system or network. you are licensed for only 1 copy/copies at a time"
The strange thing is, I have no other copies of cattools running anywhere, there are no other users on thsi server, and this server has no internet access and is behind a firewall which blocks comms between servers. So even if there was another copy running it wouldn't be able to see it.
The error is persistent. We did recently migrate onto a new server, which i suspect is where it has corrupted the software. We uninstalled and reinstalled v3.5 and immediately the same error came up. It doesn't even give me the option to input a new license key.
This is really annoying and we are out of maintenance support. Are there some logs I can see that will tell me where cattools thinks it can see another copy running.
Backup Config of Checkpoint Gateway
Hi Thwack community,
this is my first discussion
We are having some troubles with "Checkpoint Security Gateway" Devices. Because there is no suitable Device-Template for those devices i used the Generic.Device combined with a Device Variation to backup the Running Configuration.
Device Details: Check Point Security Gateway using Gaia R77.20 as OS, Kiwi Cattools 3.6.0
I always try to copy the manual steps i would do via putty/SSH to cattools. Those manual steps would be:
- login via ssh
- "lock database override" //get prev. rights
- "show configuration" //running config gets printed to stdout with paging (-- More --) -> as fas as i know there is no ter len 0/ no paging command
- quit or exit
Somehow cattools is having some problems with those steps :/
It isn´t getting input from the "show configuration" command which should print to stdout "Did not receive echo of show configuration command".
I attached you the log-info File and the Device variations so you could get a look into the changes i made.
Has anyone ever had similar problems (and a solution to it)? Especially with Checkpoint Devices?
Best regards,
Max
Need custom prompt for Cisco Wireless Lan Controller WLC2100
First prompt is the following:
login as: admin
Then the next prompt is the following:
User:admin
Password:
(Cisco Controller) >
Normally there is no "Login as:" prompt
They drop you straight to a User: prompt.
Also uses SSH2 for the connection.