hwdot1dStpForceVersion

HUAWEI-RSTP-EXT-MIB · .1.3.6.1.4.1.2011.5.21.1.2

Object

scalar r/w Enumeration
Configuring RSTP Operating Mode,
RSTP is compatible with STP. If a bridge running STP is in 
this switched network, this can be used to set RSTP to work 
in STP compatible mode or RSTP compatible mode.  DEFVAL { 2 }
Options:
1. stp(0)  -indicates the configuring RSTP operating mode is stp
2. rstp(2) -indicates the configuring RSTP operating mode is rstp

Context

MIB
HUAWEI-RSTP-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.21.1.2
Type
scalar
Access
readwrite
Status
current
Parent
hwRstpMibObject

Scalars have one instance, identified by the .0 suffix.

Read the scalar 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::hwdot1dStpForceVersion.0'
More examples
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::hwdot1dStpForceVersion'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0stp
2rstp