Dell Networking:Dell Networkingスイッチ用にダウンロードしたOS10ファームウェア イメージのチェックサムを確認する方法

Summary: この記事では、Dell Networking OS10スイッチにダウンロードされたファームウェア イメージのチェックサムを確認する方法について説明します。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

目次

  1. チェックサムが必要な理由
  2. SHA256チェックサム ファイルの場所
  3. スイッチにダウンロードした「イメージ ファイル」を見つける方法
  4. ダウンロードしたファイルのチェックサムの計算

チェックサムが必要な理由

転送中にファイルが破損する可能性があります。ファイルのデータ整合性をチェックするためにチェックサムを使用できます。チェックサムは、MD5、SHS224、SHA256などのチェックサム アルゴリズムを使用してファイルから生成された番号です。OS10パッケージにはSHA256チェックサム ファイルが含まれており、スイッチにダウンロードされたファイルのデータ整合性をチェックするために使用できます。

SHA256チェックサム ファイルの場所

ファームウェア バージョンごとにチェックサムは異なります。インストール パッケージに含まれるChecksumファイルを確認してください。

Checksumファイルはインストール パッケージに含まれています。これは、ダウンロードしたZIPファイルを展開すると確認できます。このファイルはSHA256タイプです。

以下の例を参照してください。
チェックサム ファイル タイプのスクリーンショット

メモ帳または同様のユーティリティーでファイルを開きます。64文字の文字列があります。この64文字の文字列は、ダウンロードされたイメージのハッシュ出力と一致する必要があります。

出力例
以下は、メモ帳で開いたSHA256ファイルです。
メモ帳で開いたチェックサム ファイルのスクリーンショット

ここで、チェックサム値は「d69dd152db027cb81b80be5a1f4b6e5c63e2d187d5c0e9f73e2d6d1a3b9c6d57」です。これは、ダウンロードしたファイルの計算されたチェックサム値と一致する必要があります。

スイッチにダウンロードした「イメージ ファイル」を見つける方法

OS10のファームウェア アップグレードを実行する際に、コマンド「image download」を使用して、ソフトウェア イメージをTFTP、FTP、SCP、HTTP、またはUSBからスイッチにダウンロードします。このファイルは/var/os10-imageフォルダーにダウンロードされます。

スイッチにダウンロードされたファイルを表示するには、「dir image」コマンドを使用します。

出力例

Switch# dir image
Directory contents for folder: image
Date (modified)        Size (bytes)  Name
---------------------  ------------  ------------------------------------------
2020-12-18T12:54:51Z   477981208     PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin

ダウンロードしたファイルのチェックサムの計算

ダウンロードしたファイルのSHA256チェックサムは、以下のいずれかの方法で計算できます。

方法1:OS10 CLIで「Image verify」コマンドを使用する(OS 10.5以降)

コマンド構文

コマンド 説明
Switch# image verify image://<image name> sha256 ファイルのSHA256チェックサムを計算するコマンド。

出力例

Switch# image verify image://PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin sha256
Hash of image: d69dd152db027cb81b80be5a1f4b6e5c63e2d187d5c0e9f73e2d6d1a3b9c6d57

方法2:OS10 CLIで「SHA256sum」コマンドを使用する

コマンド構文

タブを使用しても、 「system」コマンドは自動入力されません。

コマンド 説明
Switch# system “ls /var/os10-image/” ダウンロードしたファイルが/var/os10-image/フォルダーに存在することを確認します。
Switch# system "sha256sum /var/os10-image/<image file name>" ファイルのSHA256チェックサムを計算するコマンド。

出力例

Switch# system “ls /var/os10-image/”
PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin    ========>Verify file name

Switch# system "sha256sum /var/os10-image/</PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin"
d69dd152db027cb81b80be5a1f4b6e5c63e2d187d5c0e9f73e2d6d1a3b9c6d57  /var/os10-image/PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin ========>Verify the checksum with the checksum in file

方法3:シェルで「Sha256sum」コマンドを使用する

コマンド構文

コマンド 説明
Switch# system bash シェルにログインし、管理者パスワードを入力する必要があります。
admin@Switch:~$ ls /var/os10-image/ ダウンロードしたファイルが/var/os10-image/フォルダーに存在することを確認します。
admin@Switch/var/os10-image$ sha256sum /var/os10-image/<image file name> ファイルのSHA256チェックサムを計算するコマンド。
admin@Switch/var/os10-image$ exit [終了(E)]

出力例

Switch# system bash               ============>Provide admin password when prompted
admin@Switch:~$ ls /var/os10-image/
PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin ========>Verify file name

admin@Switch:~$ sha256sum /var/os10-image/PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin
d69dd152db027cb81b80be5a1f4b6e5c63e2d187d5c0e9f73e2d6d1a3b9c6d57  /var/os10-image/PKGS_OS10-Enterprise-10.5.0.7.745stretch-installer-x86_64.bin ========>Verify the checksum with the checksum in file

 

Affected Products

S Series, PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810P, PowerSwitch S4810-ON, PowerSwitch S4820T, PowerSwitch S5000, PowerSwitch S6000 ON, Dell EMC Networking MX7116n, Dell EMC Networking MX9116n, Dell EMC Networking N3200-ON , PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON, PowerSwitch S4248FB-ON /S4248FBL-ON, PowerSwitch S5048F-ON, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON ...

Products

PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON, PowerSwitch S4248FB-ON /S4248FBL-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON , PowerSwitch S5448F-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON, PowerSwitch Z9432F-ON ...
Article Properties
Article Number: 000181434
Article Type: How To
Last Modified: 17 Jul 2025
Version:  11
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.