memberPort
GEPON-OLT-COMMON-MIB ·
.1.3.6.1.4.1.5875.800.3.18.1.1.3
Object
The 5116: The bit of a byte indicates whether the port is the TRUNK group member. For example: if bit0 is 1, the port 1 is the TRUNK group member; if bit1 is 0, the port 2 is not the TRUNK group member. There are totally 7 ports, indicated by bit0 to bit6. The 5516: 32 bit integer: 0 to 31bit from right to left. Among which, 0 to 5 bits indicate the first group ports (1 to 6) and 16 to 21 bits indicate the second group ports (1 to 6).
Context
- MIB
- GEPON-OLT-COMMON-MIB
- OID
.1.3.6.1.4.1.5875.800.3.18.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- trunkConfigEntry
- 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 'GEPON-OLT-COMMON-MIB' -M '/opt/observium/mibs/fiberhome:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GEPON-OLT-COMMON-MIB::memberPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GEPON-OLT-COMMON-MIB' -M '/opt/observium/mibs/fiberhome:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GEPON-OLT-COMMON-MIB::memberPort.<trunkGroupId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GEPON-OLT-COMMON-MIB' -M '/opt/observium/mibs/fiberhome:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GEPON-OLT-COMMON-MIB::memberPort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of