DGS-1248T-B1-MIB :: spanOnOff

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › DGS-1248T-B1-MIB › spanOnOff

spanOnOff

Module: DGS-1248T-B1-MIB

OID (symbolic): DGS-1248T-B1-MIB::spanOnOff

OID (numeric): 1.3.6.1.4.1.171.10.76.6.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 globally enables or disables Spanning Tree Protocol on the switch, which prevents Layer 2 loops when multiple redundant links exist between switches. An admin enables this in any network with redundant uplinks to avoid a broadcast storm from an accidental loop.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.76.6.4.1
snmpwalk -v2c -c public <target> DGS-1248T-B1-MIB::spanOnOff

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.76.6.4.1.1
snmpget -v2c -c public <target> DGS-1248T-B1-MIB::spanOnOff.1

Set instance 1 (SNMPv2c):

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

Start monitoring D-Link Gigabit smart switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DGS-1248T-B1-MIB::spanOnOff OID value, configure state conditions and alerts, and monitor any D-Link Gigabit smart switches from a single console.

OID Breakdown

Upper-level ancestors (9 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.10dlink_productsDES-1226G-MIB
1.3.6.1.4.1.171.10.76dlink_DGS12XXTSeriesProdDGS-1216T-DX-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.10.76.6dgs_1248tb1DGS-1248T-B1-MIB
1.3.6.1.4.1.171.10.76.6.4companySpanGroupDGS-1248T-B1-MIB
1.3.6.1.4.1.171.10.76.6.4.1spanOnOffDGS-1248T-B1-MIB