nbsSysDefaultGateway

NBASE-G1-MIB · .1.3.6.1.4.1.629.1.3.7

Object

scalar mandatory r/w RFC1155-SMIIpAddress
The SNMP Agent Administrative value of the Default Gateway.
          
This value is stored in the system NVRAM.
The current operational Default Gateway IP Adress may be
obtained by accessing ipRouteNextHop object of the 0.0.0.0
entry in the ipRouteTable.
          
If the system has no current operational Default Gateway
IP Address, then this value takes effect immediately.
Otherwise it will take effect after a system reset

Context

MIB
NBASE-G1-MIB
OID
.1.3.6.1.4.1.629.1.3.7
Type
scalar
Access
readwrite
Status
mandatory
Parent
nbsSysSnmpCfg

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

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

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4