neActiveGateway

BTI-7000-MIB · .1.3.6.1.4.1.18070.2.2.1.1.9

Object

The IP routing gateway that is currently active on the node.
If no gateway is active, this object returns a value of
0.0.0.0.

Context

MIB
BTI-7000-MIB
OID
.1.3.6.1.4.1.18070.2.2.1.1.9
Type
scalar
Access
readonly
Status
current
Parent
networkElement

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

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

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4