hmRelayOptionRemoteIDType
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.2.11.2
Object
scalar r/w
Enumeration
This option determines the content of the Agent Remote ID (sub-option 2). ip(1) inserts the ip address of the relay's mgmt-interface and encodes it with sub option type A1. mac(2) inserts the mac adress of the relay's mgmt-interface and encodes it with sub option type 00. client-id(3) inserts the client identifier (sysName) of the relay's mgmt-interface and encodes it with sub option type A2. other(4) inserts the value in hmRelayOptionRemoteIDValue and encodes it with sub option type A3.
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.2.11.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hmRelayGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MGMT-SNMP-MIB::hmRelayOptionRemoteIDType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMPRIV-MGMT-SNMP-MIB::hmRelayOptionRemoteIDType'
Syntax
Enumeration
Values & Constraints
Object Constraints
range: 0-2147483647