Header Only - DO NOT REMOVE - Extreme Networks

How to backup Cisco ASA with Inventory Manager


The default TFTP script does not work for backing up a Cisco ASA using inventory manager. So I changed it to this: (just needed a few spaces for the return character to be interpreted.

-- Use these scripts to manage Cisco devices
name="BackupASA"
desc="Cisco Systems ASA SSH/TFTP Scripts"
protocol=TFTP
--
-----BEGIN SCRIPT "Configuration Upload"-----
enable
%ENABLEPSWD%
copy running-config tftp:

%TFTP_IP%
%RELATIVE_TARGET_FILE_PATH%

@receive 40
exit
-----END SCRIPT-----
-----BEGIN SUCCESS "Configuration Upload"-----
bytes copied
-----END SUCCESS-----
-----BEGIN SCRIPT "Configuration Download"-----
enable
%ENABLEPSWD%
copy %TFTP_URL% startup-config

startup-config

@receive 60

exit
-----END SCRIPT-----
-----BEGIN SUCCESS "Configuration Download"-----
bytes copied
-----END SUCCESS-----

Put the script in your devicefiles directory on your NetSight server.

5 replies

Userlevel 7
Thanks Jeremy,

great work, I've put it in my notes for future use.
Userlevel 2
Just tried it, works great!
I wonder if this same trick works for other Cisco scripts that do not work correctly
daniel.griffis wrote:

I wonder if this same trick works for other Cisco scripts that do not work correctly

Most likely!
daniel.griffis wrote:

I wonder if this same trick works for other Cisco scripts that do not work correctly

I have built several scripts now that work great with Cisco, do you have any other info about Cisco integration? I have came really close to getting the Firmware upgrade to work but not at 100%. I even finally have been able to get the flexviews I have created to work in Extreme Management rather than just the java application. After I am able to get the IOS upgrades to work my next attempt will be to enable the ability to see and historically monitor cpu, fan status and temperature.

Reply