将EdgeRouter-X固件恢复为以前的版本

本文摘要最近我将 EdgeRouter-X 的固件从 1.10.9 升级到 2.01,在使用过程中发现新固件不太稳定。为了谨慎起见,我决定将路由器固件降级回 v1.10.9。查询官方网站后了解到,恢复旧版本固件非常简单:无论何时执行固件升级,EdgeOS 都会将当前固件保留为辅助固件,而不会删除旧固件。这为恢复旧固件提供了简便的方法。下面我们进入 CLI 界面来完成恢复。第一步: 运行 show syst...

最近我将 EdgeRouter-X 的固件从 1.10.9 升级到 2.01,在使用过程中发现新固件不太稳定。为了谨慎起见,我决定将路由器固件降级回 v1.10.9。

查询官方网站后了解到,恢复旧版本固件非常简单:无论何时执行固件升级,EdgeOS 都会将当前固件保留为辅助固件,而不会删除旧固件。这为恢复旧固件提供了简便的方法。下面我们进入 CLI 界面来完成恢复。

第一步: 运行 show system image 查看路由器上当前的固件。

Admin@router:~$ show system image
The system currently has the following image(s) installed:

v2.0.1.5174691.190312.1617     (running image) (default boot)
v1.10.9.5166958.190213.1952-1

第二步: 运行 set system image default-boot 切换要引导的固件。

Admin@router:~$ set system image default-boot
The system currently has the following image(s) installed:

v2.0.1.5174691.190312.1617     (running image) (default boot)
v1.10.9.5166958.190213.1952-1

Are you sure you want to switch images? (Yes/No) [Yes]: Yes

第三步: 回答 "yes",进行固件切换,输出信息如下:

Moving images...
Done
Switched from
  Version:      v2.0.1.5174691.190312.1617
to
  Version:      v1.10.9.5166958.190213.1952-1

第四步: 再次运行 show system image 验证固件是否已成功切换。

Admin@router:~$ show system image
The system currently has the following image(s) installed:

v1.10.9.5166958.190213.1952-1  (default boot)
v2.0.1.5174691.190312.1617     (running image)

A reboot is needed to boot default image

第五步: 运行 reboot 重启,完成固件切换。

Admin@router:~$ reboot

OK,切换完成!

觉得内容不错?我要

评论 暂无评论
暂无评论,快来抢沙发吧~