V2H124-24-MIB :: staPathCostMethod

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › V2H124-24-MIB › staPathCostMethod

staPathCostMethod

Module: V2H124-24-MIB

OID (symbolic): V2H124-24-MIB::staPathCostMethod

OID (numeric): 1.3.6.1.4.1.52.4.12.30.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?

Chooses whether spanning-tree port costs use the short(1), 16-bit legacy scale (the default) or the long(2), 32-bit scale; switching this reassigns every port's path cost to new defaults based on port speed, and in long(2) mode staPortLongPathCost must be used instead of the standard BRIDGE-MIB path-cost object, whose sets are then rejected.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.52.4.12.30.1.5.5
snmpwalk -v2c -c public <target> V2H124-24-MIB::staPathCostMethod

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.52.4.12.30.1.5.5.1
snmpget -v2c -c public <target> V2H124-24-MIB::staPathCostMethod.1

Set instance 1 (SNMPv2c):

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

Start monitoring Enterasys V2H124-24 stackable switches (per-unit firmware version/stack-role status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the V2H124-24-MIB::staPathCostMethod OID value, configure state conditions and alerts, and monitor any Enterasys V2H124-24 stackable switches (per-unit firmware version/stack-role status) from a single console.

OID Breakdown

Upper-level ancestors (10 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.52cabletronCabletron-MIB
1.3.6.1.4.1.52.4mibsCT-PRIORITY-QUEUING
1.3.6.1.4.1.52.4.12ctronV2HCTRON-MIB-NAMES
1.3.6.1.4.1.52.4.12.30v2h124_24MIBCTRON-MIB-NAMES
Numeric OIDNameModule
1.3.6.1.4.1.52.4.12.30.1v2h124_24MIBObjectsV2H124-24-MIB
1.3.6.1.4.1.52.4.12.30.1.5staMgtV2H124-24-MIB
1.3.6.1.4.1.52.4.12.30.1.5.5staPathCostMethodV2H124-24-MIB