Friday, March 19, 2010

IOS: ROMMON on the C6500/​Sup720 — Lesson Learned

June 28, 2008 by Greg Ferro · Leave a Comment 

Recently, one of my Supervisor 720 goes into a per­man­ent reboot cycle. I was able to break it into ROMMON mode, but I couldn’t get it to ‘stick’ the boot settings.

Finally.…

Finally, one of the other guys came and looked over my shoulder and poin­ted out that I was mak­ing two mis­takes. Here is the cor­rect syntax:

rommmon 2 > BOOT=bootdisk:s72033-advipservicesk9_wan-vz.122 – 18.SXF14.bin
rom­mon 3 > set
PS1=rommon ! >
LOG_PREFIX_VERSION=1
SLOTCACHE=cards;
ACL_DENY=0
PF_REDUN_CRASH_COUNT=0
RANDOM_NUM=17402343563
CRASHINFO=crashinfo_FAILED
RET_2_RTS=10:05:02 UTC Thu Jun 26 2008
RET_2_RCALTS=1214421319203
BSI=0
?=0
BOOT=bootdisk:s72033-advipservicesk9_wan-vz.122 – 18.SXF14.bin
rom­mon 4 > sync

The first mis­take is that the BOOT com­mand in the first line must be in cap­it­als.

The second mis­take I made was that I didn’t to sync the con­fig­ur­a­tion register. In my defense, I have never had to do this before, but, there you go.

In turns out that the Supervisor 720 is quite dif­fer­ent from earlier Supervisor Modules and you need to make sure that

  1. you pur­chase Compact Flash modules
  2. you need to put a second copy of IOS on the com­pact flash as well as on the sup-​​bootflash:

Cisco doc­u­ment­a­tion

Surprisingly, the Cisco doc­u­ment­a­tion seem to make any men­tion of this.

Typical ses­sion

rom­mon 1 > set
PS1=rommon ! >
SLOTCACHE=cards;
SWITCH_NUMBER=0
LOG_PREFIX_VERSION=1
ACL_DENY=0
RANDOM_NUM=1293932989
BOOT=bootdisk:/sys/s72033/base/s72033-adventerprisek9_wan-vm,12;bootflash:s72033-advipservicesk9_wan-mz.122 – 18.SXF14.bin,12;bootflash:s72033-boot-mz.122 – 33.SXH2a.bin,12;
?=0
CRASHINFO=bootflash:crashinfo_20080623-092644
RET_2_RTS=10:26:45 BST Mon Jun 23 2008
TYFIB_​BLOCK_​ALLOC=
NT_K=0:0:0:0
CV=bootdisk:/sys/s72033/base/s72033-adventerprisek9_wan-vm
RET_​2_​RCALTS=
BSI=0
PF_REDUN_CRASH_COUNT=0
rom­mon 2 > dir
usage: dir
rom­mon 3 > dir bootflash:

Initializing ATA mon­itor lib­rary…
Directory of bootflash:

2 127331492 –rw– s72033-adventerprisek9_wan-vz.122 – 33.SXH2a.bin
15546 33554432 –rw– sea_log.dat
19642 0 drw– sys
25801 80828964 –rw– s72033-advipservicesk9_wan-mz.122 – 18.SXF14.bin
45869 311265 –rw– crashinfo_​ios-​​base-​​20080623 – 070329
rom­mon 4 > BOOT=bootdisk:s72033-advipservicesk9_wan-mz.122 – 18.SXF14.bin
rom­mon 5 > sync
rom­mon 6 > reset

Please rate this post:

  Why Rate Posts?
1 Star - It\\\'s Crud2 Stars - It\\\'s Tosh3 Stars - Something\\\'s missing4 Stars - Needs works5 Stars - Good Enough6 Stars - Good7 Stars - Excellent8 Stars - Brilliant9 Stars - Astonishing10 Stars - Awesomely Godlike? (No Ratings Yet)
Loading ... Loading ...

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!