All MIBs › HP-SN-SWITCH-GROUP-MIB › snSwGlobalStpMode
snSwGlobalStpMode
Module: HP-SN-SWITCH-GROUP-MIB
OID (symbolic): HP-SN-SWITCH-GROUP-MIB::snSwGlobalStpMode
OID (numeric): 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.14
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Spanning Tree System Global Mode in the Switch Group can be set either enabled or disabled and the default is enabled mode. enabled(1)...........activate Spanning Tree disabled(0)..........no Spanning Tree
What is snSwGlobalStpMode?
Turns Spanning Tree Protocol on or off for the whole switch group, enabled by default. An admin would disable this only in unusual topologies with no redundant links, since STP normally prevents Layer 2 loops; leaving it enabled is the safe default for any switch with more than one path between devices.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.14 snmpwalk -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwGlobalStpMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.14.1 snmpget -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwGlobalStpMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.14.1 i <value>
Start monitoring HP ServerNet switch (Foundry-heritage) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-SN-SWITCH-GROUP-MIB::snSwGlobalStpMode OID value, configure state conditions and alerts, and monitor any HP ServerNet switch (Foundry-heritage) from a single console.
OID Breakdown
Upper-level ancestors (14 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.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3 | hpsystem | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3.7 | netElement | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11 | hpEtherSwitch | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12 | hpSwitchCore | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1 | switch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3 | snSwitch | HP-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1 | snSwInfo | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.14 | snSwGlobalStpMode | HP-SN-SWITCH-GROUP-MIB |