lan1DefaultGateway

MOXA-CN2600-MIB · .1.3.6.1.4.1.8691.2.11.1.3.4

Object

A gateway is a network computer that acts as an
entrance to another network. Usually, the computers
that control traffic within the network or at the
local Internet service provider are gateway nodes.
The Terminal Server CN2600 series needs to know
the IP address of the default gateway computer in
order to communicate with the hosts outside the
local network environment. For correct gateway IP
address information, consult with the network
administrator.

Context

MIB
MOXA-CN2600-MIB
OID
.1.3.6.1.4.1.8691.2.11.1.3.4
Type
scalar
Access
readonly
Status
current
Parent
networkSetting

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MOXA-CN2600-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-CN2600-MIB::lan1DefaultGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-CN2600-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-CN2600-MIB::lan1DefaultGateway'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4