hwdot1dStpMcheck

HUAWEI-RSTP-EXT-MIB · .1.3.6.1.4.1.2011.5.21.1.5.1.4

Object

column r/w SNMPv2-TCTruthValue
Configuring mCheck of Specified Port,
By configuring mCheck, the user can check if there is the bridge 
running STP in the network segment connected with the active Ethernet port. 
If there is, the port will transfer to STP compatible mode. 
In a stable network, though the bridge running STP has been removed, 
this port will still work in STP compatible mode. 
In this case, the port can be forced to RSTP mode by setting the variable mCheck

Context

MIB
HUAWEI-RSTP-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.21.1.5.1.4
Type
column
Access
readwrite
Status
current
Parent
hwdot1dStpPortXEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-RSTP-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RSTP-EXT-MIB::hwdot1dStpMcheck'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-RSTP-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RSTP-EXT-MIB::hwdot1dStpMcheck.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-RSTP-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-RSTP-EXT-MIB::hwdot1dStpMcheck'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false