ocm4gLink2LinkName
LUXN-MIB ·
.1.3.6.1.4.1.4253.1.32.2.1.20
Object
Link 2 link name for fiber between the local and the remote card.
Context
- MIB
- LUXN-MIB
- OID
.1.3.6.1.4.1.4253.1.32.2.1.20- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ocm4gEntry
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 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::ocm4gLink2LinkName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::ocm4gLink2LinkName.<ocm4gCardLocation>.<ocm4gCardShelf>.<ocm4gCardSlot>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUXN-MIB::ocm4gLink2LinkName'