staticRouteNetMask

ZHONE-COM-IP-STATIC-ROUTE-MIB · .1.3.6.1.4.1.5504.4.1.13.1.1.2

Object

The destination IP network mask of the static route.
A default gateway is one with a destination of 0.0.0.0 and
netmask 0.0.0.0.

Context

MIB
ZHONE-COM-IP-STATIC-ROUTE-MIB
OID
.1.3.6.1.4.1.5504.4.1.13.1.1.2
Type
column
Access
noaccess
Status
current
Parent
staticRouteEntry

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 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteNetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteNetMask.<rdIndex>.<staticRouteDest>.<staticRouteNetMask>.<staticRouteNextHop>.<staticRouteIfNumber>.<staticRouteType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteNetMask'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4