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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.326 | fore | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2 | systems | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20 | ethernet | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1 | edge | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2 | golf | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2 | golfcommon | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2 | fore_mgmt | COMMON-GOLF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28 | es2000Mgmt | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2 | swL2Mgmt | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1 | swL2DevMgmt | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1 | swL2DevCtrl | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.1.1.1 | swL2DevCtrlStpState | SW-COMMON-MIB |