< Home

snmp-agent trap enable feature-name sspadp

Function

The snmp-agent trap enable feature-name sspadp command enables the trap function for the SSPADP module.

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

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

Format

snmp-agent trap enable feature-name sspadp [ trap-name hwpatchdelneedrestarttrap ]

undo snmp-agent trap enable feature-name sspadp [ trap-name hwpatchdelneedrestarttrap ]

Parameters

Parameter

Description

Value

trap-name

Enables or disables the trap function for a specified event of the SSPADP module.

-

hwpatchdelneedrestarttrap

Enables the switch to send a Huawei proprietary trap when the patch in the system is deleted.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the trap function is enabled, the switch generates traps during operation and sends the traps to the NMS through the SNMP module. If the trap function is disabled, the switch does not generate traps and the SNMP module does not send traps to the NMS.

Example

# Enable the hwpatchdelneedrestarttrap trap function for the SSPADP module.

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