zxAnGponRmIphostCurrGateway
ZTE-AN-GPON-REMOTE-ONU-MIB ·
.1.3.6.1.4.1.3902.1082.500.20.2.9.2.1.18
Object
column INET-ADDRESS-MIBInetAddress
Current default Gateway Address for the IP service. This attribute is updated by the ONU if a new gateway is assigned by DHCP. This attribute is only valid for IPv4 and this value is '0.0.0.0' for IPv6.
Context
- MIB
- ZTE-AN-GPON-REMOTE-ONU-MIB
- OID
.1.3.6.1.4.1.3902.1082.500.20.2.9.2.1.18- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxAnGponRmIphostConfEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIphostCurrGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIphostCurrGateway.<ifIndex>.<zxAnPonOnuIndex>.<zxAnGponRmIphostId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIphostCurrGateway'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255