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

nortel 4550-4550T-PWR-(problem copying running-configs)

$
0
0

Hey guys,
Thanks a lot for all the help with my past two issues. But now i have a new one. This one concerns the nortel 4550-4550T-PWR. i keep getting the below error msg. Any ideas?


2011-03-28 02:59:12     4-Debug     1     merc-a-14-sw01     Waiting for an echo of terminal length 0 command
2011-03-28 02:59:12     4-Debug     1     merc-a-14-sw01     Skipping enter Enable mode as we are already in Enable mode
2011-03-28 02:59:13     4-Debug     1     merc-a-14-sw01     Waiting for an echo of show running-config command
2011-03-28 02:59:13     4-Debug     1     merc-a-14-sw01     Increasing timeout value for next command only
2011-03-28 02:59:13     4-Debug     1     merc-a-14-sw01     Waiting for a response to: show running-config
2011-03-28 03:01:43     2-Warning     1     merc-a-14-sw01     Did not receive expected response to command: show

running-config
2011-03-28 03:01:44     3-Info     1     merc-a-14-sw01     Backup Running Config results: Failed
2011-03-28 03:02:44     4-Debug     1     merc-a-14-sw01     Waiting for an echo of terminal length 24 command
2011-03-28 03:03:14     2-Warning     1     merc-a-14-sw01     Did not receive echo of terminal length 24 command
2011-03-28 03:03:14     4-Debug     1     merc-a-14-sw01     Disconnecting from merc-a-14-sw01







M>show running-config<W-2:59:13 AM>[13]<R-2:59:13 AM>[13][13][10]
================================================================================
WFMDRetVal=1 Waiting for: "----More (q=Quit, space/return=Continue)----"
WFMDRetVal=2 Waiting for: "% Invalid input detected at"
WFMDRetVal=3 Waiting for: "% Incomplete command"
WFMDRetVal=4 Waiting for: "(y/n)"
WFMDRetVal=5 Waiting for: "press any key to continue, q to quit"
WFMDRetVal=17 Waiting for: "[13]MERC-14-A-SW01("
WFMDRetVal=18 Waiting for: "MERC-14-A-SW01>"
WFMDRetVal=19 Waiting for: "MERC-14-A-SW01#"
WFMDRetVal=20 Waiting for: "MERC-14-A-SW01("
WFMDBuffer="[13][13][10]"
================================================================================
<W-3:01:44 AM>[13]
================================================================================
WFMDRetVal=1 Waiting for: "MERC-14-A-SW01>"
WFMDRetVal=2 Waiting for: "MERC-14-A-SW01#"
WFMDRetVal=3 Waiting for: "MERC-14-A-SW01("
WFMDRetVal=4 Waiting for: "(config)"
WFMDBuffer=""
================================================================================
<W-3:02:14 AM>[13]
================================================================================
WFMDRetVal=1 Waiting for: "MERC-14-A-SW01>"
WFMDRetVal=2 Waiting for: "MERC-14-A-SW01#"
WFMDRetVal=3 Waiting for: "MERC-14-A-SW01("
WFMDRetVal=4 Waiting for: "(config)"
WFMDBuffer=""
================================================================================
<W-3:02:44 AM>terminal length 24
================================================================================
WFDRetVal=0. Waiting for: "terminal length 24"
WFDBuffer=""
================================================================================
<W-3:03:14 AM>exit[13]
================================================================================
WFMDRetVal=1 Waiting for: "Logout"
WFMDRetVal=2 Waiting for: "incorrect password"
WFMDBuffer=""
================================================================================
<D 3:03:45 AM>
<SCRIPT VALUES>
<HOSTNAME="MERC-14-A-SW01">
<PROMPT VTY="MERC-14-A-SW01>">
<PROMPT ENABLE="MERC-14-A-SW01#">
<PROMPT CONFIG="MERC-14-A-SW01(">

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

MAC address table Report

$
0
0

I'm trying to extend the Report.MAC address table Activity to support the Juniper EX switches.  Can anyone tell me what the variable type (string, array, etc) and element order, and delimiter I need to return to the main activity for it to be added into the table?  I, of course, can't see the main activity code since it is encrypted.  Thanks.

Configuring Cisco Nexus 7k in Kiwi Cat Tools

$
0
0

