All MIBs › DMswitch-MIB › staPortLongPathCost
staPortLongPathCost
Module: DMswitch-MIB
OID (symbolic): DMswitch-MIB::staPortLongPathCost
OID (numeric): 1.3.6.1.4.1.3709.3.5.201.1.5.2.1.6
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: The contribution of this port to the path cost (in 32 bits value) of paths towards the spanning tree root which include this port.
This object is used to configure the spanning tree port path cost in the 32-bit value range when the staPathCostMethod is long(2).
If the staPathCostMethod is short(1), this mib object is not instantiated.
What is staPortLongPathCost?
The port's contribution to Spanning Tree path cost expressed as a 32-bit value (1..200000000), used only when staPathCostMethod (staPathCostMode) is set to long(2); it is not instantiated under the short(1) method. An admin tunes this to make a preferred uplink path (lower cost) win over a backup link when STP recalculates the topology.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.5.2.1.6 snmpwalk -v2c -c public <target> DMswitch-MIB::staPortLongPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.5.2.1.6.1 snmpget -v2c -c public <target> DMswitch-MIB::staPortLongPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.3709.3.5.201.1.5.2.1.6.1 i <value>
Start monitoring Datacom DmSwitch series with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DMswitch-MIB::staPortLongPathCost OID value, configure state conditions and alerts, and monitor any Datacom DmSwitch series 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.3709 | datacom | DATACOM-SMI |
| 1.3.6.1.4.1.3709.3 | datacomProductsMIBs | DATACOM-SMI |
| 1.3.6.1.4.1.3709.3.5 | datacomAccessDevicesMIBs | DATACOM-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.3709.3.5.201 | dmSwitchMIB | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1 | dmSwitchMIBObjects | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.5 | staMgt | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.5.2 | staPortTable | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.5.2.1 | staPortEntry | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.5.2.1.6 | staPortLongPathCost | DMswitch-MIB |