< Home

snmp-agent trap enable feature-name sysres

Function

The snmp-agent trap enable feature-name sysres command enables an SYSRES trap.

The undo snmp-agent trap enable feature-name sysres command disables an SYSRES trap.

Format

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

undo snmp-agent trap enable feature-name sysres [ 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 SYSRES module of the device, run the snmp-agent trap enable feature-name sysres command to enable an SYSRES trap. The command configuration ensures that the traps generated during the device operation are sent to the NMS. Otherwise, SYSRES traps are not sent to the NMS.

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

Example

# Enable the hwsysresourcethresholdexceed trap.

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