FlexWan lost config and upgrade ROMMON for 65/76
问题:
由于最近遇到了一个故障,重启后FlexWan的配置会丢失。
观察到的现象感觉是配置先刷,板卡随后重启,这样导致没有配置。
“copy start run” 可以暂时解决这个问题。
经过确认后这是一个软件BUG:CSCsq77835,需要升级ROMMON的版本才能完全解决。
ROMMON升级不是常事,所以接触的人不是很多,其实操作起来比较简单。
整理了详细的操作步骤,已作日后参考:
注:关于BUG的信息,可以去思科的BUG Toolkit上查询(需要CCO帐号)
解决:
1. Check the rp rommon version in active and standby engine:
—————————————————————————————
Router#sh ver | i ROM:
ROM: System Bootstrap, Version 12.2(17r)SX7, RELEASE SOFTWARE (fc1)
Router#remot command standby-rp show ver | i ROM:
2. Upload the rommon software to sup-bootdisk:
———————————————————————-
Router#sh sup-bootdisk:
-#- --length-- -----date/time------ path
1 669827 Jun 7 2010 14:49:08 +00:00 c6msfc3-rm2.srec.122-17r.S4
3. Check rp rommon status:
—————————————-
Router#sh rom-monitor slot 6 rp Region F1: APPROVED, preferred !---preferred是优选f1的意思 Region F2: APPROVED Currently running ROMMON from F1 region !---说明了现在的rommon是从f1 region里启动
4. Upgrade the rp rommon:
—————————————-
Router#upgrade rom-monitor slot 6 rp file sup-bootdisk:c6msfc3-rm2.srec.122-17r.S4 Router# *Jun 7 14:54:26.379: ROMMON image upgrade in progress *Jun 7 14:54:26.399: Erasing flash *Jun 7 14:54:29.455: Programming flash *Jun 7 14:54:31.399: Verifying new image *Jun 7 14:54:31.579: ROMMON image upgrade complete The card must be reset for this to take effect
5. Check the rp rommon status again:
——————————————————
Router#sh rom-monitor slot 6 rp Region F1: APPROVED Region F2: FIRST_RUN, preferred !---下次启动,从f2 region中启动rommon Currently running ROMMON from F1 region !---只有下次启动才改变
6. Wr and reload engine
!—注意在此bug中,必须完全重启一边,然后再重启进rommon操作下面的命令
7. Check the upgraded rommon version
———————————————————-
Router#sh rom-monitor slo 6 rp Region F1: APPROVED Region F2: APPROVED, preferred Currently running ROMMON from F2 region Router# Router# Router#sh ver | i ROM: ROM: System Bootstrap, Version 12.2(17r)S4, RELEASE SOFTWARE (fc1)
8. Reload again and login into rp rommon
———————————————————–
00:00:06: %OIR-6-CONSOLE: Changing console ownership to route processor System Bootstrap, Version 12.2(17r)S4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 2005 by cisco Systems, Inc. Cat6k-Sup720/RP platform with 524288 Kbytes of main memory rommon 1 >
9. Config follow command, please don’t change any command
—————————————————————————————–
rommon 1 > priv You now have access to the full set of monitor commands. Warning: some commands will allow you to destroy your configuration and/or system images and could render the machine unbootable. rommon 2 > rommon 2 > nvram_erase Enter in hex the start address [0x0]: 0xbe020000 Enter in hex the test size or length in bytes [0x0]: 10000 rommon 3 > rommon 4 > reset
参考文档:
Release Notes for Cisco 7600 Series Router Route Switch Processor 720 ROMMON
Release Notes for Supervisor Engine 720 Switch Processor ROMMON
Recovering a Catalyst 6500/6000 Running Cisco IOS System Software from a Corrupted or Missing Boot Loader Image or ROMmon Mode
版权声明:
本文链接:FlexWan lost config and upgrade ROMMON for 65/76
版权声明:本文为原创文章,仅代表个人观点,版权归 Frank Zhao 所有,转载时请注明本文出处及文章链接