aniDevDefaultGateway
DEVBASE-MIB ·
.1.3.6.1.4.1.4325.2.1.4
Object
scalar SNMPv2-SMIIpAddress
The Gateway IP address. On BSU, this refers to the Lan Gateway address. On SU, this refers to the Wireless Gateway address.
Context
- MIB
- DEVBASE-MIB
- OID
.1.3.6.1.4.1.4325.2.1.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- aniDevBase
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 'DEVBASE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DEVBASE-MIB::aniDevDefaultGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DEVBASE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DEVBASE-MIB::aniDevDefaultGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4