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

cattools did not receive username entry prompt Cisco.IOS

$
0
0

<NEWSESSION CatTools 3.5.0 5/16/2017 11:06:15 AM>

<PROTOCOL=Telnet>

<DEVICE TYPE=Cisco.Router.General>

<ACTIVITY TYPE=Device.CLI.Send commands>

<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.CLI.Send commands.txt>

<USERS NAME FOR DEVICE=ra-sw01-s8300>

<C OK 11:06:15 AM><R-11:06:15 AM>[13][10][13][10]User Access Verification[13][10][13][10]Username:

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

WFMDRetVal=1 Waiting for: "rockwell"

WFMDRetVal=2 Waiting for: "Password required, but none set"

WFMDRetVal=3 Waiting for: "admin"

WFMDBuffer="[13][10][13][10]user access verification[13][10][13][10]username: "

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

<R-11:06:46 AM>[13][10]% Username:  timeout expired![13][10]Username:

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

WFMDRetVal=1 Waiting for: "rockwell"

WFMDRetVal=2 Waiting for: "Password required, but none set"

WFMDRetVal=3 Waiting for: "admin"

WFMDBuffer="[13][10][13][10]user access verification[13][10][13][10]username: [13][10]% username:  timeout expired![13][10]username: "

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

<R-11:07:16 AM>[13][10]% Username:  timeout expired![13][10]Username: <R-11:07:46 AM>[13][10]% Username:  timeout expired!<D 11:07:48 AM>

<SCRIPT VALUES>

<HOSTNAME="">

<PROMPT VTY="">

<PROMPT ENABLE="">

<PROMPT CONFIG="">


F5 Backup Config doesn't backup partitions

$
0
0

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?

Did not receive expected response to command: show running-config

$
0
0

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

Fortinet Fortigate Backups via TFTP

$
0
0

Hi

 

I have managed to get a full back of a Fortigate firewall working using TFTP and I thought I would share how I did it with the community.

 

We have a pair of Fortigates 3600C and we run multiple VDOMs on these, this meant the default script withing Cattools didn't work for us. We also require a keystroke before logging in as well. All this meant I had to use a combination of variations and also the TFTP backup method.

 

Variations configuration

 

  • Add your devices using the "Generic.Device" type, this will allow you to use "Variations"
  • Give them a group name - it is well worth using the same group name for all Fortinets as this will allow you to apply the same variations to all devices within that "Group"
  • Fill in the rest of the device info and passwords as you would do normally
  • Go to the "variations" tab and click "use variations"
  • Go to the "prompts" tab and fill in the information as shown in the "qoutes":-

DEVICE_USERNAMEPROMPT = "login as:"

DEVICE_PASSWORDPROMPT = "password:"

DEVICE_STANDARDPROMPT = "#"

DEVICE_PRIVILEGEDPROMPT = "#"

DEVICE_CONFIGPROMPT = "(global) #"

  • Go to the "additional commands" tab and fill in the information as shown in the "qoutes":-

COMMAND_ENTERCONFIG = "configure global"

COMMAND_EXITCONFIG = "end"

  • Go to the "pre/post login" tab and fill in the information as shown in the "qoutes":-
  • NOTE: you may not need to do this if you aren't asking for a pre login key stroke.

PRE_LOGIN_MESSAGE = "(Press 'a' to accept):"

PRE_LOGIN_KEYSTROKE = "a"

  • Then click on the "group save" button as this will then save the changes to the group you specified. This will allow you to add more devices to this group and it will pre-populate the variations for you. This saves a lot of work in the future.

 

 

TFTP activity configuration

 

  • Go to activities and click add
  • Set Type to "Device.Backup.TFTP"
  • Fill in name and description
  • Set schedule under the time tab
  • Add your devices
  • Go to "Options" tab
  • Untick the "file to write to tftp server"
  • Untick the "enter commands in enable mode"
  • In the "optional alternative list of commands" section input the following:-

%ctUM: Timeout 100

%ctUM: EchoOff

config global

%ctUM: EchoOff

execute backup config tftp %ctDeviceName-Running-Config <input your IP Address>

%ctUM: EchoOff

  • If your not using the default file locations don't forget to change them, I got caught out on this. Mine look like:-

F:\CatTools2\Configs\%GroupName%\Config.Current.Running.%BaseFile%.txt

F:\CatTools2\Configs\Archives\%GroupName%\Config.Dated.Running.%BaseFile%.%DateISO%-%TimeHHMM%.txt

  • Click ok to save

 

Now run the activity to check it all works. What you will find is there is about a 5 minute delay where it shows as a busy task. Be patient as it will finish. I would recommend running this task outside of any other backups as it does take a bit longer than others.

 

Hope this helps others getting this working.

 

EDIT

 

I have updated this to change from using the command "execute backup full-config" to use "execute backup config". This is because we had an issue recently where we were unable to restore the backup taking using the "execute backup full-config" command.

Fortinet recommend using the "execute backup config" command as this just restores the configuration that has been changed.

I have now tested this on our lab device and I was able to restore the configuration successfully.

 

Cheers

 

Jay

 

Message was edited by: Jaybed --

Backup Extreme Summit switches using TFTP commands

$
0
0

Hi, We have just installed some extreme switches and currently
it is backing up using model X450-24X running the show configuration command.

We are wanting to run the following below command and wondered whether this
would be possible if we had a variations file and running a TFTP server on
server where cat tools is installed.

 

tftp put x.x.x.x vr "VR-Default"primary.cfg **Saved file name***.cfg

 

The above command makes it easier to restore configs if we were to have issues.

 

We tried running Device.Backup.TFTP activity but it currently only supports Cisco Devices.

 

 

