不涉及
现场工程师对设备进行打补丁过程中,提示如下报错,提示活动的软件镜像文件丢失。 <H3C>install activate patch flash:/S6900_HQF-CMW710-E6615P01H01.bin all List of the active software images for slot 1 is missing. The upgrade operation might fail. Continue? [Y/N]y Operation failed.
通过设备报错提示,怀疑设备系统版本镜像有问题,于是查看设备版本信息和display boot-loader信息。
<H3C>dis version
H3C Comware Software, Version 7.1.070, ESS 6615P01
Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.
H3C S6900-54HQF-F uptime is 0 weeks, 0 days, 1 hour, 12 minutes
Last reboot reason : User reboot
<H3C>dis boot-loader
Software images on slot 1:
Current software images:
Operation failed.
Main startup software images:
usba0:/s6900_hqf-cmw710-boot-e6615p01.bin
usba0:/s6900_hqf-cmw710-system-e6615p01.bin
usba0:/s6900_hqf-cmw710-freeradius-e6615p01.bin
Backup startup software images:
None
通过如上信息分析,设备版本没有问题,但是boot-loader指定的设备启动引导文件路径是usba0下,而不是设备根目录flash下。
和现场工程师核实操作发现,前面是通过插入U盘的方式升级设备系统版本的,设备软件版本存到U盘中,U盘插在设备USB接口识别后,没有执行copy命令将版本镜像文件复制到设备根目录
flash下,而是直接boot-loader指定引导启动版本路径为usba0路径,而后重启设备升级完成。
正常的USB升级软件版本方式,是需要将U盘中的版本镜像copy到设备根目录flash下,然后boot-loader指定根目录flash下的版本镜像为引导文件。(具体升级操作步骤见软件版本说明书附录中的升级指导)
怀疑现场是如上升级过程不规范导致,于是建议现场重新设备命令行下将软件版本上传到根目录flash下,然后boot-loader指定之后,重新升级一下。
操作过程中,发现命令行下boot-loader命令执行失败,且设备没法手动reboot,报错如下:
<H3C>boot-loader file flash:/S6900_HQF-CMW710-E6615P01.ipe all main
Verifying the file flash:/S6900_HQF-CMW710-E6615P01.ipe on slot 1...Done.
H3C S6900-54HQF-F images in IPE:
s6900_hqf-cmw710-boot-e6615p01.bin
s6900_hqf-cmw710-system-e6615p01.bin
s6900_hqf-cmw710-freeradius-e6615p01.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 1.
Decompressing file s6900_hqf-cmw710-boot-e6615p01.bin to flash:/s6900_hqf-cmw710-boot-e6615p01.bin.....Done.
Decompressing file s6900_hqf-cmw710-system-e6615p01.bin to flash:/s6900_hqf-cmw710-system-e6615p01.bin........................Done.
Decompressing file s6900_hqf-cmw710-freeradius-e6615p01.bin to flash:/s6900_hqf-cmw710-freeradius-e6615p01.bin...Done.
flash:/s6900_hqf-cmw710-boot-e6615p01.bin on slot 1 is corrupted.
flash:/s6900_hqf-cmw710-system-e6615p01.bin on slot 1 is corrupted.
flash:/s6900_hqf-cmw710-freeradius-e6615p01.bin on slot 1 is corrupted.
<H3C>%Jan 1 01:08:40:994 2021 H3C PKG/5/PKG_BOOTLOADER_FILE_FAILED: -IPAddr=**-User=**: Failed to executed the boot-loader file command
%Jan 1 00:04:18:857 2021 H3C SHELL/6/SHELL_CMD: -Line=aux0-IPAddr=**-User=**; Command is reboot
%Jan 1 00:04:20:357 2021 H3C SHELL/6/SHELL_CMD_CONFIRM: Confirm option of command reboot is yes.
%Jan 1 00:04:28:665 2021 H3C SHELL/4/SHELL_CMD_MATCHFAIL: -User=**-IPAddr=**; Command dr in view shell failed to be matched.
确认现场开局无业务,于是建议现场将设备断电重启,按ctrl+B进入设备bootrom扩展段进行软件升级操作,注意当下载操作完成后,系统提示用户设置该软件包的属性,键入<M>并回车,将所下载软件包写入Flash并设置为主用启动软件包。
其他过程忽略,具体查看官网手册。
Please input the file attribute (Main/Backup/None) M //这边注意选择M
Image file boot.bin is self-decompressing...
Free space: 534980608 bytes
Writing flash...................................................................
................................................................................
...................................................................Done!
在bootrom下重新正常升级软件版本后,设备命令行再进行激活补丁软件正常。
建议现场将设备断电重启,按ctrl+B进入设备bootrom扩展段进行软件升级操作,注意当下载操作完成后,系统提示用户设置该软件包的属性,键入<M>并回车,将所下载软件包写入Flash并设置为主用启动软件包。
其他过程忽略,具体查看官网手册。
Please input the file attribute (Main/Backup/None) M //这边注意选择M
Image file boot.bin is self-decompressing...
Free space: 534980608 bytes
Writing flash...................................................................
................................................................................
...................................................................Done!
在bootrom下重新正常升级软件版本后,设备命令行再进行激活补丁软件正常。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作