A3COM-HUAWEI-LswRSTP-MIB :: hwdot1dSetStpDefaultPortCost

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › A3COM-HUAWEI-LswRSTP-MIB › hwdot1dSetStpDefaultPortCost

hwdot1dSetStpDefaultPortCost

Module: A3COM-HUAWEI-LswRSTP-MIB

OID (symbolic): A3COM-HUAWEI-LswRSTP-MIB::hwdot1dSetStpDefaultPortCost

OID (numeric): 1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1.13

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Set PathCost back to the default setting. Read operation not supported.

What is hwdot1dSetStpDefaultPortCost?

This is a write-only object that resets all port path costs to their factory defaults when you write 'enable'. Setting this removes custom cost configurations. For example, you might reset if you misconfigured costs and want to return to standard values.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1.13
snmpwalk -v2c -c public <target> A3COM-HUAWEI-LswRSTP-MIB::hwdot1dSetStpDefaultPortCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1.13.1
snmpget -v2c -c public <target> A3COM-HUAWEI-LswRSTP-MIB::hwdot1dSetStpDefaultPortCost.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1.13.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-LswRSTP-MIB::hwdot1dSetStpDefaultPortCost 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.43a3ComA3COM-AUDL-R1-MIB
1.3.6.1.4.1.43.45jv_mibA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1huaweiA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1.2hwproductsA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1.2.23lanSwA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1.2.23.1lswCommonA3COM-HUAWEI-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.43.45.1.2.23.1.6hwLswRstpMibA3COM-HUAWEI-LswRSTP-MIB
1.3.6.1.4.1.43.45.1.2.23.1.6.1hwLswRstpMibObjectA3COM-HUAWEI-LswRSTP-MIB
1.3.6.1.4.1.43.45.1.2.23.1.6.1.5hwdot1dStpPortXTableA3COM-HUAWEI-LswRSTP-MIB
1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1hwdot1dStpPortXEntryA3COM-HUAWEI-LswRSTP-MIB
1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1.13hwdot1dSetStpDefaultPortCostA3COM-HUAWEI-LswRSTP-MIB