All MIBs › COMTROL-ES8510-MIB › stpPerPortCfgPathCost
stpPerPortCfgPathCost
Module: COMTROL-ES8510-MIB
OID (symbolic): COMTROL-ES8510-MIB::stpPerPortCfgPathCost
OID (numeric): 1.3.6.1.4.1.2882.2.1.1.4.5.7.1.3
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: The cost of the path to the other bridge from this transmitting bridge at the specified port. Enter a number from 1 through 200000000. (0 will auto set path cost to standard recommended value)
What is stpPerPortCfgPathCost?
This read-write value, from 1 to 200000000 (with 0 meaning auto-select based on link speed), assigns the cost Spanning Tree uses for this port's link when calculating the best path to the root bridge. An admin sets a lower cost on the link that should be preferred as the primary path, letting higher-cost links serve only as standby routes. For example, giving the primary fiber uplink a lower path cost than a slower copper backup link ensures STP always prefers the fiber path when both are available.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2882.2.1.1.4.5.7.1.3 snmpwalk -v2c -c public <target> COMTROL-ES8510-MIB::stpPerPortCfgPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2882.2.1.1.4.5.7.1.3.1 snmpget -v2c -c public <target> COMTROL-ES8510-MIB::stpPerPortCfgPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2882.2.1.1.4.5.7.1.3.1 i <value>
Start monitoring Comtrol ES8510 industrial managed Ethernet switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the COMTROL-ES8510-MIB::stpPerPortCfgPathCost OID value, configure state conditions and alerts, and monitor any Comtrol ES8510 industrial managed Ethernet switch from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2882 | comtrol | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2 | products | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2.1 | managedSwitch | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2.1.1 | es8510 | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2.1.1.4 | networkRedundancy | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2.1.1.4.5 | stp | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2.1.1.4.5.7 | stpPerPortCfgTable | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2.1.1.4.5.7.1 | stpPerPortCfgEntry | COMTROL-ES8510-MIB |
| 1.3.6.1.4.1.2882.2.1.1.4.5.7.1.3 | stpPerPortCfgPathCost | COMTROL-ES8510-MIB |