< Home

snmp-agent trap enable feature-name error-down

Function

The snmp-agent trap enable feature-name error-down command enables the trap function for the error-down module.

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

By default, the trap function is disabled for the error-down module.

Format

snmp-agent trap enable feature-name error-down [ trap-name { hwerrordown | hwerrordownrecovery } ]

undo snmp-agent trap enable feature-name error-down [ trap-name { hwerrordown | hwerrordownrecovery } ]

Parameters

Parameter Description Value
trap-name trap-name

Enables or disables the trap function for a specified event of the error-down module.

-
hwerrordown Enables the trap function for the error-down event. -
hwerrordownrecovery Enables the trap function for the error-down clear event. -

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 error-down module.

Example

# Enable the trap function for the error-down event.

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