HUAWEI-IPDSLAM-MSTP-MIB :: hwMstpiPortState

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsHUAWEI-IPDSLAM-MSTP-MIBhwMstpiPortState

hwMstpiPortState

Module: HUAWEI-IPDSLAM-MSTP-MIB

OID (symbolic): HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: Indicates the port status. Options: 1. disabled(1) -indicates the port is down 2. discarding(2) -indicates the port is discarding. During this phase, port can only receive and process BPDU data packet, not forward traffic, root bridge, root port, and specified port will be voted 3. learning(4) -indicates the port is learning. During this phase, bridge will create MAC address table according the received traffic, but not forward traffic 4. forwarding(5) -indicates traffic forward

What is hwMstpiPortState?

Reports the current spanning-tree state of this port for the instance: disabled (down), discarding (processing only BPDUs, not forwarding), learning (building the MAC table but still not forwarding), or forwarding (passing traffic normally). Admins watch for a port stuck in discarding or learning instead of progressing to forwarding, a sign of a spanning-tree convergence problem.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2
snmpwalk -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2.1
snmpget -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState.1

SNMPv3 example:

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

Start monitoring Huawei IP-DSLAM access node (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState OID value, configure state conditions and alerts, and monitor any Huawei IP-DSLAM access node (Multiple Spanning Tree Protocol) from a single console.

OID Breakdown

Upper-level ancestors (9 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.2011huaweiHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
Numeric OIDNameModule
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
1.3.6.1.4.1.2011.5.25.42.4.1.20hwMstpPortTableHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.20.1hwMstpPortEntryHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2hwMstpiPortStateHUAWEI-IPDSLAM-MSTP-MIB