本文將討論使用 USB 將韌體下載至交換器的程序。
將韌體檔案 (.stk 檔案) 複製到 USB 裝置。
輸入以下命令以確認已偵測到裝置:
show usb device
範例輸出
Console# show usb device Device Status.................................. Active Manufacturer................................... xxxxxxxxx Product Name................................... xxxxxxxxxx Device Serial Number........................... xxxxxxxxxxxxxxxxxxx Class Code..................................... 0x0000 Subclass Code.................................. 0x0000 Protocol....................................... 0x0000 Vendor ID...................................... xxxxxx Product ID..................................... xxxxxx USB Version Compliance......................... 2.0
將 USB 裝置的韌體檔案複製到交換器的備份分割區。
範例輸出
console# copy usb://N4000v6.5.4.3.stk backup Transfer Mode.................................. Binary Data Type...................................... Code Destination Filename........................... backup Management access will be blocked for the duration of the transfer Are you sure you want to start? (y/n) y File transfer in progress. Management access will be blocked for the duration of the transfer. please wait... File contents are valid. Copying file to flash... File transfer operation completed successfully.
輸入以下命令,確認檔案已成功複製到備份磁碟分割。
show version
範例輸出
Console# show version Machine Description............... Dell Networking Switch System Model ID................... N4032F Machine Type...................... Dell Networking N4032F Serial Number..................... XXXXXXXXXXXXXXXXXXXXX Manufacturer...................... 0xbc00 Burned In MAC Address............. XXXX.XXXX.XXXX System Object ID.................. 1.3.6.1.4.1.674.10895.3044 CPU Version....................... XLP308H-B1 SOC Version....................... BCM56842_A1 HW Version........................ 3 CPLD Version...................... 17 unit active backup current-active next-active ---- ----------- ----------- -------------- -------------- 1 6.2.7.2 6.5.4.3 6.2.7.2 6.2.7.2
輸入以下命令,將備份磁碟分割設定為重新開機後的使用中磁碟分割。
boot system backup
範例輸出
Console# boot system backup Activating image backup ...
再次輸入以下命令,以驗證「next-active」下是否顯示最新韌體
show version
範例輸出
Console# show version Machine Description............... Dell Networking Switch System Model ID................... N4032F Machine Type...................... Dell Networking N4032F Serial Number..................... XXXXXXXXXXXXXXXXXXX Manufacturer...................... 0xbc00 Burned In MAC Address............. XXXX.XXXX.XXXX System Object ID.................. 1.3.6.1.4.1.674.10895.3044 CPU Version....................... XLP308H-B1 SOC Version....................... BCM56842_A1 HW Version........................ 3 CPLD Version...................... 17 unit active backup current-active next-active ---- ----------- ----------- -------------- -------------- 1 6.2.7.2 6.5.4.3 6.2.7.2 6.5.4.3
儲存目前的組態,並重新啟動交換器。交換器應會出現新的韌體代碼。
根據韌體需求升級開機代碼和 CPLD。