hmNetAction
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.2.3.7
Object
scalar r/w
Enumeration
This object, when read, always returns a value of other(1). Setting the object to activate(2) causes a reconfiguration of the IP protocol stack with the current values of hmNetLocalIPAddr, hmNetGatewayIPAddr and hmNetMask.
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.2.3.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hmNetwork
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::hmNetAction.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::hmNetAction'
Syntax
Enumeration
Values & Constraints
Object Constraints
range: 16-4096