s5AgInfoCurDfltGwAddr

S5-AGENT-MIB · .1.3.6.1.4.1.45.1.6.4.2.1.13

Object

scalar r/w SNMPv2-SMIIpAddress
The IP address of the current default gateway
(router). (NOTE: this is an alias for the object
ipRouteNextHop in the row of the table
ipRouteTable which has object ipRouteDest with
a value of 0.0.0.0.)
          
If not used, then this object has the value
of 0.0.0.0.

Context

MIB
S5-AGENT-MIB
OID
.1.3.6.1.4.1.45.1.6.4.2.1.13
Type
scalar
Access
readwrite
Status
current
Parent
s5AgentGbl

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

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

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4