Cisco 路由器 IOS 更新

网络工程 路由 路由器 思科-ios 故障排除 联网
2021-08-02 13:36:55

我在更新 Cisco 7304 路由器的 IOS 时遇到问题。我正在从 12.4(24)T2 升级到 15.2(4)S7。但我是从这个版本 15.2(4)S7 启动的,它从闪存正确启动。但是当我输入命令时,show version它显示

YLINX-EDGE-LHE-01#sh version
Cisco IOS Software, 7200 Software (C7200P-SPSERVICESK9-M), Version 12.4(24)T2, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Mon 19-Oct-09 23:55 by prod_rel_team

ROM: System Bootstrap, Version 12.4(12.2r)T, RELEASE SOFTWARE (fc1)
BOOTLDR: Cisco IOS Software, 7200 Software (C7200P-BOOT-M), Version 15.2(4)S7, RELEASE SOFTWARE (fc4)

YLINX-EDGE-LHE-01 uptime is 30 minutes
System returned to ROM by power-on
System image file is "disk0:c7200p-spservicesk9-mz.124-24.T2.bin"

更远

YLINX-EDGE-LHE-01#sh bootvar
BOOT variable =
CONFIG_FILE variable does not exist
BOOTLDR variable =
WARM_REBOOT variable = FALSE
Configuration register is 0x2102
........

这里 flash 有两个 IOS 我可以从 flash 中删除以前的 IOS

YLINX-EDGE-LHE-01#show flash

-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name
1   .. image        64588721  A152DC   27 10048092 Jan 24 2019 01:36:11 +00:00 c7200p-boot-mz.152-4.S7.bin
2   .. image        33A24A92 2DBF9C4   38 37398120 Jan 24 2019 01:44:20 +00:00 c7200p-adventerprisek9-mz.152-4.S7.bin

18089532 bytes available (47446468 bytes used)
1个回答

不要从flash中删除IOS>

请分享输出

# show boot -- 如果不执行以下命令,请检查新 IOS 是否在下次重新启动。

conf t 
boot system flash:IOS image name.bin

保存配置

检查显示引导