< Home

snmp-agent trap enable feature-name sindex

Function

The snmp-agent trap enable feature-name sindex command enables the trap function for the SINDEX module.

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

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

Format

snmp-agent trap enable feature-name sindex [ trap-name hwnetstreamindexusedup ]

undo snmp-agent trap enable feature-name sindex [ trap-name hwnetstreamindexusedup ]

Parameters

Parameter

Description

Value

trap-name

Specifies the name of the trap for a specified event on the SINDEX module.

-

hwnetstreamindexusedup

Sends Huawei-proprietary trap messages when all interface indexes are allocated.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The snmp-agent trap enable feature-name sindex command is used to enable an SINDEX trap. After that, the trap generated during the device running will be sent to the NMS.

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

Example

# Enable the trap function for the SINDEX module.

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