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

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


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 APC SmartUPS Network Management Card Config

$
0
0

Hi!

Is there a chance that CatTools could retrieve the config.ini of a APC SmartUPS AP9617/AP9630 Network Management Card using FTP? It would be great if someone of the development team could have a look at it.

Here's a "capture" of a FTP session:

ftp> open 10.0.0.1
Connected to 10.0.0.1.
220 AP9617 Network Management Card AOS v3.7.3 FTP server ready.
User (10.0.0.1:(none)): admin
331 User name okay, need password.
Password:
230 User logged in, proceed.
ftp> bin
200 TYPE Command okay.
ftp> hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
ftp> get config.ini
200 PORT Command okay.
150 File status okay; about to open data connection.
#######################226 Closing data connection.
ftp: 47311 bytes received in 15,25Seconds 3,10Kbytes/sec.
ftp> close
221 Thank you for using APC products!
ftp> quit

Regards, Leonardo

SSH to Extreme Switch fails, "Server signature does not match"

$
0
0

Hi all,

 

I'm trying to configure our SolarWinds CatTools 3.6 (Enterprise) to backup the configuration of our Extreme Switches (Summit X350).

Unfortunately I get an error when trying to connect to the switch, the following is from the Info Log:

"Failed to connect to <ip address>. Reason: (30015) Server signature does not match.. Giving up after 3 connection attempts."

These are new switches so there shouldn't be any old signatures, and that shouldn't be the problem anyway, right?

I can connect to the switch with putty.

I have three different ssh connection methods to choose from in the device configuration; SSH2, Extreme SSH2 and SSH2-nopty. I am a bit unsure about the difference between them but I have tried them all without succeeding.

Telnet works (if I allow it), but we need to use SSH.

Does anyone recognise this problem?

Please let me know if you need any more information from me.

 

Best regards,

Daniel

Cat Tools and Cisco SG500 switches.

$
0
0

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

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

Cisco ASA "more system running config".

$
0
0

Hello gents.

 

Help needed.

 

We have alot of ASA 5505 deployed around the world with VPN preshared keys.

 

Now, when we want to backup a running conf for an ASA 5505, this happens:

 

ikev1 pre-shared-key *****

 

With the following warning in the "Info log": "invalid command: more system:running-config"


Now, there must be a variation that can bypass this little issue.. if we cannot see the key it generated, it renders the running conf pretty much... useless :/

 

Anyone? Please?


IBM Fabric switch. Can't get past command line interface mode selection

$
0
0

Hi,

 

I got 2 IBM Fabric switch that i am unable to log,  to upload config to tftp.

 

I log correctly using ssh v2 but i get this prompt asking me ibmnos-cli or iscli. :

 

Using username "admin".

Select Command Line Interface mode (ibmnos-cli/iscli):

 

How can i can i tell cattools to input iscli ?

 

The debug log is :

 

<NEWSESSION CatTools 3.9.1 4/20/2015 3:48:36 PM>

<PROTOCOL=SSH2>

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

<C OK 3:48:40 PM><R-3:48:40 PM>[13][10][13][10]Select Command Line Interface mode (ibmnos-cli/iscli):

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

WFMDRetVal=1 Waiting for: ">"

WFMDRetVal=2 Waiting for: "#"

WFMDRetVal=3 Waiting for: "Username:"

WFMDRetVal=4 Waiting for: "Password:"

WFMDBuffer="[13][10][13][10]select command line interface mode (ibmnos-cli/iscli): "

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

<W-3:49:10 PM>[13]<R-3:49:10 PM>[13][10][13][10]Select Command Line Interface mode (ibmnos-cli/iscli):

 

Thanks

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

Automate backup of config from Ubiquiti NanoBridge M5 (DD-WRT)

$
0
0

Hey guys... I have a pair of Ubiquiti NanoBridge M5's that I use for a wireless bridge.  I currently use CatTools to backup my switches, routers, and firewalls.  I would like to backup the config of these M5's too... however, I have not been able to find a good script to make it work.  Has anyone had any experience with backing these up?  I believe they are DD-WRT based, so we may be able to use that as a place to start... 

Fortigate With Vdom backup is not happening

$
0
0

Hi All ,

 

I am not able to take the backup of Fortigate  which has configured on VDOM environment .

Some Fortigate's I am able to take but Vdom configuration's are missing from the Backup .

Did any one faced this issues and what was the solutions you found on Kiwi Cat tools

 

Please help thanks in advance

 

Regards

Vineeth

Capture Serial Number from Cisco Router

$
0
0

We have 50 remote offices with Cisco 1801's. I have the exciting job of establishing their serial numbers :-/

Can kiwi help. I guess the output I'm after comes from the 'show inventory' command. Or is there a MIB which can be installed into Orion which can be run to do the same job. The information i'm specifically after is serial number.

Backup HP V1910 (Legacy 3Com 2928) switch

$
0
0

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

 

 

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


Log forwarder - 100% CPU spike

$
0
0

We recently tried to install Solarwinds log forwarder to monitor our  firewall "health".  No problem with the install. We are using SQL server 2008. Its average CPU usage is about 10%. The memory stays at 85%.  Everytime I try to implement a subscription (system or application selection) through the log forwarder, my CPU spikes and holds at 100%.  Of course everytime this happens, everything else freezes up.  I have seen posts in here related to the same problem, but never a resolution. Has anyone found the root cause of this type of problem.  We have no wireless systems and recently increased our memory on the server.  I'd like to try this out before we purchase software but it's obviously hard to test drive it at this rate.  Thanks a lot

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

Service Dependencies for Kiwi Cat Tools 3.10 on Windows Server 2008 R2 Standard

$
0
0

Utilizing the instructions in the documentation for Kiwi Cat Tools 3.10, here: http://www.kiwicattools.com/downloads/cattools/CatTools.pdf#page=15

I attempted to add the services in the command prompt as described, but "Cat Tools" has no space and "LanmanWorkstation" is not a service on Windows Server 2008 R2 Standard.

Please provide and update documentation with proper services for Server 2008.

Thanks!

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

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

Viewing all 21331 articles
Browse latest View live


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