diagnose system coredump export
Use this command to export FortiDB coredump files to a location on an FTP server.
After a system failure, FortiDB generates coredump files that contain the system’s RAM at the time of the crash. This file is useful for troubleshooting problems with the TCP/IP sniffer.
Syntax
diagnose system coredump export <ftp server> <username> <password> [filepath]
where:
Keywords and variables | Description |
---|---|
<ftp server>
|
IP address or hostname of FTP server. |
<filepath>
|
Location on FTP server where you want to save the configuration file. |
<username>
|
User name of account that logs on to the FTP server. |
<password>
|
Password of account that logs on to the FTP server. |
[filepath]
|
Location on FTP server that FortiDB exports the coredump file to. |
Example
This example exports the coredump files to the FTP server at 172.30.144.210.
diagnose system coredump export 172.30.144.210 dzhang 123456
The command generates output similar to the following message:
Packaging the coredump files...
Transferring the files...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 142M 0 0 100 142M 0 11.0M 0:00:12 0:00:12 --:--:-- 11.1M
Succeeded in uploading coredump files!