zxAnGponOPVoipIpHostId

ZTE-AN-GPON-ONUPRF-MIB · .1.3.6.1.4.1.3902.1082.500.21.2.2.13.1.6

Object

column r/w Integer32
This attribute indicates the ONU VoIP host ID. 
The value 0 indicates this attribute is not configured.
The following VoIP 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-ONUPRF-MIB
OID
.1.3.6.1.4.1.3902.1082.500.21.2.2.13.1.6
Type
column
Access
readwrite
Status
current
Default
0
Parent
zxAnGponOPVoipIpConfEntry
Groups
1

Walk 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-ONUPRF-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-ONUPRF-MIB::zxAnGponOPVoipIpHostId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-GPON-ONUPRF-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-ONUPRF-MIB::zxAnGponOPVoipIpHostId.<zxAnGponOPName>.<zxAnGponOPVoipIpSlotId>.<zxAnGponOPVoipIpMediaIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-GPON-ONUPRF-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-GPON-ONUPRF-MIB::zxAnGponOPVoipIpHostId'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-33023

Conformance