zxAnGponRmServiceIfId
ZTE-AN-GPON-REMOTE-ONU-MIB ·
.1.3.6.1.4.1.3902.1082.500.20.2.7.2.1.3
Object
4bytes value contains:type(MSB 2bytes)/ifId(LSB 2bytes).
type means
0 bridge
1 ethuni
2 iphost
3 wifiuni
4 veip
5 wan
If type is 'bridge', then the 2-byte ifId has no meaning, just keep
it zero;
If type is 'ethuni', then the 2-byte ifId contains:
slot(MSB 1byte)/port(LSB 1byte);
If type is 'iphost', then the 2-byte ifId means the ID of iphost,
range from 1 to 255;
If type is 'wifiuni', then the 2-byte ifId contains:
slot(MSB 1byte)/port(LSB 1byte);
If type is 'veip', then the 2-byte ifId means the ID of VEIP,
range from 1 to 255;
If type is 'wan', then the 2-byte ifId means the ID of WAN,
range from 1 to 255.
Context
- MIB
- ZTE-AN-GPON-REMOTE-ONU-MIB
- OID
.1.3.6.1.4.1.3902.1082.500.20.2.7.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnGponRmServiceMapEntry
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::zxAnGponRmServiceIfId'
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::zxAnGponRmServiceIfId.<ifIndex>.<zxAnPonOnuIndex>.<zxAnGponRmServiceName>'
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::zxAnGponRmServiceIfId'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647