< Home

snmp-agent trap enable feature-name hgmp

Function

The snmp-agent trap enable feature-name hgmp command enables the trap function for the HGMP module.

The undo snmp-agent trap enable feature-name hgmp command disables the trap function for the HGMP module.

By default, the trap function is enabled for the HGMP module.

Format

snmp-agent trap enable feature-name hgmp trap-name hgmpntdptopochange

undo snmp-agent trap enable feature-name hgmp trap-name hgmpntdptopochange

Parameters

Parameter Description Value
trap-name Enables or disables the trap function of a specified HGMP event. -
hgmpntdptopochange Enables or disables a device to or from sending traps when the NTDP topology is changed. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can specify trap-name to enable the trap function for one or more events of the HGMP module.

Example

# Enable the hgmpntdptopochange trap of the HGMP module.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name hgmp trap-name hgmpntdptopochange
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >