If you want to save logs as files on the FW, you can configure the FW to output logs to log files.
After this configuration, logs are output to log files and saved on the FW. You can view the logs to know the operating status of the FW.
system-view
info-center source { module-name | default } channel { channel-number | channel-name } log { state { off | on } | level severity } *
info-center logfile channel { channel-number | channel-name }
By default, channel 9 is used.
info-center logfile size size
By default, the log file size is 8 MB.
info-center max-logfile-number filenumbers
The default value is 100 for the USG6000E.
If more log files are generated, the system deletes the earliest log files, ensuring that the number of log files is smaller than or equal to the threshold.
save logfile
info-center logfile-storage size
For the USG6510E/6510E-POE, the log space ranges from 36 MB to 75 MB, and the default space is 50 MB. For other device models, the log space ranges from 36 MB to 300 MB, and the default space is 200 MB.
When the log file storage space in the log directory on the CF card reaches the maximum value, the system will send INFO_1.3.6.1.4.1.2011.5.25.212.2.3 hwICInsufficientSpace to instruct users to clear useless data or expand the available disk space.
info-center logfile-storage threshold
The default threshold is 80%.
When the used log file storage space in the log directory on the CF card reaches the configured threshold, the system will send INFO_1.3.6.1.4.1.2011.5.25.212.2.7 hwICLogFileStorageThreshold to instruct users to clear useless data or expand the available disk space.