All MIBs › DES-2108-B1-MIB › spanOnOff
spanOnOff
Module: DES-2108-B1-MIB
OID (symbolic): DES-2108-B1-MIB::spanOnOff
OID (numeric): 1.3.6.1.4.1.171.10.61.3.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 the switch, which an admin turns on to prevent Layer 2 loops in a network with redundant links.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.61.3.4.1 snmpwalk -v2c -c public <target> DES-2108-B1-MIB::spanOnOff
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.61.3.4.1.1 snmpget -v2c -c public <target> DES-2108-B1-MIB::spanOnOff.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.61.3.4.1.1 i <value>
Start monitoring D-Link DES-2108 8-port smart switch (B1 revision) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES-2108-B1-MIB::spanOnOff OID value, configure state conditions and alerts, and monitor any D-Link DES-2108 8-port smart switch (B1 revision) 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.61 | dlink_DES21XXSeriesProd | DES-2108-B1-MIB |
| 1.3.6.1.4.1.171.10.61.3 | des_2108b1 | DES-2108-B1-MIB |
| 1.3.6.1.4.1.171.10.61.3.4 | companySpanGroup | DES-2108-B1-MIB |
| 1.3.6.1.4.1.171.10.61.3.4.1 | spanOnOff | DES-2108-B1-MIB |