< Home

display snmp-agent heartbeat configuration

Function

The display snmp-agent heartbeat configuration command displays the configuration of sending heartbeat packets to the NMS.

Format

display snmp-agent heartbeat configuration

Parameters

None

Views

All views

Default Level

1: Monitoring 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. To check whether the device is enabled to send heartbeat packets to the NMS, run the display snmp-agent heartbeat configuration command.

Example

# Display the configuration of sending heartbeat packets to the NMS.

<HUAWEI> display snmp-agent heartbeat configuration
SNMP agent heartbeat configuration:
 Status   :     Enabled
 Interval :     60(s)
Table 1 Description of the display snmp-agent heartbeat configuration command output

Item

Description

SNMP agent heartbeat configuration

Configuration of sending heartbeat packets to the NMS.

Status

Whether the device is enabled to send heartbeat packets to the NMS:
  • Enabled: The function is enabled.
  • Disabled: The function is disabled.

You can run the snmp-agent heartbeat enable command to configure this parameter.

Interval

The interval at which the device sends heartbeat packets to the NMS.

You can run the snmp-agent heartbeat interval command to configure this parameter.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >