简介
本文档介绍如何在运行Cisco IOS®-XE SD-WAN的路由器上执行软件降级,以恢复到原始(普通/经典)Cisco IOS-XE软件。
问题
用户无法配置boot system flash bootflash:映像设置以启动原始Cisco IOS-XE映像:
router#config-transaction
admin connected from 127.0.0.1 using console on router
router(config)# boot ?
^
% Invalid input detected at '^' marker.
router(config)# boot system flash bootflash:c1100-universalk9_ias.16.06.05.SPA.bin
-------------------^
syntax error: unknown command
解决方案
该过程类似于软件升级到Cisco IOS-XE SD-WAN软件。
- 将所需软件复制到bootflash或上传到USB闪存驱动器。
- 确保路由器已连接到管理控制台。
- 如果PnP正在运行,请停止PnP以允许访问CLI:
router# pnpa service discovery stop
- 将config-register更改为0x0:
router# config-transaction
router(config)# config-register 0x0
router(config)# commit
router(config)# end
- 验证路由器重新启动时配置寄存器是否设置为0x0:
router# show bootvar
BOOT variable = bootflash:packages.conf,1;bootflash:prev_packages.conf,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x0
Standby not ready to show bootvar
- 重新启动路由器:
router# reload
Proceed with reload? [confirm] Yes
路由器重新启动并进入ROMMON模式。
- 检查路由器的bootflash以获取要加载的软件映像名称:
rommon 1> dir bootflash
rommon 2> boot bootflash:c1100-universalk9_ias.16.06.05.SPA.bin
路由器使用之前的软件映像重新启动。
- 在重新加载后将config-register设置为原始值(例如0x2102)并保存:
router# config terminal
router(config)# config-register 0x2102
router(config)# end
router# wr