I've been able to use Kiwi Cat Tools to backup nearly all of our Cisco devices successfully.  However, our Nexus 7k's do not seem to be working with Cat Tools.  We use radius authentication and ssh to access our 7k's but cat tools seems to stall after the ssh log-in.  I've tried every combination of AAA username and password as well as ssh username and password, but no matter what it just seems to stall at the ssh fingerprint portion of the device backup.  Anyone have any ideas as to what I am doing wrong or have another way to backup the configs for the 7k using Kiwi Cat Tools?

Backup running config for OpenBSD PF Firewall

$
0
0

Hello,

 

I've been trying to get Kiwi Cattools to download the PF config file from an OpenBSD system. I have managed to get Kiwi Cattools to login to the machine via ssh but then it throws this cryptic error to the log:

 

Login results = VTY: Failed, Enable: N/A, HostID: N/A

 

Just hoping someone can guide me in the right direction. The help files say that the debug mode will help troubleshoot the problem. I'm not sure what to look for in the log. This is the output I get when I try the test login command:

 

<NEWSESSION CatTools 3.5.0 7/10/2012 7:05:58 PM>

<PROTOCOL=SSH2>

<DEVICE TYPE=OpenBSD.PF.Firewall>

<ACTIVITY TYPE=Device.ConnectivityTest.Login>

<ACTIVITY SCRIPT=C:\Program Files\CatTools3\Scripts\Client.Device.ConnectivityTest.Login.txt>

<USERS NAME FOR DEVICE=DSFW>

<C OK 7:05:58 PM><R-7:05:58 PM>Last login: Tue Jul 10 18:09:13 2012 from 10.100.101.248[13][13][10]OpenBSD 5.1 (GENERIC.MP) #207: Sun Feb 12 09:42:14 MST 2012[13][10][13][10]Welcome to OpenBSD: The proactively secure Unix-like operating system.[13][10][13][10]Please use the sendbug(1) utility to report bugs in the system.[13][10]Before reporting a bug, please try to reproduce it with the latest[13][10]version of the code.  With bug reports, please try to ensure that[13][10]enough information to reproduce the problem is enclosed, and if a[13][10]known fix for it exists, include that as well.[13][10][13][10][13][27][3g        [27]H        [27]H        [27]H        [27]H        [27]H        [27]H        [27]H        [27]H        [27]H[13][13]<W-7:05:58 PM>[13]<R-7:05:58 PM>[13][10]<R-7:05:59 PM># [13][13][10]# <D 7:05:59 PM>

<SCRIPT VALUES>

<HOSTNAME="">

<PROMPT VTY="">

<PROMPT ENABLE="">

<PROMPT CONFIG="">

 

On the line that thats out '<C OK', that includes the login banner that the system gives so I know it's getting logged in. After login, the prompt is just a "#" and I also see that on that line twice towards the end. These are the variables I have set in the script file for that device:

 

Private Const DEVICE_STANDARDPROMPT = "#"

Private Const DEVICE_PRIVILEGEDPROMPT = "#"

Private Const DEVICE_CONFIGPROMPT = "#"

 

Is it having trouble picking up on the # prompt?

 

I appreciate any help. Thanks!

Dell DR4100 enable

$
0
0

Cattools 3.10

I'm trying to back up a Dell DR4100 using Telnet, and after changing Username prompt: to login: it will connect ok, but it fails to back up, with error message Aborting: Unable to enter enable mode.

There doesn't appear to be an enable mode for this device. Can I bypass this bit?

 

Thanks,

Jenny

cisco small business modify config does not work

$
0
0

While running a Device.CLI.Modify Config job to modify the management access-list on Cisco SF-500 SmallBusiness  switches there are errors and waiting times:

 

Waiting for an echo of permit ip-source 1.2.3.4 mask 255.0.0.0 service snmp command

Waiting for an echo of <Ctrl-Z> command

Waiting for a response to: copy run start

 

The cli commands are tested manually and are OK, but appearantly cattools does not receive what it expects.

 

Using cattools 3.10.0 (Enterprise)

 

SWITCH#sh ver

SW version    1.3.0.62 ( date  02-May-2013 time  14:56:31 )

Boot version    1.3.0.03 ( date  23-Jul-2012 time  10:32:34 )

HW version    V02

 

SWITCH#sh system

System Description:                       24-Port 10/100 PoE Stackable Managed Switch

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


Backing up F5 BIGIP UCS archive

