MSTP-MIB :: swMSTPInstRootPort

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsMSTP-MIBswMSTPInstRootPort

swMSTPInstRootPort

Module: MSTP-MIB

OID (symbolic): MSTP-MIB::swMSTPInstRootPort

OID (numeric): 1.3.6.1.4.1.171.12.15.2.3.1.18

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: The port number of the port which offers the lowest cost path from this bridge to the CIST or MSTI root bridge.

What is swMSTPInstRootPort?

This read-only value reports the port number offering the lowest-cost path from this bridge to the CIST or MSTI root bridge for this instance. Admins check this to identify which physical port is currently the uplink toward the root for a given spanning tree instance.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.15.2.3.1.18
snmpwalk -v2c -c public <target> MSTP-MIB::swMSTPInstRootPort

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.15.2.3.1.18.1
snmpget -v2c -c public <target> MSTP-MIB::swMSTPInstRootPort.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::swMSTPInstRootPort 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.3swMSTPInstanceCtrlTableMSTP-MIB
1.3.6.1.4.1.171.12.15.2.3.1swMSTPInstanceCtrlEntryMSTP-MIB
1.3.6.1.4.1.171.12.15.2.3.1.18swMSTPInstRootPortMSTP-MIB