netDefaultGateway
RMON2-MIB ·
.1.3.6.1.2.1.16.19.12
Object
The IP Address of the default gateway. If this value is undefined or unknown, it shall have the value 0.0.0.0.
Context
- MIB
- RMON2-MIB
- OID
.1.3.6.1.2.1.16.19.12- Type
- scalar
- Access
- readwrite
- Status
- deprecated
- Parent
- probeConfig
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RMON2-MIB::netDefaultGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RMON2-MIB::netDefaultGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of