redlineSystemDefGatewayAddress
REDLINE-SYSTEM-MIB ·
.1.3.6.1.4.1.10728.2.1.1.1.4.6
Object
The INET address of the default gateway.
Note: This object can not be set if usage of
DHCP server is enabled. An attempt to set the
address will fail and return 'resourceUnavailable'
error
Context
- MIB
- REDLINE-SYSTEM-MIB
- OID
.1.3.6.1.4.1.10728.2.1.1.1.4.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- redlineSystemSysIpObjects
- 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 'REDLINE-SYSTEM-MIB' -M '/opt/observium/mibs/redline:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'REDLINE-SYSTEM-MIB::redlineSystemDefGatewayAddress.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'REDLINE-SYSTEM-MIB' -M '/opt/observium/mibs/redline:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'REDLINE-SYSTEM-MIB::redlineSystemDefGatewayAddress'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of