All MIBs › HUAWEI-IPDSLAM-MSTP-MIB › hwMstpiPortPathCost
hwMstpiPortPathCost
Module: HUAWEI-IPDSLAM-MSTP-MIB
OID (symbolic): HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost
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: Indicates the path cost of the port. The value range of this leaf is relevant to hwMstpPathCostStandard. Range: 1-65535 (The 802.1d-1998 protocol is used as the computing standard) 1-200000000 (The 802.1t protocol is used as the computing standard) 1-200000 (Huawei's proprietary legacy is used as the computing standard)
What is hwMstpiPortPathCost?
Sets the spanning-tree path cost assigned to this port for this instance, up to 200,000,000 depending on the active path-cost standard. Admins lower the cost on a preferred high-bandwidth uplink so MSTP favors it over a slower backup link.
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-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost
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-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost.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 IP-DSLAM access node (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost OID value, configure state conditions and alerts, and monitor any Huawei IP-DSLAM access node (Multiple Spanning Tree Protocol) from a single console.
OID Breakdown
Upper-level ancestors (9 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 | HUAWEI-3COM-OID-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 |
| Numeric OID | Name | Module |
|---|---|---|
| 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 |
| 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4 | hwMstpiPortPathCost | HUAWEI-IPDSLAM-MSTP-MIB |