All MIBs › G6-STP-MIB › portConfigAdminPathCost
portConfigAdminPathCost
Module: G6-STP-MIB
OID (symbolic): G6-STP-MIB::portConfigAdminPathCost
OID (numeric): 1.3.6.1.4.1.3181.10.6.2.42.2.1.6
Node type: OBJECT-TYPE
Type: Unsigned32
Access: read-write
Description: The contribution of this port to the path cost of paths towards the spanning tree root which include this port.
What is portConfigAdminPathCost?
Sets this port's contribution to the total path cost toward the spanning-tree root for any path that includes it. An admin lowers this on a preferred uplink to bias spanning tree toward routing traffic through it rather than a higher-cost alternate path.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3181.10.6.2.42.2.1.6 snmpwalk -v2c -c public <target> G6-STP-MIB::portConfigAdminPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.3181.10.6.2.42.2.1.6.1 snmpget -v2c -c public <target> G6-STP-MIB::portConfigAdminPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.3181.10.6.2.42.2.1.6.1 i <value>
Start monitoring MICROSENS Generation 6 (G6) managed Ethernet switch (Spanning Tree Protocol/RSTP/MSTP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the G6-STP-MIB::portConfigAdminPathCost OID value, configure state conditions and alerts, and monitor any MICROSENS Generation 6 (G6) managed Ethernet switch (Spanning Tree Protocol/RSTP/MSTP) 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.3181 | microsens | MICROSENS-G6-MIB |
| 1.3.6.1.4.1.3181.10 | managedSwitches | MICROSENS-G6-MIB |
| 1.3.6.1.4.1.3181.10.6 | g6 | MICROSENS-G6-MIB |
| 1.3.6.1.4.1.3181.10.6.2 | protocol | G6-PACC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.3181.10.6.2.42 | stp | G6-STP-MIB |
| 1.3.6.1.4.1.3181.10.6.2.42.2 | portConfigTable | G6-STP-MIB |
| 1.3.6.1.4.1.3181.10.6.2.42.2.1 | portConfigEntry | G6-STP-MIB |
| 1.3.6.1.4.1.3181.10.6.2.42.2.1.6 | portConfigAdminPathCost | G6-STP-MIB |