SW-COMMON-MIB :: swL2DevCtrlStpState

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › SW-COMMON-MIB › swL2DevCtrlStpState

swL2DevCtrlStpState

Module: SW-COMMON-MIB

OID (symbolic): SW-COMMON-MIB::swL2DevCtrlStpState

OID (numeric): 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1.1

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This object can be enabled or disabled spanning tree algorithm during runtime of the system.

What is swL2DevCtrlStpState?

This object turns the Spanning Tree Protocol algorithm on or off for the switch at runtime, or reports other/notAvailable if that state can't be determined. Admins toggle it to enable loop prevention on a Layer 2 network without rebooting the device, or disable it temporarily while troubleshooting a topology issue. Setting this to enabled(3) activates STP so the switch begins blocking redundant links to avoid a bridging loop.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1.1
snmpwalk -v2c -c public <target> SW-COMMON-MIB::swL2DevCtrlStpState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1.1.1
snmpget -v2c -c public <target> SW-COMMON-MIB::swL2DevCtrlStpState.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1.1.1 i <value>

Start monitoring D-Link ES2000 'Golf' series switch (Marconi-branded OEM, shared object definitions) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SW-COMMON-MIB::swL2DevCtrlStpState OID value, configure state conditions and alerts, and monitor any D-Link ES2000 'Golf' series switch (Marconi-branded OEM, shared object definitions) from a single console.

OID Breakdown

Upper-level ancestors (13 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.326foreCOMMON-GOLF-MIB
1.3.6.1.4.1.326.2systemsCOMMON-GOLF-MIB
1.3.6.1.4.1.326.2.20ethernetCOMMON-GOLF-MIB
1.3.6.1.4.1.326.2.20.1edgeCOMMON-GOLF-MIB
1.3.6.1.4.1.326.2.20.1.2golfCOMMON-GOLF-MIB
1.3.6.1.4.1.326.2.20.1.2.2golfcommonCOMMON-GOLF-MIB
1.3.6.1.4.1.326.2.20.1.2.2.2fore_mgmtCOMMON-GOLF-MIB
Numeric OIDNameModule
1.3.6.1.4.1.326.2.20.1.2.2.2.28es2000MgmtSW-COMMON-MIB
1.3.6.1.4.1.326.2.20.1.2.2.2.28.2swL2MgmtSW-COMMON-MIB
1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1swL2DevMgmtSW-COMMON-MIB
1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1swL2DevCtrlSW-COMMON-MIB
1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1.1swL2DevCtrlStpStateSW-COMMON-MIB