hmNetAssignment
HIRSCHMANN-BAT-C-MIB ·
.1.3.6.1.4.1.248.3.7
Object
scalar r/w
Enumeration
Kind of the IP address assignment. 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.7- 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::hmNetAssignment.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::hmNetAssignment'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | other |
1 | static |
3 | dhcp |