$
0
0

Does anybody know if there is a way to backup the UCS archive on the BIGIP's, I think the current template in CatTools only backs up the config file. You really need the UCS archive to be able to restore devices properly. 

Many thanks

Mark

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 --

Problem with Cisco SG500 Backup

$
0
0

My problem with Backup the config of the Cisco SG500 is, that I got the error message "Did not receive expected prompt after disable command".

The config was saved but I couldn't solve the error.

I think that they try to open the Enable-Mode, but the SG500 haven't.

I config the "Variations" to Backup the devices but I didn't find where I can disable the "Enable-Mode" calling.

 

Error SG500.jpg

 

Any ideas where my mistake is?

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

Error "Specified username is invalid for device" during backup of cisco 3750

$
0
0


Hi Team,

 

For specific devices i am getting error "Specified username is invalid for device" eventhough username & password is correct. i have opened putty and tested credentilas and no issue observed.

 

attached device config & debug logs.

 

Regards,

Karthik V

0821 - 6649363

HPN (H3C) -Features like Cisco Routers and Switches

$
0
0

It would be great if you could add all commands like the Cisco Routers and Switches for HPN / H3C A-series like like display version, display interface brief ...

I can assist you with capture files.

Thx in advance

HP Comware 7 Switches

$
0
0

I have been using CatTools successfully with Cisco and HP Procurve switches for some time now, but I can't get the software to successfully talk to a new Comware switch. Looking at the debug logs it looks like it isn't coping with the default Comware prompt format e.g. <sysname> or [sysname] for user or system view respectively. Any idea what I need to do to get it to work?

 

Thanks

 

iain

 

ps I have logged a call with SolarWinds but this is proving to be a soul destroying process. The case is flagged as not started after two days, I've left answer phone messages to no avail and listened to muzak for far too long.


Enable Mode Fails on Cisco router

$
0
0

Hi ,

 

I am new to Kiwi tools . I am not able to take  the backup of  my cisco router using Kiwi .  I am getting the error message like "enable mode failed" . I have tried to capture the error but when I checkd the Debug folder it was empty  .

I am using a TACACS Login .  and seprate password for enable prompt

Login look like as follows

Username: test.1985
Password:******

TEST-Cisco-7206>enable
Password:*******
TEST-Cisco-7206#

your help for solve this issue will be highly appreciate

 

Regards

Vineeth

Backup of Cisco SF-300 ( small bussiness switch )

$
0
0

We´re not able to backup the config of those SF-300 switches, it is always ends up with error message "did not received command prompt after connecting via SSH" , probably because it´s not an IOS based switch. Do you have any idea how to backup those dump switches?

/Jan

Cat Tools and Cisco SG500 switches.

$
0
0

Has anyone been able to get Cat Tools to backup a Cisco SG500 switch?

Brocade 6430 switch - Kiwi CatTools - Did not receive command prompt after connecting via SSH

$
0
0


I can't figure out why this isn't working:

Scenario:SSH is configured on switch and works via SecureCRT

In Kiwi, SSH username and password is filled in.

Intital login requires username/password is selected.

For the purposes of troubleshooting, I cleared all the Prompts.  I had tried various permutations.

 

Here is the debug file.  Please help me understand what I am doing wrong....


<NEWSESSION CatTools 3.10.0 12/17/2014 9:17:56 AM>
<PROTOCOL=SSH2>
<DEVICE TYPE=Brocade.Switch>
<ACTIVITY TYPE=Device.Backup.Running Config>
<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
<USERS NAME FOR DEVICE=03-NO-TECH-6430-24-03-10.11.100.3>
<C OK 9:18:00 AM>
<R-9:18:00 AM>SSH@NO-TECH-6430-24-03#

================================================================================
WFMDRetVal=1 Waiting for: ">"
WFMDRetVal=3 Waiting for: "login:"
WFMDRetVal=4 Waiting for: "Password:"
WFMDBuffer="ssh@no-tech-6430-24-03#"
================================================================================

Did not receive command prompt after connecting via SSH

$
0
0

I am running CatTools 3.9 and am trying to backup the config from a Brocade switch. When I run the Device.Backup.Running.Config script I receive the error "Did not Receive command prompt after connecting via SSH"

I have searched the forums and the CatTools pdf but have been unable to locate an answer for this problem.

Viewing all 21331 articles
Browse latest View live


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