hmRingRedMode
HMRING-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.5.1.1.8
Object
column r/w
Enumeration
Desired mode of operation. To create, modify or deactivate an entry the value create(1) have to be set. delete(2) removes the entry. rm(3) and rs(4) activate the redundancy.
Context
- MIB
- HMRING-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.5.1.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmRingRedEntry
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::hmRingRedMode'
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::hmRingRedMode.<hmRingRedPrimGroupID>.<hmRingRedPrimIfIndex>'
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::hmRingRedMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | create |
2 | delete |
3 | rm |
4 | rs |
5 | disable |