DES3026-L2MGMT-MIB :: swL2StpPortRole

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › DES3026-L2MGMT-MIB › swL2StpPortRole

swL2StpPortRole

Module: DES3026-L2MGMT-MIB

OID (symbolic): DES3026-L2MGMT-MIB::swL2StpPortRole

OID (numeric): 1.3.6.1.4.1.171.11.63.3.2.16.4.1.4

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: When the port Enable state is enabled, the port's current port role as defined by application of the Spanning Tree Protocol. If the Port Enable state is disabled, the the port role will be nonstp(7). If the port is in loop-back status, the port role will be loopback(8)

What is swL2StpPortRole?

Reports a port's current Spanning Tree Protocol role, such as root(4), the port with the best path to the root bridge, designated(5), alternate(2), or backup(3); it shows nonStp(6) if STP is disabled on the port, or loopback(7) if the port has detected a loop-back condition. Admins use this to understand the logical STP topology, e.g. confirming which port is acting as the root port toward the STP root bridge.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.63.3.2.16.4.1.4
snmpwalk -v2c -c public <target> DES3026-L2MGMT-MIB::swL2StpPortRole

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.63.3.2.16.4.1.4.1
snmpget -v2c -c public <target> DES3026-L2MGMT-MIB::swL2StpPortRole.1

Start monitoring D-Link DES-3026 switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES3026-L2MGMT-MIB::swL2StpPortRole OID value, configure state conditions and alerts, and monitor any D-Link DES-3026 switch from a single console.

OID Breakdown

Upper-level ancestors (10 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.11dlink_mgmtDES2218-MIB
1.3.6.1.4.1.171.11.63des30xxSeriesProdDLINK-SWPRIMGMT-MIB
1.3.6.1.4.1.171.11.63.3des3026DLINK-SWPRIMGMT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.11.63.3.2swL2MgmtMIBDES3026-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.3.2.16swL2StpMgmtDES3026-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.3.2.16.4swL2StpPortTableDES3026-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.3.2.16.4.1swL2StpPortEntryDES3026-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.3.2.16.4.1.4swL2StpPortRoleDES3026-L2MGMT-MIB