< Home

snmp-agent trap enable feature-name system

Function

The snmp-agent trap enable feature-name system command enables an SYSTEM trap.

The undo snmp-agent trap enable feature-name system command disables an SYSTEM trap.

Format

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

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

Parameters

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

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

To enable the NMS to easily manage the SYSTEM module of the device, run the snmp-agent trap enable feature-name system command to enable an SYSTEM trap. The command configuration ensures that the traps generated during the device operation are sent to the NMS. Otherwise, SYSTEM traps are not sent to the NMS.

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

Example

# Enable the hwSysReloadNotification trap.

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