All MIBs › STP-MIB › stpDot1dStpPortPathCost
stpDot1dStpPortPathCost
Module: STP-MIB
OID (symbolic): STP-MIB::stpDot1dStpPortPathCost
OID (numeric): 1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: DURABLE: { 10:all } The contribution of this port to the path cost of paths towards the spanning tree root which include this port. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN.
What is stpDot1dStpPortPathCost?
This port's contribution to the total path cost of routes toward the spanning-tree root that pass through it; the IEEE standard recommends setting it in inverse proportion to the port's link speed, so faster links get a lower cost.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1.5 snmpwalk -v2c -c public <target> STP-MIB::stpDot1dStpPortPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1.5.1 snmpget -v2c -c public <target> STP-MIB::stpDot1dStpPortPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1.5.1 i <value>
Start monitoring vendor-neutral, standards-based MIB, managed Ethernet switch/bridge running Spanning Tree Protocol (802.1D) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the STP-MIB::stpDot1dStpPortPathCost OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, managed Ethernet switch/bridge running Spanning Tree Protocol (802.1D) from a single console.
OID Breakdown
Upper-level ancestors (10 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.13464 | admin | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1 | dataCom | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2 | gbn | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2.4 | gbnL2 | ADMIN-MASTER-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.13464.1.2.4.3 | stpMib | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1 | stpMIBObjects | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1.1 | stpDot1dStp | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1.1.15 | stpDot1dStpPortTable | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1 | stpDot1dStpPortEntry | STP-MIB |
| 1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1.5 | stpDot1dStpPortPathCost | STP-MIB |