All MIBs › HH3C-LswMSTP-MIB › hh3cdot1sMstiPathCost
hh3cdot1sMstiPathCost
Module: HH3C-LswMSTP-MIB
OID (symbolic): HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost
OID (numeric): 1.3.6.1.4.1.25506.8.35.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 hh3cdot1sMstiPathCost?
This OID sets this port's contribution to the path cost toward the spanning-tree root for this instance (1-200000000 under the 802.1t standard, though the valid range narrows to 1-65535 under 802.1d or 1-200000 under the legacy standard). Admins lower this value on the uplink they want the instance to prefer as its root path.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.8.35.14.20.1.4 snmpwalk -v2c -c public <target> HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.8.35.14.20.1.4.1 snmpget -v2c -c public <target> HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.25506.8.35.14.20.1.4.1 i <value>
Start monitoring H3C Layer 2 switch (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost OID value, configure state conditions and alerts, and monitor any H3C Layer 2 switch (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.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.8 | hh3cRhw | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.8.35 | hh3clswCommon | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.8.35.14 | hh3cdot1sMstp | HH3C-LswMSTP-MIB |
| 1.3.6.1.4.1.25506.8.35.14.20 | hh3cdot1sPortTable | HH3C-LswMSTP-MIB |
| 1.3.6.1.4.1.25506.8.35.14.20.1 | hh3cdot1sPortEntry | HH3C-LswMSTP-MIB |
| 1.3.6.1.4.1.25506.8.35.14.20.1.4 | hh3cdot1sMstiPathCost | HH3C-LswMSTP-MIB |