The export firewall session table command sends detailed session information to a specified FTP server.
| Parameter | Description | Value |
|---|---|---|
ftp-server server-address |
Specifies the IP address of the FTP server. |
- |
username |
Specifies the user name for logging in to the server. |
The value is a string of 1 to 63 characters. |
password |
Specifies the password for logging in to the server. |
The value is a string of 1 to 63 characters. |
file-name |
Specifies the name of a file storing detailed session information. |
The value is a string of 1 to 31 characters. |
All models except USG6635E/6655E, USG6680E and USG6712E/6716E support this command.
Before running the export firewall session table command, configure the FTP server that will receive session information. The FW serves as the client and sends session information to the server. For configuration details, see Configuring the FW as an FTP Client.
The execution of the export firewall session table command will send detailed session information to a server, and this information is saved in a TXT file. The maximum size of the file is 500 MB. If there is more session information, the firewall automatically divides it into multiple files with specified file names plus sequence numbers, for example, abcdefg1.txt, abcdefg2.txt, and abcdefg3.txt.
# Send detailed session information to the FTP server at 192.168.1.1. Set the user name to test, password to Admin@123, and file name to abcdefg.
<sysname> system-view [sysname] export firewall session table ftp-server 192.168.1.1 test Admin@123 abcdefg Warning:FTP is not a security transmission protocol,we adviced you to build the encryption tunnel between the device and the server, would you like to export the data with unsafty ftp protocol?[Y/N]: