MSTP-MIB :: swMSTPMstPortStatus

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsMSTP-MIBswMSTPMstPortStatus

swMSTPMstPortStatus

Module: MSTP-MIB

OID (symbolic): MSTP-MIB::swMSTPMstPortStatus

OID (numeric): 1.3.6.1.4.1.171.12.15.2.5.1.6

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: When the port Enable state is enabled, the port's current state as defined by application of the Spanning Tree Protocol. If the PortEnable is disabled, the the port status will be no-stp-enabled(7); If the port is in error disabled status, the port status will be err-disable(8)

What is swMSTPMstPortStatus?

This read-only value reports this port's current MSTP state for this instance, such as discarding(3), learning(4), forwarding(5), or broken(6); it shows no-stp-enabled(7) if the port's STP enable state is disabled, and err-disabled(8) if the port has been put into an error-disabled state. Admins poll this to check whether a port has finished converging to forwarding for a given instance or is stuck in discarding/broken.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.15.2.5.1.6
snmpwalk -v2c -c public <target> MSTP-MIB::swMSTPMstPortStatus

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.15.2.5.1.6.1
snmpget -v2c -c public <target> MSTP-MIB::swMSTPMstPortStatus.1

Start monitoring Enterprise/data-center Ethernet switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MSTP-MIB::swMSTPMstPortStatus OID value, configure state conditions and alerts, and monitor any Enterprise/data-center Ethernet switches from a single console.

OID Breakdown

Upper-level ancestors (8 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.171d_linkDE1500-MIB
1.3.6.1.4.1.171.12dlink_common_mgmtDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.12.15swMSTPMIBMSTP-MIB
1.3.6.1.4.1.171.12.15.2swMSTPCtrlMSTP-MIB
1.3.6.1.4.1.171.12.15.2.5swMSTPMstPortTableMSTP-MIB
1.3.6.1.4.1.171.12.15.2.5.1swMSTPMstPortEntryMSTP-MIB
1.3.6.1.4.1.171.12.15.2.5.1.6swMSTPMstPortStatusMSTP-MIB