< Home

snmp-agent heartbeat interval

Function

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.

Format

snmp-agent heartbeat interval interval

undo snmp-agent heartbeat interval

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure the device to send heartbeat packets to the NMS at an interval of 180 seconds.

<HUAWEI> system-view
[HUAWEI] snmp-agent heartbeat interval 180
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >