zxAnGponRmIphostId
ZTE-AN-GPON-REMOTE-ONU-MIB ·
.1.3.6.1.4.1.3902.1082.500.20.2.9.2.1.1
Object
column Integer32
This attribute provides a unique number for each instance of this managed entity. The ONU creates as many instances as there are independent IP stacks on the ONU. 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.9.2.1.1- Type
- column
- Access
- noaccess
- 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::zxAnGponRmIphostId'
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::zxAnGponRmIphostId.<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::zxAnGponRmIphostId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-33023