All MIBs › ZYXEL-STP-MIB › zyStpMode
zyStpMode
Module: ZYXEL-STP-MIB
OID (symbolic): ZYXEL-STP-MIB::zyStpMode
OID (numeric): 1.3.6.1.4.1.890.1.15.3.79.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Activate one of the spanning tree protocol modes on the Switch.
What is zyStpMode?
This object selects which spanning tree protocol variant, RSTP, MRSTP (Multiple RSTP), or MSTP (Multiple Spanning Tree), the switch runs to prevent Layer 2 loops. An administrator chooses the mode matching their network's topology needs, such as MSTP when multiple VLANs need independent spanning tree instances mapped across them. For example, setting zyStpMode to mstp(3) lets the administrator run separate spanning tree instances per VLAN group instead of a single tree for the whole switch.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.79.1.1 snmpwalk -v2c -c public <target> ZYXEL-STP-MIB::zyStpMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.79.1.1.1 snmpget -v2c -c public <target> ZYXEL-STP-MIB::zyStpMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.890.1.15.3.79.1.1.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> zyStpMode.1
Start monitoring ZyXEL managed switch (STP bridge-priority/per-port state/root-bridge status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ZYXEL-STP-MIB::zyStpMode OID value, configure state conditions and alerts, and monitor any ZyXEL managed switch (STP bridge-priority/per-port state/root-bridge 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.15 | nwa1100nh | NWA1100-NH |
| 1.3.6.1.4.1.890.1.15.3 | esMgmt | NWA1100-NH |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.890.1.15.3.79 | zyxelStp | ZYXEL-STP-MIB |
| 1.3.6.1.4.1.890.1.15.3.79.1 | zyxelStpSetup | ZYXEL-STP-MIB |
| 1.3.6.1.4.1.890.1.15.3.79.1.1 | zyStpMode | ZYXEL-STP-MIB |