TPLINK-SPANNING-TREE-MIB :: tpStpPortEnable

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsTPLINK-SPANNING-TREE-MIBtpStpPortEnable

tpStpPortEnable

Module: TPLINK-SPANNING-TREE-MIB

OID (symbolic): TPLINK-SPANNING-TREE-MIB::tpStpPortEnable

OID (numeric): 1.3.6.1.4.1.11863.6.21.1.2.1.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Select Enable /Disable STP function for the desired port. 0. Disable 1. Enable 2. ErrPort

What is tpStpPortEnable?

Enables, disables, or reports an error state (errPort) for STP on this port. Admins disable STP on a port when it should never participate in the spanning tree, such as a port facing an end host.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.2.1.1.2
snmpwalk -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpStpPortEnable

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.2.1.1.2.1
snmpget -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpStpPortEnable.1

Set instance 1 (SNMPv2c):

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

Start monitoring TP-Link managed switch (STP/RSTP/MSTP port role/state status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TPLINK-SPANNING-TREE-MIB::tpStpPortEnable OID value, configure state conditions and alerts, and monitor any TP-Link managed switch (STP/RSTP/MSTP port role/state status) 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.11863tplinkTPLINK-MIB
1.3.6.1.4.1.11863.6tplinkMgmtTPLINK-MIB
Numeric OIDNameModule
1.3.6.1.4.1.11863.6.21tplinkSpanningTreeMIBTPLINK-SPANNING-TREE-MIB
1.3.6.1.4.1.11863.6.21.1tplinkSpanningTreeMIBObjectsTPLINK-SPANNING-TREE-MIB
1.3.6.1.4.1.11863.6.21.1.2tpStpPortCfgTPLINK-SPANNING-TREE-MIB
1.3.6.1.4.1.11863.6.21.1.2.1tpStpPortConfigTableTPLINK-SPANNING-TREE-MIB
1.3.6.1.4.1.11863.6.21.1.2.1.1tpStpPortConfigEntryTPLINK-SPANNING-TREE-MIB
1.3.6.1.4.1.11863.6.21.1.2.1.1.2tpStpPortEnableTPLINK-SPANNING-TREE-MIB