hm2DualRstpAdminMode

HM2-DUAL-RSTP-MIB · .1.3.6.1.4.1.248.11.150.1.0.1

Object

The spanning tree operational status.
          
enable(1)  - enables spanning tree operational status on the switch.
disable(2) - disables spanning tree operational status on the switch.
          
The default status is disabled.

Context

MIB
HM2-DUAL-RSTP-MIB
OID
.1.3.6.1.4.1.248.11.150.1.0.1
Type
scalar
Access
readonly
Status
current
Parent
hm2DualRstpCstConfigGroup

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

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-DUAL-RSTP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DUAL-RSTP-MIB::hm2DualRstpAdminMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DUAL-RSTP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DUAL-RSTP-MIB::hm2DualRstpAdminMode'

Syntax

Values & Constraints

Object Constraints
range: 1-31
Type Values
1enable
2disable