hm2SrmAdminState
HM2-L2REDUNDANCY-MIB ·
.1.3.6.1.4.1.248.11.40.1.4.3.1.2
Object
column r/w
Enumeration
Admin state of the entity in the SRM domain.
If the value is set to manager(1) the entity
will be in the role of a Sub-Ring Manager.
If the value is set to redundantManager(2) the
entity will be in the role of the Sub-Ring
Manager which will block its ringport if the
sub-ring is closed.
If the value is set to singleManager(3) the
entity will be in the role of the single-manager
which has both ends of a sub-ring connected and
will block one of these ends if the sub-ring is
closed.
Note: Two instances in the hm2SrmTable are
needed to build a single-manager where both
instances must have singleManager(3) selected.
Note: The sub-ring has two managers at the same
time. The redundant manager can be designated.
Context
- MIB
- HM2-L2REDUNDANCY-MIB
- OID
.1.3.6.1.4.1.248.11.40.1.4.3.1.2- Type
- column
- Access
- readwrite
- 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::hm2SrmAdminState'
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::hm2SrmAdminState.<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::hm2SrmAdminState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | manager |
2 | redundantManager |
3 | singleManager |