ocmIfConnectedPort
LUM-OCM-MIB ·
.1.3.6.1.4.1.8708.2.33.2.2.1.1.16
Object
The number of the connected port. (the tx port number). 1 or 3 for OA, 5 for 1x2ROADM/100G/50G, 9 for 1x4ROADM/100G,ROADM1x4f, 17 for 1x8ROADM/50G, 19 for ROADM1x9f, 1 for OA26C, 5 for OARAED21HG 81 for MDU40. and 1 to 82 for other boards.
Context
- MIB
- LUM-OCM-MIB
- OID
.1.3.6.1.4.1.8708.2.33.2.2.1.1.16- Type
- column
- Access
- readwrite
- Status
- current
- Default
0- Parent
- ocmIfEntry
- Groups
- 5
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 'LUM-OCM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-OCM-MIB::ocmIfConnectedPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LUM-OCM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-OCM-MIB::ocmIfConnectedPort.<ocmIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUM-OCM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUM-OCM-MIB::ocmIfConnectedPort'
Syntax
- Source
- LUM-TCPortNumber
- Base type
Unsigned32- Display format
d
Type Description
The number of a port on a board.
If an interface has two numbers, the lowest number is used.
0 signifies an undefined port number.
Values & Constraints
Type Constraints
range: 0..116