CLIインストールによるSONiC OSのインストール

Summary: CLIインストールによるSONiC OSのインストール

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. OSソフトウェアがロードされたファイル サーバーの詳細。スイッチでHTTPサービスを使用できる必要があります。

指示:
イメージ リストとステータス: 現在起動しているOSイメージと、次回の再起動時に起動するイメージを確認します。
  1. SONiC CLIプロンプトで、「show image list」コマンドを使用して、現在アクティブなイメージと次回の再起動時にロードされるバージョンを表示します。
SONIC# show image list
Current: SONiC-OS-4.0.1-Enterprise_Base
Next: SONiC-OS-4.0.1-Enterprise_Base
Available:
SONiC-OS-4.0.1-Enterprise_Base
SONIC#
 
  1. image install http://[IP]/[image_name]」コマンドを使用して、新しいイメージを Next: slot にインストールし、次回の起動時にロードします。
SONIC#
SONIC# image install http://10.0.0.200/SONiC-OS-4.0.3-Enterprise_Base.bin
%Info: Check 'show image status' for image install progress.
SONIC#
 
  1. イメージのダウンロード プロセスのステータスを確認してから、インストールの進行状況を確認するには、「show image status」コマンドを使用します。
 
SONIC# show image status
-----------------------------------------------------------
Global operation status  : GLOBAL_STATE_DOWNLOAD
-----------------------------------------------------------
File operation status    : TRANSFER_DOWNLOAD
File size(bytes)         : 959070190
File transfer bytes      : 253968384
File progress            : 26%
Transfer start time      : 2023-02-03 20:14:45+0000
Transfer end time        : N/A
-----------------------------------------------------------
SONIC#
 
  1. 数分後に、「show image status」コマンドを再度実行し、インストールの進行状況を確認します。「転送終了時刻」が完了し、「インストール操作ステータス」セクションに追加の「INSTALL_PROGRESS」が表示されることに注意してください。
SONIC# show image status
-----------------------------------------------------------
Global operation status  : GLOBAL_STATE_INSTALL
-----------------------------------------------------------
File operation status    : TRANSFER_STATE_SUCCESS
File size(bytes)         : 959070190
File transfer bytes      : 959070190
File progress            : 100%
Transfer start time      : 2023-02-03 20:14:45+0000
Transfer end time        : 2023-02-03 20:16:02+0000
-----------------------------------------------------------
Install operation status : INSTALL_PROGRESS
Install start time       : 2023-02-03 20:16:02+0000
Install end time         : N/A
SONIC#
 
  1. 数分後に「show image status」をもう一度実行し、「INSTALL_STATE_SUCCESS」の完了をメモして、「Install end time」フィールドが更新されます。
SONIC# show image status
-----------------------------------------------------------
Global operation status  : GLOBAL_STATE_INSTALL
-----------------------------------------------------------
File operation status    : TRANSFER_STATE_SUCCESS
File size(bytes)         : 959070190
File transfer bytes      : 959070190
File progress            : 100%
Transfer start time      : 2023-02-03 20:14:45+0000
Transfer end time        : 2023-02-03 20:16:02+0000
-----------------------------------------------------------
Install operation status : INSTALL_STATE_SUCCESS
Install start time       : 2023-02-03 20:16:02+0000
Install end time         : 2023-02-03 20:18:06+0000
SONIC#
 
  1. show image list」コマンドは、次回の起動時に新しいイメージが使用されることを示します。現在のイメージと新しいイメージの両方が、ローカル スイッチで使用可能としてリストされます。
SONIC# show image list
Current: SONiC-OS-4.0.1-Enterprise_Base
Next: SONiC-OS-4.0.3-Enterprise_Base
Available:
SONiC-OS-4.0.1-Enterprise_Base
SONiC-OS-4.0.3-Enterprise_Base
SONIC#


デフォルトの起動イメージを設定します。スイッチが次回の起動時に使用するOSイメージを変更します。
  1. 次回の再ロード時に起動するように設定されているイメージのバージョンを表示するには、「show image list」コマンドを使用します。
SONIC#
SONIC# show image list
Current: SONiC-OS-4.0.1-Enterprise_Base
Next: SONiC-OS-4.0.1-Enterprise_Base
Available:
SONiC-OS-4.0.1-Enterprise_Base
SONiC-OS-4.0.3-Enterprise_Base
SONIC#
 
  1. 次回の起動時にスイッチが使用するOSイメージを変更するには、「image set default [image name]」コマンドを使用します。変更を確認するには、「show image list」コマンドをもう一度実行して、次回の起動時のイメージを確認します。
SONIC# show image list
Current: SONiC-OS-4.0.3-Enterprise_Advanced
Next: SONiC-OS-4.1.0-Enterprise_Premium
Available:
SONiC-OS-4.0.3-Enterprise_Advanced
SONiC-OS-4.1.0-Enterprise_Premium

SONIC# image set-default SONiC-OS-4.0.3-Enterprise_Advanced

SONIC# show image list
Current: SONiC-OS-4.0.3-Enterprise_Advanced
Next: SONiC-OS-4.0.3-Enterprise_Advanced
Available:
SONiC-OS-4.0.3-Enterprise_Advanced
SONiC-OS-4.1.0-Enterprise_Premium
SONIC#


以上で、SONiCでデフォルトの起動イメージを変更するために必要な手順は終了です。
詳細については、 Dell EMC Enterprise SONiCユーザー ガイド リリース ドキュメント 、 Dell SONiCクイック スタート ガイド を参照するか、Dell EMCテクニカル サポートにお問い合わせください。

Affected Products

Enterprise SONiC Distribution
Article Properties
Article Number: 000213661
Article Type: How To
Last Modified: 06 Dec 2023
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.