All MIBs › TPLINK-SPANNING-TREE-MIB › tpMstpInstancePortPathCost
tpMstpInstancePortPathCost
Module: TPLINK-SPANNING-TREE-MIB
OID (symbolic): TPLINK-SPANNING-TREE-MIB::tpMstpInstancePortPathCost
OID (numeric): 1.3.6.1.4.1.11863.6.21.1.3.3.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Path Cost is used to choose the path and calculate the path costs of ports in an MST region. It is an important criterion on determining the root port. The lower value has the higher priority.
What is tpMstpInstancePortPathCost?
This port's path cost (0-2000000) within the specific MST instance identified by tpMstpInstancePortConfigId; a lower value gives the port a better chance of being chosen as the root port for that instance.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.3.3.1.4 snmpwalk -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpMstpInstancePortPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.21.1.3.3.1.4.1 snmpget -v2c -c public <target> TPLINK-SPANNING-TREE-MIB::tpMstpInstancePortPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11863.6.21.1.3.3.1.4.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> tpMstpInstancePortPathCost.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::tpMstpInstancePortPathCost 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.3 | tpStpInstanceCfg | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1.3.3 | tpMstpInstancePortConfigTable | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1.3.3.1 | tpMstpInstancePortConfigEntry | TPLINK-SPANNING-TREE-MIB |
| 1.3.6.1.4.1.11863.6.21.1.3.3.1.4 | tpMstpInstancePortPathCost | TPLINK-SPANNING-TREE-MIB |