G6-STP-MIB :: portConfigAdminPathCost

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsG6-STP-MIBportConfigAdminPathCost

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.3181microsensMICROSENS-G6-MIB
1.3.6.1.4.1.3181.10managedSwitchesMICROSENS-G6-MIB
1.3.6.1.4.1.3181.10.6g6MICROSENS-G6-MIB
1.3.6.1.4.1.3181.10.6.2protocolG6-PACC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.3181.10.6.2.42stpG6-STP-MIB
1.3.6.1.4.1.3181.10.6.2.42.2portConfigTableG6-STP-MIB
1.3.6.1.4.1.3181.10.6.2.42.2.1portConfigEntryG6-STP-MIB
1.3.6.1.4.1.3181.10.6.2.42.2.1.6portConfigAdminPathCostG6-STP-MIB