sysDefaultGateway
GIGA-PLUS-MIB ·
.1.3.6.1.4.1.5454.1.80.1.5.3
Object
Default gateway
Context
- MIB
- GIGA-PLUS-MIB
- OID
.1.3.6.1.4.1.5454.1.80.1.5.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ipconfig
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 'GIGA-PLUS-MIB' -M '/opt/observium/mibs/trango:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GIGA-PLUS-MIB::sysDefaultGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GIGA-PLUS-MIB' -M '/opt/observium/mibs/trango:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GIGA-PLUS-MIB::sysDefaultGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4