hwDevPreSlotPhySerialNum
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.8.1.20.1.2
Object
column OctetString
The vendor-specific serial number string for the previous board of the slot. The preferred value is the serial number string actually printed on the component itself. The indices of the entry are hwFrameIndex and hwSlotIndex.
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.8.1.20.1.2- Type
- column
- Access
- notifyonly
- Status
- current
- Parent
- hwDevConfPreviousEntry
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 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwDevPreSlotPhySerialNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwDevPreSlotPhySerialNum.<hwFrameIndex>.<hwSlotIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwDevPreSlotPhySerialNum'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.