All MIBs › DES-1228-MIB › spanOnOff
spanOnOff
Module: DES-1228-MIB
OID (symbolic): DES-1228-MIB::spanOnOff
OID (numeric): 1.3.6.1.4.1.171.10.75.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?
spanOnOff globally enables or disables Spanning Tree Protocol on the switch. Turning it on lets the switch participate in loop prevention with other bridges; turning it off is typically only done in small, single-switch setups where no redundant links exist.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.75.2.4.1 snmpwalk -v2c -c public <target> DES-1228-MIB::spanOnOff
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.75.2.4.1.1 snmpget -v2c -c public <target> DES-1228-MIB::spanOnOff.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.75.2.4.1.1 i <value>
Start monitoring D-Link DES-1228 smart switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES-1228-MIB::spanOnOff OID value, configure state conditions and alerts, and monitor any D-Link DES-1228 smart switch from a single console.
OID Breakdown
Upper-level ancestors (9 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 |
| 1.3.6.1.4.1.171.10.75 | dlink_FESmartSwitch | DES-1226G-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.75.2 | des_1228a1 | DES-1228-MIB |
| 1.3.6.1.4.1.171.10.75.2.4 | companySpanGroup | DES-1228-MIB |
| 1.3.6.1.4.1.171.10.75.2.4.1 | spanOnOff | DES-1228-MIB |