hm2NetAction
HM2-NETCONFIG-MIB ·
.1.3.6.1.4.1.248.11.20.1.1.50
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 hm2NetLocalIPAddr, hm2NetGatewayIPAddr and hm2NetMask.
Context
- MIB
- HM2-NETCONFIG-MIB
- OID
.1.3.6.1.4.1.248.11.20.1.1.50- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2NetStaticGroup
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 'HM2-NETCONFIG-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-NETCONFIG-MIB::hm2NetAction.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-NETCONFIG-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-NETCONFIG-MIB::hm2NetAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | activate |