All MIBs › PowerConnect3248-MIB › staPathCostMethod
staPathCostMethod
Module: PowerConnect3248-MIB
OID (symbolic): PowerConnect3248-MIB::staPathCostMethod
OID (numeric): 1.3.6.1.4.1.674.10895.3.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 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.
What is staPathCostMethod?
Selects whether the switch's Spanning Tree ports use short(1), 16-bit, or long(2), 32-bit path-cost values; changing this reassigns every port's path cost to the new mode's defaults based on port speed, and when set to long(2) the separate staPortLongPathCost object must be used instead of dot1dStpPortPathCost.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.674.10895.3.1.5.5 snmpwalk -v2c -c public <target> PowerConnect3248-MIB::staPathCostMethod
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.674.10895.3.1.5.5.1 snmpget -v2c -c public <target> PowerConnect3248-MIB::staPathCostMethod.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.674.10895.3.1.5.5.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> staPathCostMethod.1
Start monitoring Dell PowerConnect 3248 stackable Layer 2 Ethernet switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PowerConnect3248-MIB::staPathCostMethod OID value, configure state conditions and alerts, and monitor any Dell PowerConnect 3248 stackable Layer 2 Ethernet switch 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.674 | dell | ArrayManager-MIB |
| 1.3.6.1.4.1.674.10895 | dellLan | Dell-Vendor-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.674.10895.3 | powerConnect3248MIB | PowerConnect3248-MIB |
| 1.3.6.1.4.1.674.10895.3.1 | powerConnect3248MIBObjects | PowerConnect3248-MIB |
| 1.3.6.1.4.1.674.10895.3.1.5 | staMgt | PowerConnect3248-MIB |
| 1.3.6.1.4.1.674.10895.3.1.5.5 | staPathCostMethod | PowerConnect3248-MIB |