hmRS2OperMode

HMPRIV-MGMT-SNMP-MIB · .1.3.6.1.4.1.248.14.1.10.1

Object

scalar Enumeration
hmRS2OperMode shows the operational mode of the system:
normal: 		  normal mode,
standby-active:   standby mode, but switch is active, because
				  the master switch is e.g. not reachable,
standby-inactive: stand by mode,
redundancy-manager-active: redundancy mode and redundancy-manager has 
				  closed RS2 ring,
redundancy-manager-inactive: redundancy mode and redundancy-manager has 
				  opened RS2 ring.
If the value changes, a trap is sent.

Context

MIB
HMPRIV-MGMT-SNMP-MIB
OID
.1.3.6.1.4.1.248.14.1.10.1
Type
scalar
Access
readonly
Status
current
Parent
hmRS2ext

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2reset
3resetStats
4resetFDB
5resetARP
6resetL3Stats
7resetL4-7Stats
10hotRestart
12gbl-reset