All MIBs › ESN310-MIB › staPathCostMethod
staPathCostMethod
Module: ESN310-MIB
OID (symbolic): ESN310-MIB::staPathCostMethod
OID (numeric): 1.3.6.1.4.1.193.72.900.1.5.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicates the type of spanning tree path cost mode configured on the switch. This mode applies to all instances of the Spanning tree protocol running on the switch.
When the value of this MIB object is changed, the path cost of all ports will be reassigned to the default path cost values based on the new spanning tree path cost mode and the ports' speed.
When the value of this MIB object is set to long(2), the staPortLongPathCost MIB object must be used to retrieve/ configure the spanning tree port path cost as a 32 bit value. The set operation on dot1dStpPortPathCost in the BRIDGE-MIB will be rejected. When retrieving the value of dot1dStpPortPathCost, the maximum value of 65535 will be returned if the value of staPortLongPathCost for the same instance exceeds 65535.
When the value of this MIB object is set to short(1), the dot1dStpPortPathCost in the BRIDGE-MIB must be used.
What is staPathCostMethod?
Selects whether spanning-tree path costs use the legacy 16-bit scale (short) or the 32-bit scale (long) switch-wide; changing it resets every port's path cost to the new mode's default based on port speed, and when long is selected, staPortLongPathCost/xstInstancePortPathCost must be used instead of the BRIDGE-MIB's 16-bit object.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.193.72.900.1.5.5 snmpwalk -v2c -c public <target> ESN310-MIB::staPathCostMethod
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.193.72.900.1.5.5.1 snmpget -v2c -c public <target> ESN310-MIB::staPathCostMethod.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.193.72.900.1.5.5.1 i <value>
Start monitoring ESN310-series managed Ethernet switch (Accton-derived OEM) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ESN310-MIB::staPathCostMethod OID value, configure state conditions and alerts, and monitor any ESN310-series managed Ethernet switch (Accton-derived OEM) from a single console.
OID Breakdown
Upper-level ancestors (8 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.193 | ericsson | ANS-COMMON-MIB |
| 1.3.6.1.4.1.193.72 | diaxMIB | DXD-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.193.72.900 | esn310MIB | ESN310-MIB |
| 1.3.6.1.4.1.193.72.900.1 | esn310MIBObjects | ESN310-MIB |
| 1.3.6.1.4.1.193.72.900.1.5 | staMgt | ESN310-MIB |
| 1.3.6.1.4.1.193.72.900.1.5.5 | staPathCostMethod | ESN310-MIB |