< Home

snmp-agent trap enable feature-name poetrap

Function

snmp-agent trap enable feature-name poetrap command enables the trap function for the POETRAP module.

undo snmp-agent trap enable feature-name poetrap command disables the trap function for the POETRAP module.

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

Format

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

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

Parameters

Parameter

Description

Value

trap-name trap-name

Specifies the trap for an event of the POETRAP module.

The value is an enumerated value and must be set as prompted by the device.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When the trap function is enabled, the device generates traps during running and sends traps to the NMS through SNMP. When the trap function is not enabled, the device does not generate traps and the SNMP module does not send traps to the NMS.

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

Example

# Enable the hwpoepdconnected trap of the POETRAP module.

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