The snmp-agent trap life command sets the duration of trap messages.
The undo snmp-agent trap life command cancels the current setting.
| Parameter | Description | Value |
|---|---|---|
| seconds | Specifies the duration of trap messages, in seconds. | The value is in the range of 1 to 2592000. By default, it is 300. |