Quantcast
Channel: THWACK: Popular Discussions - Kiwi CatTools
Viewing all 21331 articles
Browse latest View live

Device.Backup.Running Configuration not able to step past "--More--"

$
0
0

Hi All,

 

New to the forums here.. hoping to get some help with a problem I've run into using CatTools.

 

Attempting to run the Device.Backup.Running Configuration and I receive the below error:

 

"Did not receive expected response to command: show full"[show full is the variation I use to get the full running configuration]

 

When I review the debug, I can see the following:

 

<NEWSESSION CatTools 3.10.0 1/11/2018 3:45:08 PM>

<PROTOCOL=SSH2>

<DEVICE TYPE=Fortinet.FortiOS>

<ACTIVITY TYPE=Device.Backup.Running Config>

<ACTIVITY SCRIPT=D:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>

<USERS NAME FOR DEVICE=DEVICENAME>

<C OK 3:45:09 PM>

<R-3:45:09 PM>DEVICENAME #

<W-3:45:14 PM>[13]

<R-3:45:14 PM>[13][13][10]DEVICENAME #

<W-3:45:14 PM>show full

<R-3:45:14 PM>show full

<W-3:45:14 PM>[13]

<R-3:45:14 PM>[13][13][10]#config-version..[OMITTED]...set allow-traffic-redirect enable[13][10]--More--

 

 

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

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

WFMDRetVal=2 Waiting for: "command parse error"

WFMDRetVal=3 Waiting for: "no object in the end"

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

WFMDRetVal=5 Waiting for: "Unknown action"

WFMDRetVal=6 Waiting for: "[yes/no]"

WFMDRetVal=7 Waiting for: "[confirm]"

WFMDRetVal=8 Waiting for: "Usage:"

WFMDRetVal=9 Waiting for: "Type help or '?'"

WFMDRetVal=10 Waiting for: "Sorry password incorrect"

WFMDRetVal=11 Waiting for: "Mismatch - password unchanged"

WFMDRetVal=12 Waiting for: "Delete filename ["

WFMDRetVal=13 Waiting for: "%Error opening"

WFMDRetVal=15 Waiting for: "Enter old password:"

WFMDRetVal=16 Waiting for: "Enter new password:"

WFMDRetVal=17 Waiting for: "Retype new password:"

WFMDRetVal=18 Waiting for: "Address or name of remote host"

WFMDRetVal=19 Waiting for: "Source filename"

WFMDRetVal=20 Waiting for: "Destination filename"

WFMDRetVal=21 Waiting for: "name of configuration file"

WFMDRetVal=22 Waiting for: "DEVICENAME "

WFMDRetVal=23 Waiting for: "DEVICENAME $"

WFMDRetVal=24 Waiting for: "DEVICENAME #"

WFMDRetVal=25 Waiting for: "(admin)#"

WFMDRetVal=26 Waiting for: "global #"

WFMDRetVal=27 Waiting for: "(global) #"

WFMDBuffer=""

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

<W-3:47:44 PM>exit[13]

<D 3:47:44 PM>

<SCRIPT VALUES>

<HOSTNAME="DEVICENAME">

<PROMPT VTY="DEVICENAME ">

<PROMPT ENABLE="DEVICENAME $">

<PROMPT CONFIG="DEVICENAME #">

 

In reviewing the above debug, it looks like the script isn't properly detecting the "--More--" at the end of the configuration output line. I've tried adjusting the variation for page scrolling, but I haven't been able to find anything that works.

 

Without making adjustments to the paging settings on the device, does anyone have suggestions on what I might be doing wrong?

 

Cheers,

-Evan


Backup Cisco WLC 5508 8.0

$
0
0

i've been looking all morning for a good way to backup my two WLCs using cat tools.  I've never dug into how to use cattools more than just basic devcie config backups on my switches, routers, etc.  on the Cisco WLC5508 i have found a few scripts but have no idea how to access them.  The script i found looks like this,

 

<!-- edited with Notepad by Jake and Greg for SSH commands and TFTP transfer -->

<!--SolarWinds Network Management Tools-->

<!--Copyright 2005 SolarWinds.Net All rights reserved-->

<Configuration-Management Device="Cisco 5508 WLC" SystemOID=" 1.3.6.1.4.1.9.1.1069">

  <Commands>

  <Command Name="RESET" Value=""/>

  <Command Name="PreCommand" Value=""/>

  <Command Name="Version" Value="config${CRLF}paging disable${CRLF}exit${CRLF}show sysinfo${CRLF}"/>

  <Command Name="DownloadConfig" Value="show run-config commands"/>

  <Command Name="DownloadConfigIndirect" Value="config${CRLF}paging disable${CRLF}exit${CRLF}transfer upload mode ${TransferProtocol}${CRLF}transfer upload serverip ${StorageAddress}${CRLF}transfer upload path /${CRLF}transfer upload filename ${StorageFilename}${CRLF}transfer upload datatype config${CRLF}transfer upload start${CRLF}y"/>

  </Commands>

