The snmp-agent trap life command sets the lifetime of trap messages. When the lifetime expires, the trap messages are discarded.
The undo snmp-agent trap life command cancels the current settings.
By default, the lifetime of trap messages is 300 seconds.
Parameter | Description | Value |
---|---|---|
seconds | Specifies the lifetime of trap messages. | The value is an integer that ranges from 1 to 2592000, in seconds. The default value is 300. |