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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章