G6-STP-MIB :: portConfigMstpPortAdminPathCost

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsG6-STP-MIBportConfigMstpPortAdminPathCost

portConfigMstpPortAdminPathCost

Module: G6-STP-MIB

OID (symbolic): G6-STP-MIB::portConfigMstpPortAdminPathCost

OID (numeric): 1.3.6.1.4.1.3181.10.6.2.42.2.1.12

Node type: OBJECT-TYPE

Type: DisplayString

Access: read-write

Description: The port path cost used in specific MSTP instances. Syntax: mstp_id:port_path_cost. E.g.: 1:4, 2:100

What is portConfigMstpPortAdminPathCost?

Overrides the path cost for this port in one or more specific MSTP instances, using the syntax 'mstp_id:port_path_cost' (e.g. '1:4, 2:100'), taking precedence over portConfigMstpDefaultAdminPathCost for the listed instances. An admin uses this to steer specific MSTIs' traffic away from this port without affecting others.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3181.10.6.2.42.2.1.12
snmpwalk -v2c -c public <target> G6-STP-MIB::portConfigMstpPortAdminPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.3181.10.6.2.42.2.1.12.1
snmpget -v2c -c public <target> G6-STP-MIB::portConfigMstpPortAdminPathCost.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.3181.10.6.2.42.2.1.12.1 s <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::portConfigMstpPortAdminPathCost 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.12portConfigMstpPortAdminPathCostG6-STP-MIB