</Configuration-Management>

 

i've walked through the script in the ssh cli and verified it'll work, but i'm confused about how to  run this script via cattools.  or if theres a better way.  i tried the device.backup.tftp using cisco.wireless.lan and that fails. 

 

Thanks in advance.

Connect failed:(30044) No available encryption algorithms match with the server.

$
0
0

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.

Cattools Device.Backup.Running Config Accept Banner

$
0
0

I am backing up multiple Fortinet devices which works fine but once I enabled a post banner that requires "a" to accept, the backup job fails.  How can I modify the backup running config to accept a banner?

 

Appreciate the assistance.

Kiwi Cattools 3.9.1 config backup with Cisco

$
0
0

Dear community,

 

I am currently trying to configure Kiwi Cattools v3.9.1 (no Solarwinds support any more) to back up our Cisco devices' running config. The backup from some devices work without problem, from some other devices Kiwi cannot back up the config (routers and switches).

The network settings (routing, firewall rules etc) are correct because we use an additional type of activity (Device.CLI.Send.commands) with the affected devices which works properly.

When running a Device.Backup.Runinng.Config activity against the devices, two things happen:

 

- The activity finishes with the following error for all the specified devices and the config is not backed up at all:

     "Unable to log to Debug file. Error: Bad file name or number"

 

