Skip to main content

IOS XE software upgrade

·2 mins
Rs
Table of Contents

思科的 IOS XE 系统搞的比较少,就遇到两次升级的案例,做个小抄记录下升级步骤。

升级 IOS XE 软件
#

## 拷贝系统文件
ASR1006#copy ftp://10.75.49.254/ASR1K/asr1000rpx86-universalk9.16.07.01.SPA.bin bootflash:
Destination filename [asr1000rpx86-universalk9.16.07.01.SPA.bin]?
Accessing tftp://10.75.49.254/ASR1K/asr1000rpx86-universalk9.16.07.01.SPA.bin...

## 更改Boot选项
ASR1006(config)#no boot system
ASR1006(config)#boot system bootflash:asr1000rpx86-universalk9.16.07.01.SPA.bin
ASR1006#reload

## Reload
ASR1006#reload
System configuration has been modified. Save? [yes/no]: yes
Building configuration...
[OK]

升级 standby RP(RMA)
#

  1. Insert standby RP
  2. Copy boot image to RMA RP
    # copy bootflash:asr1000rpx86-universalk9.16.09.02.SPA.bin stby-bootflash:
  3. Redundancy switchover:
    #redundancy force-switchover

如果 RMA 的引擎无法启动卡再 rommon,请使用以下命令 boot

rommon 1 > boot usb1:

CPLD 升级
#

https://software.cisco.com/download/home/286308009/type/283425232/release/16.8.1

CPLD

F340.26.09-ASR1009-X-1#upgrade hw-programmable CPLD filename botflash:asr1000-hw-programmables.16.08.01.SPA.pkg r1

Start service Upgrade CPLD on Route-Processor 1 from current version 16082219 to 17042115  (Y)es/(N)o/(C)ontinue? [Y]

ROMMON 升级
#

https://software.cisco.com/download/home/286308009/type/282046486/release/16.3(2r)

F340.26.09-ASR1009-X-1#upgrade rom-monitor filename bootflash:asr1000-rommon.163-2r.pkg r1
Platform is ASR. Verifying the code signature of the ROMMON package...

Upgrade rom-monitor on Route-Processor 1

Target copying rom-monitor image file
File size : //tmp/rommon_upgrade/latest.bin
File size is : 7995392
FIPS File size is : 7995392
ROMMON Image Type : X86
File /tmp/rommon_upgrade/latest.bin is a FIPS ROMMON image
131072+0 records in
131072+0 records out
131072 bytes (131 kB, 128 KiB) copied, 0.396487 s, 331 kB/s
131072+0 records in
131072+0 records out
131072 bytes (131 kB, 128 KiB) copied, 0.404461 s, 324 kB/s
Checking upgrade image...
7995392+0 records in
15616+0 records out
7995392 bytes (8.0 MB, 7.6 MiB) copied, 4.31173 s, 1.9 MB/s
Upgrade image MD5 signature is 1d6f0b837d06cecf1777a459203f2c24
Burning upgrade partition...
7995392+0 records in
7995392+0 records out
7995392 bytes (8.0 MB, 7.6 MiB) copied, 148.807 s, 53.7 kB/s
Checking upgrade partition...
7995392+0 records in
7995392+0 records out
7995392 bytes (8.0 MB, 7.6 MiB) copied, 18.8892 s, 423 kB/s
Copying ROMMON environment
131072+0 records in
131072+0 records out
131072 bytes (131 kB, 128 KiB) copied, 2.4187 s, 54.2 kB/s
131072+0 records in
131072+0 records out
131072 bytes (131 kB, 128 KiB) copied, 2.43248 s, 53.9 kB/s
131072+0 records in
131072+0 records out
131072 bytes (131 kB, 128 KiB) copied, 2.40029 s, 54.6 kB/s
Upgrade flash partition MD5 signature is 1d6f0b837d06cecf1777a459203f2c24
ROMMON upgrade complete.
To make the new ROMMON permanent, you must restart the RP.
F340.26.09-ASR1009-X-1#hw-module slot R1 reload



Comments