[c-nsp] Sup720 ignores boot variable

Adrian Turcu adriant at domeit.net
Fri Jan 24 05:37:39 EST 2014


This may help with your issue:

Q. What is the difference between the SP and RP bootflash/bootdisk?
A. SP bootflash/bootdisk is the location from where the system can load and boot a Cisco IOS Software image. The more SP bootflash/bootdisk space you have, the greater the number of Cisco IOS Software images you have, and the greater the choice in what Cisco IOS Software images you can boot from. An image can be loaded from the SP bootflash/bootdisk using the command boot system flash sup-bootflash:IOS-image-name. Multiple boot system flash commands can exist in the configuration file, and it is the first in the list that will be used as the image from which to boot the system. The RP bootflash can also be used as a storage location for Cisco IOS Software images, although the system cannot directly load an image from that location. The SP and RP bootflash can also be used as a storage location for backup and alternate configuration files. Configuration files that are required to be used as an active configuration must be copied over to the running or startup configuration.

I am using the followings in various Sup720 and the bootvar always looks identical and the systems always boot the correct IOS:

boot system flash bootflash:IOS-image-name
boot system bootflash:IOS-image-name
boot system sup-bootflash:IOS-image-name

6500-1# show bootvar
BOOT variable = bootflash:IOS-image-name;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102

Adrian

On 24 Jan 2014, at 00:19, Rolf Hanßen wrote:

> Hi,
> 
> I am wondering why this sup720 ignores my boot variable and always boots
> the first image it finds.
> 
> "dir" shows:
> ----------------------
> Directory of sup-bootdisk:/
> 
>    1  -rw-    78212100   Jul 6 2010 17:27:04 +00:00 
> s72033-advipservicesk9_wan-mz.122-33.SXH2.bin
>    2  -rw-    33554432   Jul 6 2010 17:36:30 +00:00  sea_log.dat
>    3  -rw-   143347044  Jan 16 2014 21:47:46 +00:00 
> s72033-advipservicesk9_wan-mz.122-33.SXJ6.bin
> ----------------------
> 
> I tried:
> boot system flash bootdisk:s72033-advipservicesk9_wan-mz.122-33.SXJ6.bin
> as well as
> boot system flash sup-bootdisk:s72033-advipservicesk9_wan-mz.122-33.SXJ6.bin
> I removed the old boot entry.
> 
> after "wr mem" "sh bootvar" shows:
> ----------------------
> BOOT variable =
> (sup-)bootdisk:s72033-advipservicesk9_wan-mz.122-33.SXJ6.bin,1;
> CONFIG_FILE variable =
> BOOTLDR variable =
> Configuration register is 0x2102
> 
> Standby is not present.
> ----------------------
> 
> In both cases result is:
> ----------------------
> Autoboot executing command: "boot bootdisk:"
> 
> Initializing ATA monitor library...
> string is bootdisk:s72033-advipservicesk9_wan-mz.122-33.SXH2.bin
> Loading image, please wait ...
> ----------------------
> 
> If I delete s72033-advipservicesk9_wan-mz.122-33.SXH2.bin it starts
> s72033-advipservicesk9_wan-mz.122-33.SXJ6.bin
> (which is now first image rommon finds).
> sh version:
> ----------------------
> Cisco IOS Software, s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M),
> Version 12.2(33)SXJ6, RELEASE SOFTWARE (fc3)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2013 by Cisco Systems, Inc.
> Compiled Fri 19-Jul-13 03:30 by prod_rel_team
> 
> ROM: System Bootstrap, Version 12.2(17r)S4, RELEASE SOFTWARE (fc1)
> ...
> ----------------------
> 
> I then upgraded rommon (sp with c6ksup720-rm2.8-5-4.srec, rp with
> c6msfc3-rm2.srec.122-17r.SX7) but still shows:
> Autoboot executing command: "boot bootdisk:"
> 
> Is there some kind of sync issue or rommon bug or did I forget something ?
> 
> kind regards
> Rolf
> 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list