- The activity finishes without error, Kiwi confirms the backup with "Backup Running Config results: OK" for all specified devices, I see in the mail queue that the e-mail has been queued and contains an attachment (HTML report about the activity's result) but not all the configs have been backed up locally into the specified folder (C:/Shares) and the e-mail does not list all the devices as backed up. After enabling debug mode, I can see that Kiwi logs in to all the devices, backs up the configs and disconnects from the devices successfully, so it seems that the activity has been finished successfully but the config files from some of the devices are missing at the end.

At this point, I received the following error message for these devices:

 

     "Log to file error: Bad file name or numberC:\Program Files(x86)\CatTools3\ClientTemp\RunningConfig.[device_name].temp.txt"                         note: device_name is hidden in the message

 

The missing files are from the same devices until I change the name of the problematic devices in Kiwi. When that happens, Kiwi does not drop the previous error message any more for the device but does not bac kup the config at all.

 

I tried to change the hostname on one problematic device as well but it did not help -> no backed up config.

The Kiwi service has also been restarted, it did not help.

 

By now I could not find any solution on the web nor any reference to any Cattools bug.

 

Do you have any idea? Maybe some bug in v3.9.1? Do you know any solution?

 

Thank you for the help in advance.

CatTools CLI.modify.config to change the banner

$
0
0

Hi, today I tried to use Cattools to modiy the Cisco switch devices exec banner.

I found the the cattools do not support line break

for example

 

this will failed!

then I tried to use banner exec ^Line 1 bala bala bala....^

this will work!

but I need my banner shows in lines!

1 line is not enough

hwo to set multi lines on banner via cattools?

thanks

 

Jerry

F5.BigIP.TMSH Changes Pending

$
0
0

Whenever I use the F5.BigIP.TMSH Device Type and have CatTools login into a Device I end up with a (Changes Pending) when the device was (In Sync) before. I thought maybe it had something to do with the Activity I wrote but I just have the script login and logout and I get a Changes Pending. This is problematic. Anyone else experience the same problem.

Fortigate, kiwi cattools saying new config each run

$
0
0

Hello

 

I have installed a trial version of Kiwi Cat Tools (v3.11) and looking at backing up Fortigate machines.  All is well, except poll, it is saying the configuration has changed.  Lines in Red are like this:

 

   set schedule "always"         set schedule "always"100
101         set passphrase ENC FPdfLnnIwhD9LIHCoJfoyfoQGgNeiUyxr4RVSUwMGNFZsQwWDLKcPB5Eqejqh0ePFYGWDCjySMNVqva2vF4nPNn0WMWDoMRdX0TpDwaayNtjNuREAT3sNpVb39QLZIe2D4oAHu1Osu139qZf9+eQ0XfLfsUffmCFwRJNJ2tsQTeFfhOpmbc7wUj0Fl9D/uluALmIgA==         set passphrase ENC xRTcqKb2BSw02VEPiVz2nCqtl9Mq324cD9BBTwOT3/8j+OlRdkxorhfjLA6c0WMxLpkG362DCi0LApyZO4k84hVk2wi/MEn7wA/sEc+18uBueTGMuP+yjLdAm7IrvrgbR6cqIyeainCDs8IGNBumpCX1gv29+gnfK8BFZRcBKymbz/eiyJpZatRKH6zqTCkPGmiP+Q==101
102

     next

 

I gather it is the fortigate that is changing as these are different every run.  How do I get the CatTools to ignore these changes. 


CatTools and Fortigate Firewalls

$
0
0

Hi All,

I see that CatTools can backup Fortigate OS devices.  I have 10 or so Fortigate Firewalls which I'd like to backup.  But before I set this up I was trying to find out what commands CatTools issues to get the configuration just to check I'm not going to do any damage to my devices as they are hunreds of miles away from me.  I'm running ver 3.2.19.  Anyone have any idea or can point me in the right dorection to find out.

 

Thanks

Jimbo

Backup Config of Checkpoint Gateway

$
0
0

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:

  1. login via ssh
  2. "lock database override" //get prev. rights
  3. "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
  4. 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

Latest Cattools on SG300 switches?

$
0
0

Can the latest RC of Cattools perform config backups on Cisco Small Business SG300 switches? We are having a hard time getting this working over SSH with TACACS.

New to CatTools - Scripts

$
0
0

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?

CatTools and Fortigate Firewalls

$
0
0

Hi All,

I see that CatTools can backup Fortigate OS devices.  I have 10 or so Fortigate Firewalls which I'd like to backup.  But before I set this up I was trying to find out what commands CatTools issues to get the configuration just to check I'm not going to do any damage to my devices as they are hunreds of miles away from me.  I'm running ver 3.2.19.  Anyone have any idea or can point me in the right dorection to find out.

 

Thanks

Jimbo

F5 BigIP cli backup fails

$
0
0

Try to backup an F5 using SSH cli.  The backups are failing with the error "Did not receive echo of modify modify cli preference page enabled display-threshold 0 command"

 

This is the variations file:

COMMAND_DISABLEPAGING = "modify cli preference pager disabled display-threshold 0"

COMMAND_RUNNINGCONFIG = "list"

 

I've tried disabling echo but get the same result.  The output of the config capture is below.  Almost like a carriage return is not being sent after the disable paging command.  Any help getting this working would be appreciated.

 

Syntax Error: invalid property value "display-threshold":"0list"

Linux Jump Server

$
0
0

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.


Fail to connect

$
0
0

Hi,

 

I'm setting up backup for a Cisco 3850x switch. Cattool responded "Failed
to connect to 192.168.10.10. Reason: (30012) Protocol version mismatch error..
Giving up after 3 connection attempts.

 

Would you know what's the exact issue here?

 

 

 

Hosts for Kiwi Cat Tools

$
0
0

Good morning guys, I wonder if there is a host configuration limit for this tool (Kiwi CatToosl)

 

Tks

Script for HP/H3C Switches

$
0
0

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

using bash commands in Device.CLI.Send Commands fails

$
0
0

Hi

I am trying to create a script in order to backup a F5 BigIP.

The scripts runs without issues on the device when i run it on the console(ssh) , but when i use Kiwi Cattools, the script fails.

The reason i''m using variables, is to be able to backup multiple F5 devices into one dir, retaining the ID of the device.

I must be doing something dumb, or i don't get it.

 

#!/bin/bash

terminal width 120
FTPHOST=[IP]
HOST=$HOSTNAME
USER=F5
PASS=XXXXX
UPATH1=Config'/'Current'/'
UPATH=`date +%Y'/'%m'/'%d`
FPATH="$UPATH1$UPATH"

 

cd /config
tmsh -c "save sys config base"
cp bigip_base.conf $HOST.conf
ftp -inv << EOF
open $FTPHOST
user $USER $PASS
bin
mkdir $FPATH
put /config/$HOST.conf /$FPATH/$HOST.txt
close
bye
EOF

 

KiwiCattools fails on reading the variables, i get "waiting for respons to command", waiting for an echo.

I am using Device.CLI.Send Commands.

Question ofcourse is... :how to fix it, how to set specifics for each device using variables ? Am i missing the point completly? Is it even possible what i''d like to achieve.

What am i doing wrong?

 

If anybody can point me to some docs on how to use bash within scripts for KiwiCatTools, that would be great too.

Thank you in advance.

With kind regards, Thijn

Backup Cisco devices without enable password

$
0
0

Dear Sir:

        My customer has some issue about CatTools backup Cisco starting-configure issue.

1. Because security concern, the user has no enable password. But he can show start-up config at privilege mode. So you can telnet to all Cisco devices and show the start-up config to backup it

2.When I user CatTools and setup devices type "Cisco.Router.noenable" to backup configure. It will not work. And show me some error , just like below

show config

          ^

% Invalid Input detected at '^" marker.

 

So I think the srcipt type wrong command to cisco , Right ? Or Can you provide me other recommendation ?

Viewing all 21331 articles
Browse latest View live