DES3016-L2MGMT-MIB :: swL2StpPortRole

MIB Reference — IPNetwork Monitor · Updated October 02, 2026

All MIBs › DES3016-L2MGMT-MIB › swL2StpPortRole

swL2StpPortRole

Module: DES3016-L2MGMT-MIB

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

OID (numeric): 1.3.6.1.4.1.171.11.63.10.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 the port's current Spanning Tree role: root(4) (best path to the root bridge), designated(5) (forwarding for its segment), alternate(2) or backup(3) (blocked, standing by), or nonStp(6)/loopback(7) when STP isn't applicable to the port. This tells an admin at a glance why a given port is or isn't forwarding, without having to trace the full spanning tree topology by hand.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.63.10.2.16.4.1.4
snmpwalk -v2c -c public <target> DES3016-L2MGMT-MIB::swL2StpPortRole

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.63.10.2.16.4.1.4.1
snmpget -v2c -c public <target> DES3016-L2MGMT-MIB::swL2StpPortRole.1

Start monitoring D-Link DES-3016 switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES3016-L2MGMT-MIB::swL2StpPortRole OID value, configure state conditions and alerts, and monitor any D-Link DES-3016 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.10des3016DLINK-SWPRIMGMT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.11.63.10.2swL2MgmtMIBDES3016-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.10.2.16swL2StpMgmtDES3016-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.10.2.16.4swL2StpPortTableDES3016-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.10.2.16.4.1swL2StpPortEntryDES3016-L2MGMT-MIB
1.3.6.1.4.1.171.11.63.10.2.16.4.1.4swL2StpPortRoleDES3016-L2MGMT-MIB