All MIBs › HUAWEI-MSTP-MIB › hwMstpiPathCost
hwMstpiPathCost
Module: HUAWEI-MSTP-MIB
OID (symbolic): HUAWEI-MSTP-MIB::hwMstpiPathCost
OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: the path cost of paths with which the package passes the 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 hwMstpiPathCost?
Sets the cost this port contributes to the path toward the root for the given spanning-tree instance; lower-cost paths are preferred by the spanning-tree algorithm. The valid range differs by path-cost standard: 1-65535 under 802.1d, 1-200000000 under 802.1t, and 1-200000 under the legacy scheme. An admin tunes this to influence which links are used and which are blocked when there are redundant paths.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4 snmpwalk -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpiPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4.1 snmpget -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpiPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4.1 i <value>
Start monitoring Huawei enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-MSTP-MIB::hwMstpiPathCost OID value, configure state conditions and alerts, and monitor any Huawei enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) from a single console.
OID Breakdown
Upper-level ancestors (14 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.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25.42 | hwL2Mgmt | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4 | hwMstp | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4.1 | hwMstpObjects | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4.1.20 | hwMstpPortTable | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4.1.20.1 | hwMstpPortEntry | HUAWEI-IPDSLAM-MSTP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4 | hwMstpiPathCost | HUAWEI-MSTP-MIB |