< Home

display snmp-agent trap feature-name hgmp all

Function

The display snmp-agent trap feature-name hgmp all command displays the status of all traps for the HGMP module.

Format

display snmp-agent trap feature-name hgmp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.

To check whether all trap functions of the HGMP module are enabled, run the display snmp-agent trap feature-name hgmp all command.

Example

# Display the status of all traps for the HGMP module.

<HUAWEI>display snmp-agent trap feature-name hgmp all
------------------------------------------------------------------------------
Feature name: HGMP
Trap number : 1
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
hgmpNtdpTopoChange              on                      on
Table 1 Description of the display snmp-agent trap feature-name hgmp all command output

Item

Description

Feature name

Name of the module to which a trap message belongs.

Trap number

Number of trap messages.

Trap name

Name of a trap message of the HGMP module:

  • hgmpNtdpTopoChange: enables the device to send a trap when NTDP topology is changed.

Default switch status

Status of the default trap function:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current trap flag:

  • on: The trap function is enabled.
  • off: The trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >