cpqRackCommonEnclosureSerialNumPrev
CPQRACK-MIB ·
.1.3.6.1.4.1.232.22.2.3.1.1.1.24
Object
column mandatory
OctetString
The serial number of the enclosure immediately preceding or
above this enclosure.
The string will be empty if the neighbor enclosure serial number
could not be determined or there is no enclosure preceding this one.
Context
- MIB
- CPQRACK-MIB
- OID
.1.3.6.1.4.1.232.22.2.3.1.1.1.24- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqRackCommonEnclosureEntry
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 'CPQRACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQRACK-MIB::cpqRackCommonEnclosureSerialNumPrev'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQRACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQRACK-MIB::cpqRackCommonEnclosureSerialNumPrev.<cpqRackCommonEnclosureRack>.<cpqRackCommonEnclosureIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQRACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQRACK-MIB::cpqRackCommonEnclosureSerialNumPrev'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64