onuCommonPortStatePortIndex

FS-NMS-GPON-MIB · .1.3.6.1.4.1.52642.10.4.9.1.2

Object

column Integer32
PortIndex consists of port_type and port_id:
PortIndex = (port_type << 8) | port_id
port_type define:
ethuni    0x00
veip      0x02
iphost    0x04

Context

MIB
FS-NMS-GPON-MIB
OID
.1.3.6.1.4.1.52642.10.4.9.1.2
Type
column
Access
readonly
Status
current
Parent
onuCommonPortStateEntry

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 'FS-NMS-GPON-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-GPON-MIB::onuCommonPortStatePortIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-NMS-GPON-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-GPON-MIB::onuCommonPortStatePortIndex.<onuCommonPortStateDeviceIndex>.<onuCommonPortStatePortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-NMS-GPON-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-NMS-GPON-MIB::onuCommonPortStatePortIndex'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647