All MIBs › A3COM-HUAWEI-LswMSTP-MIB › hwdot1sMstiPathCost
hwdot1sMstiPathCost
Module: A3COM-HUAWEI-LswMSTP-MIB
OID (symbolic): A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost
OID (numeric): 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The contribution of this port to the path cost of paths towards the spanning tree root which include this port. The range of path cost is 1..65535 for 802.1d standard, is 1..200000000 for 802.1t standard, and is 1..200000 for the legacy standard.
What is hwdot1sMstiPathCost?
This writable integer (1-200000000) assigns a cost metric to the port; lower costs indicate faster/preferred paths. STP uses accumulated costs to choose loop-free forwarding paths. Example: setting cost to 1 on a 10 Gbps link vs 100 on a slower backup link.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4 snmpwalk -v2c -c public <target> A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4.1 snmpget -v2c -c public <target> A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4.1 i <value>
Start monitoring H3C/3Com LAN switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost OID value, configure state conditions and alerts, and monitor any H3C/3Com LAN switches from a single console.
OID Breakdown
Upper-level ancestors (12 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.43 | a3Com | A3COM-BRIDGE-R3-MIB |
| 1.3.6.1.4.1.43.45 | jv_mib | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1 | huawei | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.2 | hwproducts | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.2.23 | lanSw | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1 | lswCommon | A3COM-HUAWEI-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.43.45.1.2.23.1.14 | hwdot1sMstp | A3COM-HUAWEI-LswMSTP-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.14.20 | hwdot1sPortTable | A3COM-HUAWEI-LswMSTP-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1 | hwdot1sPortEntry | A3COM-HUAWEI-LswMSTP-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4 | hwdot1sMstiPathCost | A3COM-HUAWEI-LswMSTP-MIB |