TN-XSTP-MIB :: tnExtMstpPortAdminPathCost

MIB Reference — IPNetwork Monitor · Updated October 02, 2026

All MIBs › TN-XSTP-MIB › tnExtMstpPortAdminPathCost

tnExtMstpPortAdminPathCost

Module: TN-XSTP-MIB

OID (symbolic): TN-XSTP-MIB::tnExtMstpPortAdminPathCost

OID (numeric): 1.3.6.1.4.1.868.2.5.111.2.4.1.1

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: The administratively assigned value for the contribution of this port to the path cost of paths toward the spanning tree root. Writing a value of '0' assigns the automatically calculated default Path Cost value to the port. If the default Path Cost is being used, this object returns '0' when read.

What is tnExtMstpPortAdminPathCost?

Administratively assigned path cost this port contributes toward the spanning-tree root, valid 0-200000000. Writing 0 reverts to the automatically calculated default cost based on link speed; reading returns 0 whenever the automatic default is in effect.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.868.2.5.111.2.4.1.1
snmpwalk -v2c -c public <target> TN-XSTP-MIB::tnExtMstpPortAdminPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.868.2.5.111.2.4.1.1.1
snmpget -v2c -c public <target> TN-XSTP-MIB::tnExtMstpPortAdminPathCost.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.868.2.5.111.2.4.1.1.1 i <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> tnExtMstpPortAdminPathCost.1

Start monitoring Transition Networks managed Ethernet switch (RSTP/MSTP BPDU-guard/port-recovery status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TN-XSTP-MIB::tnExtMstpPortAdminPathCost OID value, configure state conditions and alerts, and monitor any Transition Networks managed Ethernet switch (RSTP/MSTP BPDU-guard/port-recovery status) from a single console.

OID Breakdown

Upper-level ancestors (9 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.868transitionTRANSITION-SMI
1.3.6.1.4.1.868.2productsTRANSITION-SMI
1.3.6.1.4.1.868.2.5tnProductsTRANSITION-SMI
Numeric OIDNameModule
1.3.6.1.4.1.868.2.5.111tnXSTPMIBTN-XSTP-MIB
1.3.6.1.4.1.868.2.5.111.2tnXSTPMgmtObjectsTN-XSTP-MIB
1.3.6.1.4.1.868.2.5.111.2.4tnExtMstpPortTableTN-XSTP-MIB
1.3.6.1.4.1.868.2.5.111.2.4.1tnExtMstpPortEntryTN-XSTP-MIB
1.3.6.1.4.1.868.2.5.111.2.4.1.1tnExtMstpPortAdminPathCostTN-XSTP-MIB