zxGponFlowIfId
ZXGPON-ONTMGMT-MIB ·
.1.3.6.1.4.1.3902.1012.3.50.13.1.1.2
Object
The interface id which is related with this flow. It can be the IfId of switch, ethuni, ethflow or iphost, according to the zxGponFlowType. The format as below: zxGponFlowType 1st byte 2nd byte 3rd byte 4th byte switch reserved reserved slot of switch(0~255) switch index(1~255) ethuni reserved reserved slot of ethuni(0~255) ethuni index(1~255) ethflow reserved reserved slot of cesuni(0~255) cesuni index(1~255) iphost reserved reserved reserved iphost index(1~255) (4 bytes)
Context
- MIB
- ZXGPON-ONTMGMT-MIB
- OID
.1.3.6.1.4.1.3902.1012.3.50.13.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxGponFlowEntry
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 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponFlowIfId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponFlowIfId.<zxGponOltIndex>.<zxGponONTIndex>.<zxGponFlowIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXGPON-ONTMGMT-MIB::zxGponFlowIfId'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647