---
oid: "1.3.6.1.4.1.259.6.10.95.1.5.5"
asn1-notation: "{iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 259 snmpMgt(6) cheetahSwitchMgt(10) es4524dMIB(95) es4524dMIBObjects(1) staMgt(5) staPathCostMethod(5)}"
description: "staPathCostMethod OBJECT-TYPE"
classification: "MIB object for network management"
last-modified: "2024-06-25"
---

## OID : `1.3.6.1.4.1.259.6.10.95.1.5.5`

```asn1
{iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 259 snmpMgt(6) cheetahSwitchMgt(10) es4524dMIB(95) es4524dMIBObjects(1) staMgt(5) staPathCostMethod(5)}
```

### Description

```asn1
staPathCostMethod OBJECT-TYPE
SYNTAX StaPathCostMode
MAX-ACCESS read-write
STATUS current
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 BRIDGE-MIB will be rejected.
While 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 BRIDGE-MIB must be used."
DEFVAL {short}
```

**Classification**: MIB object for network management

### Child OIDs

No child OID

### Terms of Use
[Terms of use](https://oid-base.com/disclaimer.htm.md)
