如何升级思科路由器的rommon

有些时候,进行版本大升级的时候,需要升级一下rommon。

下面以ASR1000为例进行升级,操作如下。



ASR1013-2#upgrade rom-monitor filename bootflash:asr1000-rommon.152-1r.S.pkg ?
  0    SPA-Inter-Processor slot 0
  1    SPA-Inter-Processor slot 1
  2    SPA-Inter-Processor slot 2
  3    SPA-Inter-Processor slot 3
  4    SPA-Inter-Processor slot 4
  5    SPA-Inter-Processor slot 5
  F0   Embedded-Service-Processor slot 0
  F1   Embedded-Service-Processor slot 1
  FP   Embedded-Service-Processor
  R0   Route-Processor slot 0
  R1   Route-Processor slot 1
  RP   Route-Processor
  all  Upgrade ROMMON on all slots

ASR1013-2#$-monitor filename bootflash:asr1000-rommon.152-1r.S.pkg all       

Upgrade rom-monitor on Route-Processor 0

Target copying rom-monitor image file
File /tmp/rommon_upgrade/latest.bin is a FIPS ROMMON image
2097152+0 records in
2097152+0 records out
65536+0 records in
65536+0 records out
Checking upgrade image...
1114112+0 records in
2176+0 records out
Upgrade image MD5 signature is fe18056d332dced800d0632a0f629675
Burning upgrade partition...
1114112+0 records in
1114112+0 records out
Checking upgrade partition...
1114112+0 records in
1114112+0 records out
2097152+0 records in
2097152+0 records out
65536+0 records in
65536+0 records out
65536+0 records in
65536+0 records out
Upgrade flash partition MD5 signature is fe18056d332dced800d0632a0f629675
ROMMON upgrade complete.
To make the new ROMMON permanent, you must restart the RP.

Upgrade rom-monitor on Route-Processor 1

% Error connecting to RP 1

Upgrade rom-monitor on Embedded-Service-Processor 0

% Error connecting to ESP 0

Upgrade rom-monitor on SPA-Inter-Processor 0

% Error connecting to SIP 0

Upgrade rom-monitor on SPA-Inter-Processor 5

% Error connecting to SIP 5
ASR1013-2#reload
ASR1013-2#wr
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]y
Building configuration...
[OK]
ASR1013-2#
ASR1013-2#
ASR1013-2#reload
Proceed with reload? [confirm]y
*Nov 21 08:04:13.267: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.Nov 21 08:04:28.402 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: process exit with reload chassis code 


Initializing Hardware ...

Calculating the ROMMON CRC ... CRC is correct


System Bootstrap, Version 15.3(1r)S, RELEASE SOFTWARE (fc1)
Copyright (c) 1994-2012 by cisco Systems, Inc.

Current image running: Boot ROM1
Last reset cause: LocalSoft

ASR1000-RP2 platform with 8388608 Kbytes of main memory

Rommon upgrade requested
Flash upgrade reset 1 in progress
.......

Initializing Hardware ...

Calculating the ROMMON CRC ... CRC is correct


System Bootstrap, Version 15.2(1r)S, RELEASE SOFTWARE
Copyright (c) 1994-2011 by cisco Systems, Inc.

Current image running: *Upgrade in progress* Boot ROM0
Last reset cause: BootRomUpgrade


 ***          Incorrect BIOS parameters           *** 
 *** Correcting the BIOS parameters and rebooting *** 
\ufffd

Initializing Hardware ...

Calculating the ROMMON CRC ... CRC is correct


System Bootstrap, Version 15.3(1r)S, RELEASE SOFTWARE (fc1)
Copyright (c) 1994-2012 by cisco Systems, Inc.

Current image running: Boot ROM1
Last reset cause: Watchdog/ICH

ASR1000-RP2 platform with 8388608 Kbytes of main memory

Rommon upgrade requested
Flash upgrade reset 2 in progress
.......

Initializing Hardware ...

Calculating the ROMMON CRC ... CRC is correct


System Bootstrap, Version 15.2(1r)S, RELEASE SOFTWARE
Copyright (c) 1994-2011 by cisco Systems, Inc.

Current image running: *Upgrade in progress* Boot ROM0
Last reset cause: BootRomUpgrade

ASR1000-RP2 platform with 8388608 Kbytes of main memory


  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值