cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8697
Views
30
Helpful
3
Replies

boot variable on 4948

Benjamin Saito
Level 1
Level 1

I have no idea what I am doing wrong, but I can't change the boot variable on a catalyst 4948:

c4948-ph1a4-1#dir bootflash:
Directory of bootflash:/

    2  -rwx    12939640  Mar 31 2010 04:33:52 -05:00  cat4000-i5k91s-mz.122-25.EWA14.bin
    3  -rwx    18094832  Sep 20 2016 10:31:17 -05:00  cat4500-ipbasek9-mz.150-2.SG10.bin

60817408 bytes total (16842912 bytes free)
c4948-ph1a4-1#show bootvar
BOOT variable =
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2101

c4948-ph1a4-1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
c4948-ph1a4-1(config)#boot system flash
c4948-ph1a4-1(config)#boot system flash bootflash:/cat4500-ipbasek9-mz.150-2.SG10.bin
c4948-ph1a4-1(config)#do show bootvar
BOOT variable =
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2101

Everything I have read says that is the command to run but it's not working. Thanks!

1 Accepted Solution

Accepted Solutions

jdesanti
Cisco Employee
Cisco Employee

Hi,

Once you have set the boot variable, do "wr mem" and verify.

F340.03.13-4900-2(config)#boot system flash bootflash:cat4500e-entservicesk9-$
F340.03.13-4900-2(config)#end
F340.03.13-4900-2#sh bootvar
BOOT variable =
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

F340.03.13-4900-2#wr me
Building configuration...
Compressed configuration from 90638 bytes to 29217 bytes[OK]
F340.03.13-4900-2#sh bootvar
BOOT variable = bootflash:cat4500e-entservicesk9-mz.151-2.SG6,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

 

View solution in original post

3 Replies 3

jdesanti
Cisco Employee
Cisco Employee

Hi,

Once you have set the boot variable, do "wr mem" and verify.

F340.03.13-4900-2(config)#boot system flash bootflash:cat4500e-entservicesk9-$
F340.03.13-4900-2(config)#end
F340.03.13-4900-2#sh bootvar
BOOT variable =
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

F340.03.13-4900-2#wr me
Building configuration...
Compressed configuration from 90638 bytes to 29217 bytes[OK]
F340.03.13-4900-2#sh bootvar
BOOT variable = bootflash:cat4500e-entservicesk9-mz.151-2.SG6,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

 

That worked. I didn't realize the configuration had to be saved. Thanks and I love you!

It works for my Catalyst 4948E, now boot from my last configuration by itself, thank you very much ;)
Review Cisco Networking for a $25 gift card