The snmp-agent nat trap command sets the threshold and statistics collection interval for port conflict alarms during NAPT.
The undo snmp-agent nat trap command restores the default threshold and statistics collection interval for port conflict alarms during NAPT.
snmp-agent nat trap { interval interval | threshold threshold }
undo snmp-agent nat trap [ interval | threshold ]
| Parameter | Description | Value |
|---|---|---|
| interval | Specifies the statistics collection interval. | The value is an integer ranging from 1 to 10080, in minutes. The default value is 5. |
| threshold | Specifies the alarm threshold. | The value is an integer ranging from 1 to 100, in %. The default value is 80. |
This command only changes the threshold and statistics collection interval but cannot disable the function. During NAPT, if the ratio of the number of FW port conflicts to the total number of port allocations is greater than or equal to the threshold, alarm NAT_1.3.6.1.4.1.2011.6.122.18.3.2.1 hwSecTrapNatOverThreshold is sent. If the ratio falls below the threshold, alarm NAT_1.3.6.1.4.1.2011.6.122.18.3.2.2 hwSecTrapNatBelowThreshold is sent. If the ratio is greater than or lower than the threshold for a long time, the FW does not send alarms repeatedly.