本文讨论使用 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。