hm2SrmSubRingOperState
HM2-L2REDUNDANCY-MIB ·
.1.3.6.1.4.1.248.11.40.1.4.3.1.11
Object
column Enumeration
Operational state of the sub-ring in the SRM domain. undefined(1) indicates an undefined sub-ring state. open(2) indicates that the sub-ring is opened. closed(3) indicates that the sub-ring is closed.
Context
- MIB
- HM2-L2REDUNDANCY-MIB
- OID
.1.3.6.1.4.1.248.11.40.1.4.3.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2SrmEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HM2-L2REDUNDANCY-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-L2REDUNDANCY-MIB::hm2SrmSubRingOperState'
More examples
Read one indexed 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::hm2SrmSubRingOperState.<hm2SrmRingID>'
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::hm2SrmSubRingOperState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | undefined |
2 | open |
3 | closed |