hm2RingRedSecondaryIntfState

HM2-L2REDUNDANCY-MIB · .1.3.6.1.4.1.248.11.40.1.7.6

Object

scalar Enumeration
Operational state of the secondary ring port. The port states are as follows, 
active        - port is logically up and active. 
inactive      - port is logically down. 
not-available - no Hiper Ring instance is running, check prerequisites.

Context

MIB
HM2-L2REDUNDANCY-MIB
OID
.1.3.6.1.4.1.248.11.40.1.7.6
Type
scalar
Access
readonly
Status
current
Parent
hm2RingRedMibGroup

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1not-available
2active
3inactive