HUAWEI-MSTP-MIB :: hwMstpProPortStpClearStatistics

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-MSTP-MIB › hwMstpProPortStpClearStatistics

hwMstpProPortStpClearStatistics

Module: HUAWEI-MSTP-MIB

OID (symbolic): HUAWEI-MSTP-MIB::hwMstpProPortStpClearStatistics

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.25.1.21

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Clear the Spanning Tree statistics in specified MSTP process. The value is unused(65535) when it is read. The value must be clear(1) when it is set.

What is hwMstpProPortStpClearStatistics?

Clears the accumulated BPDU statistics counters for this port within the given MSTP process. Reading this object always returns unused(65535); an admin writes clear(1) to reset the counters.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.25.1.21
snmpwalk -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpProPortStpClearStatistics

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.25.1.21.1
snmpget -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpProPortStpClearStatistics.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.4.1.25.1.21.1 i <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwMstpProPortStpClearStatistics.1

Start monitoring Huawei enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-MSTP-MIB::hwMstpProPortStpClearStatistics OID value, configure state conditions and alerts, and monitor any Huawei enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) from a single console.

OID Breakdown

Upper-level ancestors (12 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiEXPERTV2-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25.42hwL2MgmtHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4hwMstpHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1hwMstpObjectsHUAWEI-IPDSLAM-MSTP-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.42.4.1.25hwMstpProPortTableHUAWEI-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.25.1hwMstpProPortEntryHUAWEI-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.25.1.21hwMstpProPortStpClearStatisticsHUAWEI-MSTP-MIB