All MIBs › DGS-1216T-DX-MIB › spanOnOff
spanOnOff
Module: DGS-1216T-DX-MIB
OID (symbolic): DGS-1216T-DX-MIB::spanOnOff
OID (numeric): 1.3.6.1.4.1.171.10.76.4.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?
Globally enables or disables Spanning Tree Protocol on this switch, which an admin toggles to prevent Layer 2 loops in a redundant-link topology.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.76.4.4.1 snmpwalk -v2c -c public <target> DGS-1216T-DX-MIB::spanOnOff
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.76.4.4.1.1 snmpget -v2c -c public <target> DGS-1216T-DX-MIB::spanOnOff.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.76.4.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-1216T-DX-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 (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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.76 | dlink_DGS12XXTSeriesProd | DGS-1216T-DX-MIB |
| 1.3.6.1.4.1.171.10.76.4 | dgs_1216tdx | DGS-1216T-DX-MIB |
| 1.3.6.1.4.1.171.10.76.4.4 | companySpanGroup | DGS-1216T-DX-MIB |
| 1.3.6.1.4.1.171.10.76.4.4.1 | spanOnOff | DGS-1216T-DX-MIB |