All MIBs › POWERCONNECT5012-MIB › spanOnOff
spanOnOff
Module: POWERCONNECT5012-MIB
OID (symbolic): POWERCONNECT5012-MIB::spanOnOff
OID (numeric): 1.3.6.1.4.1.674.10895.2.4.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Enable/Disable Spanning Tree. A (1) enables, a (2) disables.
What is spanOnOff?
This read-write flag enables (1) or disables (2) the Spanning Tree Protocol on the switch. Admins toggle this when they need to intentionally bypass loop prevention during specific network changes, or re-enable it for normal loop-safe operation.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.674.10895.2.4.1 snmpwalk -v2c -c public <target> POWERCONNECT5012-MIB::spanOnOff
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.674.10895.2.4.1.1 snmpget -v2c -c public <target> POWERCONNECT5012-MIB::spanOnOff.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.674.10895.2.4.1.1 i <value>
Start monitoring Dell PowerConnect 5012 switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the POWERCONNECT5012-MIB::spanOnOff OID value, configure state conditions and alerts, and monitor any Dell PowerConnect 5012 switch from a single console.
OID Breakdown
Upper-level ancestors (8 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.674 | dell | ArrayManager-MIB |
| 1.3.6.1.4.1.674.10895 | dellLan | Dell-Vendor-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.674.10895.2 | powerconnect5012 | POWERCONNECT5012-MIB |
| 1.3.6.1.4.1.674.10895.2.4 | dellSpanGroup | POWERCONNECT5012-MIB |
| 1.3.6.1.4.1.674.10895.2.4.1 | spanOnOff | POWERCONNECT5012-MIB |