pduCurDefGwAddress
APNL-MODULAR-PDU-MIB ·
.1.3.6.1.4.1.29640.4.3.19
Object
scalar IPv4 AddrSNMPv2-SMIIpAddress
The current PDU IPv4 default gateway address used by the Ipstack (e.g: 192.168.1.1).
Context
- MIB
- APNL-MODULAR-PDU-MIB
- OID
.1.3.6.1.4.1.29640.4.3.19- Type
- scalar
- Access
- readonly
- Status
- current
- Units
- IPv4 Addr
- Parent
- pdu
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 'APNL-MODULAR-PDU-MIB' -M '/opt/observium/mibs/apnl:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'APNL-MODULAR-PDU-MIB::pduCurDefGwAddress.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'APNL-MODULAR-PDU-MIB' -M '/opt/observium/mibs/apnl:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'APNL-MODULAR-PDU-MIB::pduCurDefGwAddress'
Syntax
IPv4 AddrSNMPv2-SMIIpAddress
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4