Skip to main content
This guide covers checking firmware versions on devices within SambaRack. Devices are individual components attached to racks and nodes, including BMCs, switches, PDUs, and serial terminals.

Commands

Use the following commands to manage devices.

Check firmware version

Check firmware versions on devices:
snctl device firmware-check \
  (--rack-id <rack_id> | --group <group_name>) \
  --type <device_type> \
  [--index <index>]
Target selection: All firmware check commands require either --rack-id or --group (mutually exclusive):
ParameterDescription
--rack-id <rack_id>Check devices in a specific rack
--group <group_name>Check devices in all racks within a group
Device types:
TypeDescription
access_switchAccess switch
data_switchData switch
scsSystem Control Switch
biosBIOS
bmcBaseboard Management Controller
cardCard/Adapter
pduPower Distribution Unit
xrduXRDU
allAll device types
Example — check BMC firmware on a single rack:
snctl device firmware-check --rack-id 001 --type bmc
Example output:
             Firmware Version Information
+----------+-----------+--------+----------+----------+
| Rack     | Component | Status | CURR     | POR      |
+----------+-----------+--------+----------+----------+
| Rack-001 | BMC       | PASS   | 12.61.21 | 12.61.21 |
+----------+-----------+--------+----------+----------+
Example — check all firmware on a rack:
snctl device firmware-check --rack-id 001 --type all
Example output:
                                        Firmware Version Information
+----------+---------------+--------+----------+-------------+-----------+----------+-----------+----------+
| Rack     | Component     | Status | CURR     | POR         | OBMC_CURR | OBMC_POR | RDUC_CURR | RDUC_POR |
+----------+---------------+--------+----------+-------------+-----------+----------+-----------+----------+
| Rack-001 | ACCESS_SWITCH | FAIL   |          |             |           |          |           |          |
| Rack-001 | BIOS          | PASS   | R24_P1   | R24_P1      |           |          |           |          |
| Rack-001 | BMC           | PASS   | 12.61.21 | 12.61.21    |           |          |           |          |
| Rack-001 | CARD          | FAIL   |          | 228.1.111.0 |           |          |           |          |
| Rack-001 | DATA_SWITCH   | FAIL   |          |             |           |          |           |          |
| Rack-001 | PDU_PDU_1     | FAIL   |          |             |           |          |           |          |
| Rack-001 | PDU_PDU_2     | FAIL   |          |             |           |          |           |          |
| Rack-001 | PDU_PDU_3     | FAIL   |          |             |           |          |           |          |
| Rack-001 | PDU_PDU_4     | FAIL   |          |             |           |          |           |          |
| Rack-001 | SCS           | FAIL   |          |             |           |          |           |          |
| Rack-001 | XRDU_XRDU_0   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
| Rack-001 | XRDU_XRDU_1   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
| Rack-001 | XRDU_XRDU_2   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
| Rack-001 | XRDU_XRDU_3   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
| Rack-001 | XRDU_XRDU_4   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
| Rack-001 | XRDU_XRDU_5   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
| Rack-001 | XRDU_XRDU_6   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
| Rack-001 | XRDU_XRDU_7   | PASS   |          |             | 5.1.2-0   | 5.1.2-0  | 5.1.2     | 5.1.2    |
+----------+---------------+--------+----------+-------------+-----------+----------+-----------+----------+
If devices are unreachable or configured incorrectly, the firmware check fails for those devices with a FAIL status, as shown in the example output above.
Example — check firmware on all devices in a group:
snctl device firmware-check --group g1 --type all

Output columns

The firmware check output includes the following columns:
ColumnDescription
RackRack identifier
ComponentDevice type and index
StatusPASS if firmware matches expected version, FAIL otherwise
CURRCurrent firmware version
PORPlan of Record (expected) firmware version
OBMC_CURRCurrent OpenBMC firmware version (XRDU only)
OBMC_PORExpected OpenBMC firmware version (XRDU only)
RDUC_CURRCurrent RDUC firmware version (XRDU only)
RDUC_PORExpected RDUC firmware version (XRDU only)