inet4StaticDefaultGatewayAddress
WESTERMO-WEOS-MIB ·
.1.3.6.1.4.1.16177.2.1.4.1.2.1
Object
IP Address of statically configured default gateway. Setting the address to 0.0.0.0 means that there is 'no static default gateway' configured.
Context
- MIB
- WESTERMO-WEOS-MIB
- OID
.1.3.6.1.4.1.16177.2.1.4.1.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ifaceInet4
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 'WESTERMO-WEOS-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-WEOS-MIB::inet4StaticDefaultGatewayAddress.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-WEOS-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-WEOS-MIB::inet4StaticDefaultGatewayAddress'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4