All MIBs › NETI-ETH-MIB › ethIfRstpPathCost
ethIfRstpPathCost
Module: NETI-ETH-MIB
OID (symbolic): NETI-ETH-MIB::ethIfRstpPathCost
OID (numeric): 1.3.6.1.4.1.2928.2.2.1.3.9.1.5
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: The contribution of this port to the path cost of paths towards the spanning tree root which include this port.
A value of zero (0) means that the path cost is automatically calculated based on the port speed, as per formula:
20,000,000 / min(ethIfInSpeed, ethIfOutSpeed)
What is ethIfRstpPathCost?
This port's contribution to the path cost toward the spanning-tree root; 0 (the default) tells the device to auto-calculate the cost as 20,000,000 divided by the port's minimum of in/out speed, so a manual override is only needed to bias path selection away from the automatic speed-based cost.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2928.2.2.1.3.9.1.5 snmpwalk -v2c -c public <target> NETI-ETH-MIB::ethIfRstpPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2928.2.2.1.3.9.1.5.1 snmpget -v2c -c public <target> NETI-ETH-MIB::ethIfRstpPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2928.2.2.1.3.9.1.5.1 i <value>
Start monitoring Net Insight Nimbra media transport node (Ethernet transport services) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NETI-ETH-MIB::ethIfRstpPathCost OID value, configure state conditions and alerts, and monitor any Net Insight Nimbra media transport node (Ethernet transport services) 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.2928 | netinsight | NETI-COMMON-MIB |
| 1.3.6.1.4.1.2928.2 | netiGeneric | NETI-COMMON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2928.2.2 | netiEthMIB | NETI-ETH-MIB |
| 1.3.6.1.4.1.2928.2.2.1 | ethObjects | NETI-ETH-MIB |
| 1.3.6.1.4.1.2928.2.2.1.3 | ethInterfaceGroup | NETI-ETH-MIB |
| 1.3.6.1.4.1.2928.2.2.1.3.9 | ethIfRstpTable | NETI-ETH-MIB |
| 1.3.6.1.4.1.2928.2.2.1.3.9.1 | ethIfRstpEntry | NETI-ETH-MIB |
| 1.3.6.1.4.1.2928.2.2.1.3.9.1.5 | ethIfRstpPathCost | NETI-ETH-MIB |