Skip to main content
JohnDevNet_FTNT
Staff
Staff
March 15, 2017

Technical Tip: How to backup crashlog files to an external server (FTP/TFTP) in FortiADC

  • March 15, 2017
  • 0 replies
  • 1699 views

Description

 
This article shows how to send the crashlog files that FortiADC generates to an external server such as FTP or TFTP.

Crashlog files contain information about events that could be required for further analysis and troubleshooting.
 
Scope
 
FortiADC.


Solution

 

In this example, the FTP/TFTP server has an IP Address of 10.10.10.80.

jdominguez_FD40325_tn_FD40325-1.jpg

  1. Display the crashlog files:
 
diagnose crashlog list
101.4M Jul 27 2016 coredump-2016-07-27-01_43
88.3K Jul 27 2016 core-2016-07-27-01_43
526.9K Jul 14 2016 cli-3802-1468507370.gz
 
  1. Execute the following command to send all crashlog files via FTP to the server 10.10.10.80 port 21 using user admin and password admin123:

    diagnose crashlog upload ftp all 10.10.10.80:21 admin admin123
     
  2. The following command could be used to send only one named file to the server, in this example the file 'cli-3802-1468507370.gz' is sent:
 
diagnose crashlog upload ftp cli-3802-1468507370.gz 10.10.10.80:21 admin admin123