The snmp-agent notification-log command sets the aging time of trap logs and the maximum number of trap logs that can be saved in the trap log buffer.
The undo snmp-agent notification-log command restores the default configuration.
By default, the aging time of trap logs is 24 hours, and a maximum of 500 trap logs can be saved in the trap log buffer.
snmp-agent notification-log { global-ageout ageout | global-limit limit } *
undo snmp-agent notification-log { global-ageout [ ageout ] | global-limit [ limit ] } *
Parameter | Description | Value |
---|---|---|
global-ageout ageout | Specifies the aging time of trap logs. | The value can be 0 or an integer that ranges from 12 to 36, in hours. The default value is 24. The value 0 indicates that trap logs are never aged out. |
global-limit limit | Specifies the maximum number of trap logs that can be saved in the trap log buffer. | The value is an integer that ranges from 1 to 5000. |
Usage Scenario
No Inform ACK message is returned when the number of times to resend the Inform message in the alarm queue reaches the set threshold.
Inform messages will be discarded because the number of logged Inform messages reaches the maximum that the alarm queue can support.
Precautions