extremenetworks / ExtremeScripting

Scripts and Utilities for working with Extreme Networks products
147 stars 92 forks source link

Firewall configuration backup failed through extreme NMS #160

Open Dinakaran-kalimuthu opened 1 year ago

Dinakaran-kalimuthu commented 1 year ago

Unable to take configuration backup of Fortigate firewall using XIQ_SE.

We run the backup script for Fortinet loaded in XIQ-SE, script executes the command in targeted fortigate device successfully but fails to transfer to XIQ's TFTP.

below script are we checked,

-- Use this script to manage FortiGate backups name="Forti Script tftp" desc="SSH/TFTP Scripts" separator=UNIX_FILE_SEPARATOR timed_reset_delay_format="HH:mm"

-----BEGIN SCRIPT "Configuration Upload"----- a execute backup config tftp %RELATIVE_TARGET_FILE_PATH% %TFTP_IP% @receive 10 exit -----END SCRIPT----- -----BEGIN SUCCESS "Configuration Upload"----- tftp server OK -----END SUCCESS-----

Script execution completed successfully but fails to transfer to XIQ's TFTP

ZdenekPala commented 1 year ago

Please provide details where it fails and how. Provide some logs. Also what commands should be used in your FortiGate. do you see the TFTP transfer happening?

Dinakaran-kalimuthu commented 1 year ago

pls find the commands mentioned in below,

Use this script to manage FortiGate backups name="Forti Script tftp" desc="SSH/TFTP Scripts" separator=UNIX_FILE_SEPARATOR timed_reset_delay_format="HH:mm"

-----BEGIN SCRIPT "Configuration Upload"----- a execute backup config tftp %RELATIVE_TARGET_FILE_PATH% %TFTP_IP% @receive 10 exit -----END SCRIPT----- -----BEGIN SUCCESS "Configuration Upload"----- tftp server OK -----END SUCCESS-----

Dinakaran-kalimuthu commented 1 year ago

pls find the attached document

image001