Setting the boot parameter for an IOS

Unanswered Question
May 13th, 2009
User Badges:
  • Bronze, 100 points or more

When setting the boot parameters for the BOOTVAR, several options exist for the 6500 series in Native mode.


I choose the source location, file name and other options.

Somewhere/somehow the BOOTVAR (show bootvar) adds a ,1; to the end of each IOS file. As seen in previous posts by several other folks, the number (,1;) instructs the boot loader process to try to load this file one time and if not available from the specified source, give up and move onto the next option. If the number was (,2;) the process would try two times before moving onto the next load option.


Long story short - How does one set this parameter?


I know I can specift the same IOS file from multiple places but I want to try reading from the same source three times before moving onto the next option.


Thanks again!!

Frank

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 1 (1 ratings)
Loading.
Laurent Aubert Wed, 05/13/2009 - 17:51
User Badges:
  • Cisco Employee,

Hi,


You should be able to set this parameter in rommon mode:


BOOT= ,3


But I never try it.


HTH


Laurent.

Leo Laohoo Wed, 05/13/2009 - 19:51
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Here it is ...


conf t

no boot system

boot system flash sup-bootdisk:/

end

write


Hope this helps.


fsebera Thu, 05/14/2009 - 05:21
User Badges:
  • Bronze, 100 points or more

Hey Leolaohoo,


Hummm, where did you specify the number (#) of retires?


Did you forget to enter this detail?

Tks

Frank

Laurent Aubert Thu, 05/14/2009 - 07:46
User Badges:
  • Cisco Employee,

Hi Franck,


Just to make a follow-up, Why do you think my answer was not helpful ?


I'm pretty sure this is the only way to do it:


rommon 1>BOOT=flash:,n;

rommon 2>sync

rommon 3>reset


When it's done, don't update this variable from the IOS via the boot system flash command or the number of retries will be reset to its default value.


Thanks for your feedback


Laurent.

fsebera Thu, 05/14/2009 - 10:09
User Badges:
  • Bronze, 100 points or more

Hey Laurent,


No, I did not mean to flag your message as not helpful, only Leolaohoo response.


I think I may misunderstand how this rating feature operate.


Looks like your answer is correct!!!

Tks

HTH

Frank

Leo Laohoo Thu, 05/14/2009 - 15:41
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Hi Frank,

Nope I didn't forget. This is the cut-down version of the template I created when I was upgrading from CatOS to Modular IOS.

Actions

This Discussion