All MIBs › G6-STP-MIB › portConfigMstpPortAdminPathCost
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 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.12 | portConfigMstpPortAdminPathCost | G6-STP-MIB |