< Home

firewall topn-ip log enable

Function

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.

Format

firewall topn-ip log enable

undo firewall topn-ip log enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Enable the sending of top N session logs.

<sysname> system-view
[sysname] firewall topn-ip log enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >