hm2RingRedPrimaryIntfState
HM2-L2REDUNDANCY-MIB ·
.1.3.6.1.4.1.248.11.40.1.7.4
Object
scalar Enumeration
Operational state of the primary 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.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hm2RingRedMibGroup
Net-SNMP examples
How SNMP and these commands workScalars 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::hm2RingRedPrimaryIntfState.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::hm2RingRedPrimaryIntfState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | not-available |
2 | active |
3 | inactive |