hmMrpExpectedRole
HMRING-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.5.3.1.9
Object
column r/w
Enumeration
Control the role of the MRP entity in the MRP domain. If the value is set to client(1) the entity will be in the role of a Media Redundancy Client (MRC). If the value is set to manager(2) the entity will be in the role of a Media Redundancy Manager (MRM).
Context
- MIB
- HMRING-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.5.3.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmMrpEntry
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 'HMRING-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMRING-MGMT-SNMP-MIB::hmMrpExpectedRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMRING-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMRING-MGMT-SNMP-MIB::hmMrpExpectedRole.<hmMrpDomainID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMRING-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMRING-MGMT-SNMP-MIB::hmMrpExpectedRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | client |
2 | manager |