cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1950
Views
0
Helpful
7
Replies

WS-C4900M (MPC8548) processor (revision 2) iOS upgrade boot variable command

Bill N
Level 1
Level 1

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.

 

 

 

1 Accepted Solution

Accepted Solutions

The second set of statements is definitely the way to go.

Jon

View solution in original post

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame

B

Jon Marshall
Hall of Fame
Hall of Fame

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

Hi Jon,

Thanks. But I couldn't find anything posted by Leo.

Was that option (a) or option (b)?

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

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.

The second set of statements is definitely the way to go.

Jon

HI Jon,

Thanks. I talked to Cisco and it seems like 0x2101 is the default config register.

the boot variables worked.

Review Cisco Networking for a $25 gift card