zyStaticRouteGateway

ZYXEL-STATIC-ROUTE-MIB · .1.3.6.1.4.1.890.1.15.3.77.1.2.1.4

Object

The IP address of gateway. 
The gateway is an immediate neighbor of your Switch that will forward the packet to the destination. 
The gateway must be a router on the same segment as your Switch.

Context

MIB
ZYXEL-STATIC-ROUTE-MIB
OID
.1.3.6.1.4.1.890.1.15.3.77.1.2.1.4
Type
column
Access
noaccess
Status
current
Parent
zyxelStaticRouteEntry

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 'ZYXEL-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-STATIC-ROUTE-MIB::zyStaticRouteGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-STATIC-ROUTE-MIB::zyStaticRouteGateway.<zyStaticRouteIpAddress>.<zyStaticRouteSubnetMask>.<zyStaticRouteGateway>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-STATIC-ROUTE-MIB::zyStaticRouteGateway'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4