CISCO-STACK-MIB :: vlanSpantreeEnable

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCISCO-STACK-MIBvlanSpantreeEnable

vlanSpantreeEnable

Module: CISCO-STACK-MIB

OID (symbolic): CISCO-STACK-MIB::vlanSpantreeEnable

OID (numeric): 1.3.6.1.4.1.9.5.1.9.2.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Indicates whether Spanning Tree protocol is enabled for this Virtual LAN.

If the device only supports a single global Spanning Tree PVST+ Protocol enable/disable for all the existing VLANs, then the object value assigned to this VLAN will be applied to the object values of all the instances in this table which do not have the value of notApplicable(3).

This object is deprecated and replaced by stpxPVSTVlanEnable in CISCO-STP-EXTENSIONS-MIB.

What is vlanSpantreeEnable?

This read-write object indicates and controls whether the Spanning Tree Protocol is enabled for a given VLAN, helping prevent Layer 2 loops on that VLAN.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.5.1.9.2.1.2
snmpwalk -v2c -c public <target> CISCO-STACK-MIB::vlanSpantreeEnable

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.9.5.1.9.2.1.2.1
snmpget -v2c -c public <target> CISCO-STACK-MIB::vlanSpantreeEnable.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.9.5.1.9.2.1.2.1 i <value>

Start monitoring Cisco Catalyst switch (legacy/mid-generation) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-STACK-MIB::vlanSpantreeEnable OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (legacy/mid-generation) from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.9ciscoCAT2600-MIB
1.3.6.1.4.1.9.5workgroupCISCO-ES-STACK-MIB
Numeric OIDNameModule
1.3.6.1.4.1.9.5.1ciscoStackMIBCISCO-STACK-MIB
1.3.6.1.4.1.9.5.1.9vlanGrpCISCO-STACK-MIB
1.3.6.1.4.1.9.5.1.9.2vlanTableCISCO-STACK-MIB
1.3.6.1.4.1.9.5.1.9.2.1vlanEntryCISCO-STACK-MIB
1.3.6.1.4.1.9.5.1.9.2.1.2vlanSpantreeEnableCISCO-STACK-MIB