zxAnGponOPWanHostId
ZTE-AN-GPON-ONUPRF-MIB ·
.1.3.6.1.4.1.3902.1082.500.21.2.2.11.1.4
Object
column r/w
Integer32
The ONU IP host ID. 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-ONUPRF-MIB
- OID
.1.3.6.1.4.1.3902.1082.500.21.2.2.11.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Default
0- Parent
- zxAnGponOPWanIpConfEntry
- Groups
- 1
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-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::zxAnGponOPWanHostId'
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::zxAnGponOPWanHostId.<zxAnGponOPName>.<zxAnGponOPWanIpIndex>'
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::zxAnGponOPWanHostId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-33023
Conformance
Member of