ocm2PmSlot
LUXN-MIB ·
.1.3.6.1.4.1.4253.2.1.26.4.1.3
Object
The slot within the shelf the card is in. Valid values are: 1 to 17. The system automatically determines the right value for this entry based on the known (available) OCM2 cards.
Context
- MIB
- LUXN-MIB
- OID
.1.3.6.1.4.1.4253.2.1.26.4.1.3- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- ocm2PmEntry
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::ocm2PmSlot'
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::ocm2PmSlot.<ocm2PmLocation>.<ocm2PmShelf>.<ocm2PmSlot>.<ocm2PmLink>'
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::ocm2PmSlot'