< Home

snmp-agent trap enable feature-name vbst

Function

The snmp-agent trap enable feature-name vbst command enables the trap function for the VBST module.

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

By default, the trap function is disabled for the VBST module.

Format

snmp-agent trap enable feature-name vbst [ trap-name { hwvbstpvnumexceeded | hwvbstpvnumresumed | hwVbstInvalidPV | hwVbstTrunkPVNumExceeded | hwVbstTrunkPVNumResumed | hwvbstrspancfgconflict } ]

undo snmp-agent trap enable feature-name vbst [ trap-name { hwvbstpvnumexceeded | hwvbstpvnumresumed | hwVbstInvalidPV | hwVbstTrunkPVNumExceeded | hwVbstTrunkPVNumResumed | hwvbstrspancfgconflict } ]

Parameters

Parameter Description Value
trap-name Enables the traps of VBST events of specified types. -
hwvbstpvnumexceeded Enables the device to send trap when the number of interfaces and VLANs participating in VBST calculation exceeded the maximum number of interfaces and VLANs allowed by VBST. -
hwvbstpvnumresumed Enables the device to send trap when the number of interfaces and VLANs participating in VBST calculation falls below 95% of the maximum number of interfaces and VLANs allowed by VBST. -
hwVbstInvalidPV Enables the device to send trap when the number of VLANs that do not participate in calculation in the VBST BPDUs received by the interface exceeds the threshold. -
hwVbstTrunkPVNumExceeded Enables the device to send trap when the number of PVs of the Eth-Trunk exceeds the maximum value. -
hwVbstTrunkPVNumResumed Enables the device to send trap when the number of PVs of the Eth-Trunk is restored to be within the allowed range. -
hwvbstrspancfgconflict

Enables the device to send trap when the device in VBST mode and the Eth-Trunk configuration conflicts with the remote observing port configuration

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The VBST module is not configured with the function of excessive traps. To enable the traps of one or more events, you can specify trap-name.

Example

# Enables the device to send trap when the number of interfaces and VLANs participating in VBST calculation exceeded the maximum number of interfaces and VLANs allowed by VBST.

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