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 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-AUDL-R1-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.6 | hwLswRstpMib | A3COM-HUAWEI-LswRSTP-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.6.1 | hwLswRstpMibObject | A3COM-HUAWEI-LswRSTP-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.6.1.5 | hwdot1dStpPortXTable | A3COM-HUAWEI-LswRSTP-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1 | hwdot1dStpPortXEntry | A3COM-HUAWEI-LswRSTP-MIB |
| 1.3.6.1.4.1.43.45.1.2.23.1.6.1.5.1.13 | hwdot1dSetStpDefaultPortCost | A3COM-HUAWEI-LswRSTP-MIB |