All MIBs › HUAWEI-RSTP-EXT-MIB › hwdot1dSetStpDefaultPortCost
hwdot1dSetStpDefaultPortCost
Module: HUAWEI-RSTP-EXT-MIB
OID (symbolic): HUAWEI-RSTP-EXT-MIB::hwdot1dSetStpDefaultPortCost
OID (numeric): 1.3.6.1.4.1.2011.5.21.1.5.1.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: come back to default path cost of specified port, The path cost of Ethernet port is related to its link speed. The higher the link speed is, the lower the path cost should be configured. When this parameter is set to the default value, RSTP can automatically detect the link speed on the current Ethernet port and transform it to corresponding path cost. Options: 1. enable(1) -indicates default path cost of specified port is enabled
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.21.1.5.1.6 snmpwalk -v2c -c public <target> HUAWEI-RSTP-EXT-MIB::hwdot1dSetStpDefaultPortCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.21.1.5.1.6.1 snmpget -v2c -c public <target> HUAWEI-RSTP-EXT-MIB::hwdot1dSetStpDefaultPortCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.21.1.5.1.6.1 i <value>
Start monitoring Huawei access/edge switch (RSTP extensions, BPDU guard/ring detection) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-RSTP-EXT-MIB::hwdot1dSetStpDefaultPortCost OID value, configure state conditions and alerts, and monitor any Huawei access/edge switch (RSTP extensions, BPDU guard/ring detection) 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 | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.21 | hwRstpExt | HUAWEI-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.21.1 | hwRstpMibObject | HUAWEI-RSTP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.21.1.5 | hwdot1dStpPortXTable | HUAWEI-RSTP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.21.1.5.1 | hwdot1dStpPortXEntry | HUAWEI-RSTP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.21.1.5.1.6 | hwdot1dSetStpDefaultPortCost | HUAWEI-RSTP-EXT-MIB |