IEEE8021-MSTP-MIB :: ieee8021MstpPortRole

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsIEEE8021-MSTP-MIBieee8021MstpPortRole

ieee8021MstpPortRole

Module: IEEE8021-MSTP-MIB

OID (symbolic): IEEE8021-MSTP-MIB::ieee8021MstpPortRole

OID (numeric): 1.3.111.2.802.1.1.6.1.4.1.12

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: In an MSTP Bridge, the current Port Role for the Port (i.e., Root, Alternate, Designated, or Backup), for the MSTI.

What is ieee8021MstpPortRole?

The current spanning-tree role of this port for this specific MST Instance: root(1), designated(3), alternate(2), or backup(4) — since MSTIs can differ from the CIST, a port can be forwarding on one instance while blocking on another.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.111.2.802.1.1.6.1.4.1.12
snmpwalk -v2c -c public <target> IEEE8021-MSTP-MIB::ieee8021MstpPortRole

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.111.2.802.1.1.6.1.4.1.12.1
snmpget -v2c -c public <target> IEEE8021-MSTP-MIB::ieee8021MstpPortRole.1

Start monitoring Vendor-neutral IEEE 802.1s standard (enterprise/campus Ethernet bridge or switch, MSTP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IEEE8021-MSTP-MIB::ieee8021MstpPortRole OID value, configure state conditions and alerts, and monitor any Vendor-neutral IEEE 802.1s standard (enterprise/campus Ethernet bridge or switch, MSTP) from a single console.

OID Breakdown

Upper-level ancestors (3 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.111.2.802.1.1ieee802dot1mibsIEEE8021-TC-MIB
Numeric OIDNameModule
1.3.111.2.802.1.1.6ieee8021MstpMibIEEE8021-MSTP-MIB
1.3.111.2.802.1.1.6.1ieee8021MstpObjectsIEEE8021-MSTP-MIB
1.3.111.2.802.1.1.6.1.4ieee8021MstpPortTableIEEE8021-MSTP-MIB
1.3.111.2.802.1.1.6.1.4.1ieee8021MstpPortEntryIEEE8021-MSTP-MIB
1.3.111.2.802.1.1.6.1.4.1.12ieee8021MstpPortRoleIEEE8021-MSTP-MIB