The snmp-agent heartbeat interval command sets the interval at which the device sends heartbeat packets to the NMS.
The undo snmp-agent heartbeat interval command restores the interval at which the device sends heartbeat packets to the NMS to the default interval.
By default, the device sends heartbeat packets to the NMS at an interval of 60 seconds.
Parameter | Description | Value |
---|---|---|
interval | Specifies the interval at which the device sends heartbeat packets to the NMS. | The value is an integer that ranges from 60 to 86400, in seconds. |
Usage Scenario
After enabling the device to send heartbeat packets to the NMS, you can use the snmp-agent heartbeat interval command to set the interval at which heartbeat packets are sent. On a stable network, increase the interval to reduce the bandwidth consumed for periodic transmission of heartbeat packets.
Prerequisites
The device has been enabled to send heartbeat packets to the NMS using the snmp-agent heartbeat enable command.