< Home

snmp-agent heartbeat enable

Function

The snmp-agent heartbeat enable command enables the device to send heartbeat packets to the NMS.

The undo snmp-agent heartbeat enable command disables the device from sending heartbeat packets to the NMS.

By default, the device does not send heartbeat packets to the NMS.

Format

snmp-agent heartbeat enable

undo snmp-agent heartbeat enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When the NMS cannot initiatively obtain the status of the device, run the snmp-agent heartbeat enable command to enable the device to send heartbeat packets to the NMS. The device then periodically sends heartbeat packets to the NMS to notify the NMS of its status.

Example

# Enable the device to send heartbeat packets to the NMS.

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