---
oid: "1.3.6.1.4.1.52.4.12.30.1.5.5"
short-description: "staPathCostMethod OBJECT-TYPE"
last-modified: "2017-12-05"
parent-oid: "1.3.6.1.4.1.52.4.12.30.1.5"
---

## OID: `1.3.6.1.4.1.52.4.12.30.1.5.5`

```asn1
{iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 52 mibs(4) ctronV2H(12) v2h124-24MIB(30) v2h124-24MIBObjects(1) staMgt(5) staPathCostMethod(5)}
```

### Description

```asn1
staPathCostMethod OBJECT-TYPE
SYNTAX INTEGER {
short(1), -- 16 bits spanning tree path cost mode
long(2) -- 32 bits spanning tree path cost mode
}
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 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."
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)

**Note to implementers:**: The OID repository is constantly updated but does not necessarily store the latest (or most accurate) version of this formal description. For an implementation, it is recommended to search the web for a more recent description. If this is the case, please update the above description.
