hm2SrmOperState
HM2-L2REDUNDANCY-MIB ·
.1.3.6.1.4.1.248.11.40.1.4.3.1.3
Object
column Enumeration
Operational state of the entity in the SRM domain. manager(1) indicates that the entity is in the role of a Sub-Ring Manager. redundantManager(2) indicates that the entity is in the role of the Sub-Ring Manager which will block its ringport if the sub-ring is closed. singleManager(3) indicates that the entity is in the role of the single manager. disabled(4) indicates that the protocol does not work on the entity.
Context
- MIB
- HM2-L2REDUNDANCY-MIB
- OID
.1.3.6.1.4.1.248.11.40.1.4.3.1.3- 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::hm2SrmOperState'
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::hm2SrmOperState.<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::hm2SrmOperState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | manager |
2 | redundantManager |
3 | singleManager |
4 | disabled |