All MIBs › STP-MIB › spanOnOff
spanOnOff
Module: STP-MIB
OID (symbolic): STP-MIB::spanOnOff
OID (numeric): 1.3.6.1.4.1.13464.1.2.4.3.1.1.17
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: DURABLE: { enable } Enable/Disable Spanning Tree for the bridge. When 'disable(2)', all ports of the device are placed in the forwarding mode, regardless of current Spanning Tree state. When 'enable(1)', the normal STP state transitions take place.
What is spanOnOff?
Globally enables or disables Spanning Tree for the bridge; when disabled, every port is forced into forwarding mode regardless of the STP state it would otherwise be in, and when enabled, normal STP state transitions resume.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.4.3.1.1.17 snmpwalk -v2c -c public <target> STP-MIB::spanOnOff
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.4.3.1.1.17.1 snmpget -v2c -c public <target> STP-MIB::spanOnOff.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.13464.1.2.4.3.1.1.17.1 i <value>
Start monitoring vendor-neutral, standards-based MIB, managed Ethernet switch/bridge running Spanning Tree Protocol (802.1D) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the STP-MIB::spanOnOff OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, managed Ethernet switch/bridge running Spanning Tree Protocol (802.1D) from a single console.
OID Breakdown
Upper-level ancestors (10 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.13464 | admin | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1 | dataCom | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2 | gbn | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2.4 | gbnL2 | ADMIN-MASTER-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.13464.1.2.4.3 | stpMib | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1 | stpMIBObjects | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1.1 | stpDot1dStp | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1.1.17 | spanOnOff | STP-MIB |