hmSec2NetRtrExternalGateway
HMSECURITY2-MIB ·
.1.3.6.1.4.1.248.52.1.12.3.3.1
Object
IP address of the default gateway for the external interface. Changing this value will take effect after activating with hmNetAction.
Context
- MIB
- HMSECURITY2-MIB
- OID
.1.3.6.1.4.1.248.52.1.12.3.3.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hmSec2NetRouterExternalGroup
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 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2NetRtrExternalGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMSECURITY2-MIB::hmSec2NetRtrExternalGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4