All MIBs › TPLINK-SPANNING-TREE-MIB › tpStpPortStatus
tpStpPortStatus
Module: TPLINK-SPANNING-TREE-MIB
OID (symbolic): TPLINK-SPANNING-TREE-MIB::tpStpPortStatus
OID (numeric): 1.3.6.1.4.1.11863.6.21.1.2.1.1.11
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Displays the working status of the port. 1.Disconnected: In this status the port is not participating in the STP. 2.Blocking: In this status the port can only receive BPDU packets. 3.Learning: In this status the port can receive/send BPDU packets and learn MAC address. 4.Forwarding: In this status the port can receive/forward data, receive/send BPDU packets as well as learn MAC address.
What is tpStpPortStatus?
Reports this port's current spanning-tree forwarding state: disconnected (not participating), blocking (only receives BPDUs), learning (exchanges BPDUs and learns MAC addresses but doesn't forward data), or forwarding (fully passing traffic).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.2.1.1.11 snmpwalk -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpStpPortStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.2.1.1.11.1 snmpget -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpStpPortStatus.1
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::tpStpPortStatus 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 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.11863 | tplink | TPLINK-MIB |
| 1.3.6.1.4.1.11863.6 | tplinkMgmt | TPLINK-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11863.6.21 | tplinkSpanningTreeMIB | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1 | tplinkSpanningTreeMIBObjects | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1.2 | tpStpPortCfg | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1.2.1 | tpStpPortConfigTable | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1.2.1.1 | tpStpPortConfigEntry | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1.2.1.1.11 | tpStpPortStatus | TPLINK-SPANNING-TREE-MIB |