The firewall topn-ip log enable command enables the function of sending top N session logs.
The undo firewall topn-ip log enable command disables the function.
The sending of top N session logs is enabled by default.
After the function of sending top N session logs is enabled, when the CPU usage reaches threshold-value set in the cpu-usage threshold command or the session table usage reaches threshold-value set in snmp-agent session trap threshold, the system sends FWD/4/TOPNSESSSRC and FWD/4/TOPNSESSDST logs. In addition, the system records information about the 100 sessions of topic 10 source/destination IP addresses to the diagnosis log file log.dblg.
After the function is disabled, even through the CPU usage or session table usage reaches the alarm threshold, the system does not send the corresponding logs or record diagnosis logs.