All MIBs › TPLINK-SPANNING-TREE-MIB › tpStpPortRole
tpStpPortRole
Module: TPLINK-SPANNING-TREE-MIB
OID (symbolic): TPLINK-SPANNING-TREE-MIB::tpStpPortRole
OID (numeric): 1.3.6.1.4.1.11863.6.21.1.2.1.1.10
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Displays the role of the port played in the STP Instance. 1.Disable:Indicates the port that is not participating in the STP. 2.Alternate:Indicates the port that can be a backup port of a root or master port. 3.Backup:Indicates the port that is the backup port of a designated port. 4.Designated:Indicates the port that forwards packets to a downstream network segment or switch. 5.root:Indicates the port that has the lowest path cost from this bridge to the Root Bridge and forwards packets to the root. 6.Master:Indicates the port that connects a MST region to the common root. The path from the master port to the common root is the shortest path between this MST region and the common root.
What is tpStpPortRole?
Reports this port's role in the spanning tree: root (best path to the root), designated (forwards to a downstream segment), alternate (backup for a root/master port), backup (backup for a designated port), master (connects an MST region to the common root), disabled, or n-a.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.2.1.1.10 snmpwalk -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpStpPortRole
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.2.1.1.10.1 snmpget -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpStpPortRole.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::tpStpPortRole 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.10 | tpStpPortRole | TPLINK-SPANNING-TREE-MIB |