All MIBs › HPN-ICF-LswRSTP-MIB › hpnicfdot1dSetStpDefaultPortCost
hpnicfdot1dSetStpDefaultPortCost
Module: HPN-ICF-LswRSTP-MIB
OID (symbolic): HPN-ICF-LswRSTP-MIB::hpnicfdot1dSetStpDefaultPortCost
OID (numeric): 1.3.6.1.4.1.11.2.14.11.15.8.35.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 hpnicfdot1dSetStpDefaultPortCost?
Writing enable(1) resets this port's spanning-tree path cost back to the standard default derived from its link speed, discarding any manual override; the object does not support being read back. Use it to undo a previous manual path-cost change.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.15.8.35.6.1.5.1.13 snmpwalk -v2c -c public <target> HPN-ICF-LswRSTP-MIB::hpnicfdot1dSetStpDefaultPortCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.15.8.35.6.1.5.1.13.1 snmpget -v2c -c public <target> HPN-ICF-LswRSTP-MIB::hpnicfdot1dSetStpDefaultPortCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.14.11.15.8.35.6.1.5.1.13.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hpnicfdot1dSetStpDefaultPortCost.1
Start monitoring HP/H3C Comware Layer 2 switch (Rapid Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HPN-ICF-LswRSTP-MIB::hpnicfdot1dSetStpDefaultPortCost OID value, configure state conditions and alerts, and monitor any HP/H3C Comware Layer 2 switch (Rapid Spanning Tree Protocol) from a single console.
OID Breakdown
Upper-level ancestors (13 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.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.14 | icf | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11 | hpicfObjects | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.15 | hpnicf | HPN-ICF-OID-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.8 | hpnicfRhw | HPN-ICF-OID-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.8.35 | hpnicflswCommon | HPN-ICF-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.14.11.15.8.35.6 | hpnicfLswRstpMib | HPN-ICF-LswRSTP-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.8.35.6.1 | hpnicfLswRstpMibObject | HPN-ICF-LswRSTP-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.8.35.6.1.5 | hpnicfdot1dStpPortXTable | HPN-ICF-LswRSTP-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.8.35.6.1.5.1 | hpnicfdot1dStpPortXEntry | HPN-ICF-LswRSTP-MIB |
| 1.3.6.1.4.1.11.2.14.11.15.8.35.6.1.5.1.13 | hpnicfdot1dSetStpDefaultPortCost | HPN-ICF-LswRSTP-MIB |