defaultGateway

ZHNLANDEVICE · .1.3.6.1.4.1.5504.2.5.41.1.3.2.1.1.8

Object

column r/w SNMPv2-SMIIpAddress
The IP address of the default gateway for this IP interface.
This parameter is configurable only if the AddressingType is 
Static.

Context

MIB
ZHNLANDEVICE
OID
.1.3.6.1.4.1.5504.2.5.41.1.3.2.1.1.8
Type
column
Access
readwrite
Status
current
Parent
zhnIpInterfaceEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZHNLANDEVICE' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNLANDEVICE::defaultGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHNLANDEVICE' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNLANDEVICE::defaultGateway.<lanDeviceIndex>.<ipInterfaceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHNLANDEVICE' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHNLANDEVICE::defaultGateway'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4

Conformance