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 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.868 | transition | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2 | products | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2.5 | tnProducts | TRANSITION-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.868.2.5.111 | tnXSTPMIB | TN-XSTP-MIB |
| 1.3.6.1.4.1.868.2.5.111.2 | tnXSTPMgmtObjects | TN-XSTP-MIB |
| 1.3.6.1.4.1.868.2.5.111.2.4 | tnExtMstpPortTable | TN-XSTP-MIB |
| 1.3.6.1.4.1.868.2.5.111.2.4.1 | tnExtMstpPortEntry | TN-XSTP-MIB |
| 1.3.6.1.4.1.868.2.5.111.2.4.1.1 | tnExtMstpPortAdminPathCost | TN-XSTP-MIB |