Thanks

error with SG300 and Device.Backup.Running.Config

$
0
0

Get an error message:

"Did not receive expected response to command: show running-config"

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.

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 ?


HP Procurve configuration backup using SSH problem

$
0
0

Hello,

We have an HP Procurve J4903A Switch 2824 and it is integrated with RADIUS Server for authentication.
We are using Cat Tools 3.4 demo version and tried to configure the switch for configuraton backup using Method SSH2.
And using Device.Backup.Running Config  Type and SSH Username/Password are supplied. When Run the backup it shows the errors:
"Did not receive expected prompt when entering enable mode", and "Aborting: Unable to enter enable mode".

Do anybody faced this issue with SSH? Please help me to solve this problem.

Regards,

Achu

No available encryption algorithm

$
0
0

I am receiving the following message from a newly installed Riverbed Router.  Any ideas?

 

2013-10-05 23:15:17 2-Warning 6 Riverbed-Router Failed to connect to Riverbed-Router. Reason: (30044) No available encryption algorithms match with the server.. Will try again.

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.

Backing up the running config on a cisco without write access

Device limitation

$
0
0

Hi, does CATTOOLS have any limitation on number of devices it can manage?

 

Thanks.

The Freeware edition of Kiwi CatTools v3.7 supports

$
0
0

Hi,

I'm evaluating CatTools v3.7.
After the evaluation period is expired, I selected "Free mode".

Then I tryed to add a new device, CatTools displayed the following message.

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

Sorry, the Freeware edition is limited to 1 device.

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

I believe I can add up to 20 devices on Freeware edition.
http://www.kiwisyslog.com/kiwi-cattools-licensing/

The Freeware edition of Kiwi CatTools supports:
        - Up to 20 devices in the device database
        - Up to 20 scheduled activities
        - Up to 10 simultaneous TFTP sessions
        - Up to 5 client threads

Why cannot I add the device?

Backup Extreme Summit switches using TFTP commands

$
0
0

Hi, We have just installed some extreme switches and currently
it is backing up using model X450-24X running the show configuration command.

We are wanting to run the following below command and wondered whether this
would be possible if we had a variations file and running a TFTP server on
server where cat tools is installed.

 

tftp put x.x.x.x vr "VR-Default"primary.cfg **Saved file name***.cfg

 

The above command makes it easier to restore configs if we were to have issues.

 

We tried running Device.Backup.TFTP activity but it currently only supports Cisco Devices.

 

 

Thanks


No available encryption algorithm

$
0
0

I am receiving the following message from a newly installed Riverbed Router.  Any ideas?

 

2013-10-05 23:15:17 2-Warning 6 Riverbed-Router Failed to connect to Riverbed-Router. Reason: (30044) No available encryption algorithms match with the server.. Will try again.

Backup Extreme Networks Switch Failing

$
0
0

Hi,

 

i'm having issues backing up my Extreme Networks B5 switch with Device.Backup.Running.Config script.

Here is the debug file :

 

 

<NEWSESSION CatTools 3.11.2 26/07/2017 11:37:19>

<PROTOCOL=SSH2>

<DEVICE TYPE=Extreme.Switch.General>

<ACTIVITY TYPE=Device.Backup.Running Config>

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

<USERS NAME FOR DEVICE=switch-nsi-intersite-relecq>

<C OK 11:37:20>

<R-11:37:20>[13][10][13][10]Extreme B5 [13][10]Command Line Interface [13][10][13][10]Extreme 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.extremenetworks.com [13][10][13][10](c) Copyright Extreme Networks, Inc. 2014[13][10][13][10]

<R-11:37:20>Chassis Serial Number:      15060732916E[13][10]Chassis Firmware Revision:  06.71.05.0008[13][10][13][10]Last successful login : WED JUL 26 11:24:37 2017[13][10]Failed login attempts since last login : 0[13][10][13][10]Stack Enterasys Baie Schelter Relecq intersite vers Gouesnou[13][10]switch-nsi-intersite-relecq(su)->

<W-11:37:22>[13]

<R-11:37:22>[13][10]switch-nsi-intersite-relecq(su)->

 

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

WFMDRetVal=1 Waiting for: " #"

WFMDRetVal=2 Waiting for: " >"

WFMDBuffer="[13][10]switch-nsi-intersite-relecq(su)->"

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

 

 

Device configuration :

 

 

Info Log reports :

 

 

Can you help me figure out how to get past this ?

Do i have to change the prompt options ?

 

thanks in advance

HP Procurve configuration backup using SSH problem

$
0
0

Hello,

We have an HP Procurve J4903A Switch 2824 and it is integrated with RADIUS Server for authentication.
We are using Cat Tools 3.4 demo version and tried to configure the switch for configuraton backup using Method SSH2.
And using Device.Backup.Running Config  Type and SSH Username/Password are supplied. When Run the backup it shows the errors:
"Did not receive expected prompt when entering enable mode", and "Aborting: Unable to enter enable mode".

Do anybody faced this issue with SSH? Please help me to solve this problem.

Regards,

Achu

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

Palo Alto Backup Comapre, generates differences and TFTP backup issue.

$
0
0

using the standard backup command in CATTOOLS we get the "SET" style backup. This seems to report the backup being different some times.

 

I am trying to do full XML backups instead using TFTP, but despite being reported as compatible with TFTP backup in HELP, the job says

 

"no default commands available for this device"

 

If I enter the palo alto command

 

"tftp export configuration from running-config.xml to 192.168.1.1"

 

It errors on requiring "%ctDeviceName" Variable.

 

but there is no variable for the output file name in the Palo Alto command..

 

Seems Palo is not supported correctly after all?

Viewing all 21331 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>