zxAnGponRmSnmpConfIpHostId
ZTE-AN-GPON-REMOTE-ONU-MIB ·
.1.3.6.1.4.1.3902.1082.500.20.2.18.2.1.3
Object
column r/w
Integer32
The ONU IP host ID. ONU SNMP configuration data uses this service channel. The value 0 indicates this attribute is not configured. The following IP host ID format is defined: MSB : Most Significant Byte LSB : Least Significant Byte | MSB | Byte 2 | Byte 1 | LSB | |--------------|-----------------------------------------------| | | |IP-type | reserved | host ID | | (8bits) | (8bits) | (1bit) | (7bits) | (8bits) | |--------------------------------------------------------------| IP-type: the IP type of host ID(1 bit) 0 represents IPv4 1 represents IPv6
Context
- MIB
- ZTE-AN-GPON-REMOTE-ONU-MIB
- OID
.1.3.6.1.4.1.3902.1082.500.20.2.18.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Default
0- Parent
- zxAnGponRmSnmpConfEntry
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::zxAnGponRmSnmpConfIpHostId'
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::zxAnGponRmSnmpConfIpHostId.<ifIndex>.<zxAnPonOnuIndex>.<zxAnGponRmSnmpConfIndex>'
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::zxAnGponRmSnmpConfIpHostId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-33023