10-28-2015 02:05 PM - edited 03-08-2019 02:28 AM
Hi,
I am trying to upgrade 2 WS-C4900M (MPC8548) processor (revision 2) with cat4500e-ipbasek9-mz.151-2.SG6.bin.
Current system image file is "bootflash:cat4500e-ipbase-mz.122-53.SG4.bin"
Since there is only one image, there is not bootvar output as shown below.
SWITCH1#sh bootvar
BOOT variable does not exist
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2101
When I issue boot system ? the options are......
SWITCH1(config)#boot system ?
WORD TFTP filename or URL
flash Boot from flash memory
ftp Boot from a server via ftp
mop Boot from a Decnet MOP server
rcp Boot from a server via rcp
tftp Boot from a tftp server
I am trying to issue boot system command but confused with below 2 options. I tried to find the correct syntax but could not find any good boot variable command for 4900M.
(a) boot system bootflash:cat4500e-ipbasek9-mz.151-2.SG6.bin
boot system bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
or
(b)
boot system flash bootflash:cat4500e-ipbasek9-mz.151-2.SG6.bin
boot system flash bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
Could anyone help me with correct syntax whether option (a) or (b)?
Thanks in advance.
Solved! Go to Solution.
10-29-2015 07:05 AM
10-28-2015 04:40 PM
B
10-28-2015 07:12 PM
Agree with Leo and you also need to change your configuration register because currently it will ignore any boot statement commands and load the first image in bootflash which is probably going to be your current one.
Change it to 0x2102 and then before reloading do a "sh bootvar" again and make sure everything looks okay.
Edit - I'm assuming you have checked memory requirements and that this IOS is okay for your switch ?
Jon
10-29-2015 06:44 AM
Hi Jon,
Thanks. But I couldn't find anything posted by Leo.
Was that option (a) or option (b)?
10-29-2015 06:53 AM
That's weird because I can see it in this thread.
It's your second option.
Just make sure when you type in your boot statements that you do them in the right order and then check your boot string with "sh bootvar"
I seem to remember on some switches typing them in separately one after the other simply meant the last one you typed overwrote the first one.
It shouldn't and you should see both in the boot string but if it does you can enter them as one command.
Jon
10-29-2015 07:02 AM
I always delete if there is existing boot system command when I upgraded other switches. And I issued first boot system command with new iOS and second boot system command with existing iOS in case first one fails to boot. I've never upgraded 4900M and can't find any good Cisco documentation.
My concern and question was..
boot system bootflash:cat4500e-ipbasek9-mz.151-2.SG6.bin3
boot system bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
or
boot system flash bootflash:cat4500e-ipbasek9-mz.151-2.SG6.bin
boot system flash bootflash:cat4500e-ipbase-mz.122-53.SG4.bin
The switch took both options which made me confused.
10-29-2015 07:05 AM
The second set of statements is definitely the way to go.
Jon
11-09-2015 07:53 AM
HI Jon,
Thanks. I talked to Cisco and it seems like 0x2101 is the default config register.
the boot variables worked.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide