< Home

snmp-agent trap enable feature-name pm

Function

The snmp-agent trap enable feature-name pm command enables the trap function of the PM module.

The undo snmp-agent trap enable feature-name pm command disables the trap function of the PM module.

By default, the trap function of the PM module is enabled.

Format

snmp-agent trap enable feature-name pm [ trap-name trap-name ]

undo snmp-agent trap enable feature-name pm [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name Specifies the name of a trap.

This parameter has enumerated values. Select one from the displayed values.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The snmp-agent trap enable feature-name pm command is used to enable a PM trap. After that, the trap generated during the device running will be sent to the NMS.

You can run the display snmp-agent trap feature-name pm all command to check the configuration result.

Example

# Enable hwpmstatisticstaskthresholdtriggeralarm for the PM module.

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