XE Router Rommon升级
1.下载我们的需要的rommon版本
具体需要的版本,我们可以参考类似的upgrade guide(这里以A1K为例)。
https://www.cisco.com/c/en/us/td/docs/routers/asr1000/rommon/asr1000-rommon-upg-guide.html#task_61828
2.将rommon的版本上传到设备
Router# copy usb0:asr1000-rommon.152-1r.S.pkg bootflash: Destination filename [asr1000-rommon.152-1r.S.pkg]? Copy in progress...CCCCCCCCCCCCCCCCCCCC 1253680 bytes copied in 1.977 secs (634133 bytes/sec) Router# dir bootflash : Directory of bootflash:/ 11 drwx 16384 Aug 19 2009 23:27:51 +00:00 lost+found 14657 drwx 4096 Aug 19 2009 23:39:21 +00:00 .ssh 73281 drwx 4096 Oct 12 2011 01:20:10 +00:00 .prst_sync 58625 drwx 4096 Aug 19 2009 23:39:38 +00:00 .rollback_timer 29313 drwx 4096 Aug 19 2009 23:40:52 +00:00 .installer 12 -rw- 1253680 Oct 12 2011 01:23:56 +00:00 asr1000-rommon.152-1r.S.pkg 14 -rw- 4096 Jul 12 2010 22:50:55 +00:00 .debug..swp 16 -rw- 1263920 Jul 20 2010 22:06:15 +00:00 rp1-rommon 19 -rwx 68272 Jul 13 2010 01:18:05 +00:00 debugfs 42 -rw- 1270064 Jul 21 2010 01:08:36 +00:00 asr1000-rommon.150-1r.S.pkg 48 -rw- 3338 Feb 25 2011 21:38:34 +00:00 README_dotfiles 50 -r-- 2391 Jul 17 2011 03:22:23 +00:00 debug.conf 945377280 bytes total (893399040 bytes free)
3.在升级前检查Firmware version
Router# show platform Chassis type: MCP4RU Slot Type State Insert time (ago) --------- ------------------- --------------------- ----------------- 0 MCP-CC ok 00:03:02 0/3 SPA-2X1GE-V2 ok 00:00:37 R0 ASR1000-RP1* ok, active 00:03:02 F0 ASR1000-ESP10* ok, active 00:03:02 P0 Unknown ps, fail never P1 Unknown ps, fail never Slot CPLD Version Firmware Version --------- ------------------- --------------------------------------- 0 07091401 15.0(1r)S R0 09081701 15.0(1r)S F0 07051650 15.0(1r)S
4.执行升级的操作
最后的选择,可以选择all,或者对应的模块,这里是all的方式,因为上面可以看到所有的firmware都需要升级。
Router# upgrade rom-monitor filename bootflash:asr1000-rommon.152-1r.S.pkg all Upgrade rom-monitor on Route-Processor 0 Target copying rom-monitor image file 1966080+0 records in 1966080+0 records out Checking upgrade image... 1966080+0 records in 3840+0 records out Upgrade image MD5 signature is 119275e3054c3cfdc0f32a2a334dd253 Burning upgrade partition... 1966080+0 records in 1966080+0 records out Checking upgrade partition... 1966080+0 records in 1966080+0 records out Upgrade flash partition MD5 signature is 119275e3054c3cfdc0f32a2a334dd253 ROMMON upgrade complete. To make the new ROMMON permanent, you must restart the RP. Upgrade rom-monitor on Embedded-Service-Processor 0 Target copying rom-monitor image file Checking upgrade image... 1966080+0 records in 3840+0 records out Upgrade image MD5 signature is 119275e3054c3cfdc0f32a2a334dd253 Burning upgrade partition... 1966080+0 records in 1966080+0 records out Checking upgrade partition... 1966080+0 records in 1966080+0 records out Upgrade flash partition MD5 signature is 119275e3054c3cfdc0f32a2a334dd253 ROMMON upgrade complete. To make the new ROMMON permanent, you must restart the linecard. Upgrade rom-monitor on SPA-Inter-Processor 0 Target copying rom-monitor image file Checking upgrade image... 1966080+0 records in 3840+0 records out Upgrade image MD5 signature is 119275e3054c3cfdc0f32a2a334dd253 Burning upgrade partition... 1966080+0 records in 1966080+0 records out Checking upgrade partition... 1966080+0 records in 1966080+0 records out Upgrade flash partition MD5 signature is 119275e3054c3cfdc0f32a2a334dd253 ROMMON upgrade complete. To make the new ROMMON permanent, you must restart the linecard.
5.重启和检查
重启并等待设备启动完成后,还是通过show plat来检查firmware升级情况。
Router# reload Proceed with reload? [confirm] <Reload bootup output removed for brevity. In this example, it is assumed that autoboot is enabled on the router.> Press RETURN to get started! Router> enable Router# show platform Chassis type: MCP4RU Slot Type State Insert time (ago) --------- ------------------- --------------------- ----------------- 0 MCP-CC ok 00:03:02 0/3 SPA-2X1GE-V2 ok 00:00:37 R0 ASR1000-RP1* ok, active 00:03:02 F0 ASR1000-ESP10* ok, active 00:03:02 P0 Unknown ps, fail never P1 Unknown ps, fail never Slot CPLD Version Firmware Version --------- ------------------- --------------------------------------- 0 07091401 15.2(1r)S R0 07062111 15.2(1r)S F0 07051680 15.2(1r)S
其他方面,可以参考如下文档:
https://www.cisco.com/c/en/us/td/docs/routers/asr1000/rommon/asr1000-rommon-upg-guide.html#task_61828
https://www.cisco.com/c/en/us/td/docs/routers/asr1000/configuration/guide/chassis/asrswcfg/issu.html#wp1136595
https://www.cisco.com/c/en/us/td/docs/routers/access/4400/cpld/isr4400_hwfp.html#pgfId-1068003
好好学习,天天向上!