hmNetIpAddress
HIRSCHMANN-BAT-C-MIB ·
.1.3.6.1.4.1.248.3.2
Object
The ip address of this device. Changing this object will not take effect until after a reset.
Context
- MIB
- HIRSCHMANN-BAT-C-MIB
- OID
.1.3.6.1.4.1.248.3.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hmNet
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 'HIRSCHMANN-BAT-C-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HIRSCHMANN-BAT-C-MIB::hmNetIpAddress.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HIRSCHMANN-BAT-C-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HIRSCHMANN-BAT-C-MIB::hmNetIpAddress'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4