zxAnPonOnuIfId

ZTE-AN-PON-BASE-MIB · .1.3.6.1.4.1.3902.1082.500.1.2.2.3.1.1

Object

The most significant 16 bits indicate the type of this interface:
ETH(10), E1(20), T1(21), DS1(22), POTS(30), RF(40), WiFi(50), 
COM(60), VEIP(70), xDSL(80). 
The least significant 16 bits indicate the ID of this interface:
the first 8 bits specifies the slot ID associated with this UNI,
the second 8 bits specifies the port ID associated with this UNI.
eg.the zxAnPonOnuIfId for eth_0/1 is 655361(0xA0001).

Context

MIB
ZTE-AN-PON-BASE-MIB
OID
.1.3.6.1.4.1.3902.1082.500.1.2.2.3.1.1
Type
column
Access
noaccess
Status
current
Parent
zxAnPonOnuIfAttrEntry

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647