All MIBs › ZYXEL-GS2024-MIB › stpState
stpState
Module: ZYXEL-GS2024-MIB
OID (symbolic): ZYXEL-GS2024-MIB::stpState
OID (numeric): 1.3.6.1.4.1.890.1.5.8.15.11.5
Node type: OBJECT-TYPE
Type: EnabledStatus
Access: read-write
What is stpState?
Turns Spanning Tree Protocol on or off for the switch. The source MIB's own DESCRIPTION field for this object is empty, so this reading is inferred from the object's name, its SYNTAX/enumeration, and its position in the MIB tree rather than vendor prose. An admin enables this on any switch that has (or might have) redundant links to other switches, to prevent Layer 2 loops and broadcast storms.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.890.1.5.8.15.11.5 snmpwalk -v2c -c public <target> ZYXEL-GS2024-MIB::stpState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.890.1.5.8.15.11.5.1 snmpget -v2c -c public <target> ZYXEL-GS2024-MIB::stpState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.890.1.5.8.15.11.5.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> stpState.1
Start monitoring ZyXEL GS-2024 24-port Gigabit smart switch (event-log severity/service-affecting-fault trap status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ZYXEL-GS2024-MIB::stpState OID value, configure state conditions and alerts, and monitor any ZyXEL GS-2024 24-port Gigabit smart switch (event-log severity/service-affecting-fault trap status) 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.890 | zyxel | IES5206-MIB |
| 1.3.6.1.4.1.890.1 | products | IES5206-MIB |
| 1.3.6.1.4.1.890.1.5 | accessSwitch | IES5206-MIB |
| 1.3.6.1.4.1.890.1.5.8 | esSeries | ZYXEL-ES2024A-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.890.1.5.8.15 | gs2024 | ZYXEL-GS2024-MIB |
| 1.3.6.1.4.1.890.1.5.8.15.11 | layer2Setup | ZYXEL-GS2024-MIB |
| 1.3.6.1.4.1.890.1.5.8.15.11.5 | stpState | ZYXEL-GS2024-MIB |