Upgrade Rommon Version
前段时间处理了一个7609的CASE,故障主要是当76重启后,FlexWAN的配置没有正确加载。从现象看是由于配置在FlexWAN完全启动前加载,导致启动后,配置已经加载完毕。暂时可以用“copy start run”做临时解决方案。想要根本解决故障需要升级引擎Rommon的版本。
Rommon可以看作是底层的管理工具,可以升级IOS,更改boot参数等。在一些故障中,如启动后配置丢失,也是可以通过升级rommon来解决的,更具体的信息可以通过下面链接的文档得出。
以下是升级Rommon的完整步骤:
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区域中的Rommon Region F2: APPROVED Currently running ROMMON from F1 region !---有些时候Rommon不存在F1和F2中,而存在Gold中
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的Rommon Currently running ROMMON from F1 region !---重启前不会发生变化
6. wr and reload engine
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(not sp rommon)
!—第8,9步是解决FlexWan的问题,如果只是升级Rommon,请不要操作这2步
————————————————————————————
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