05-15-2023 07:03 PM
Hello,
I see boot path is different here(flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin). I dont know why. For you information .bin file is not there in flash.Can someone tell me.
Now i need to set boot path,primary image as E7(.bin available rwx) & secondary as E6(no .bin but in drws).Can someone suggest proper boot command.
Switch#show flash:
Directory of flash:/
2 -rwx 7102 Sep 25 2017 13:34:41 +02:00 10.150.1.101.config
3 drwx 512 Sep 25 2017 12:50:20 +02:00 c2960x-universalk9-mz.152-2.E6
5 -rwx 1816 Sep 1 2022 12:50:21 +02:00 vlan.dat
6 -rwx 45724 Sep 26 2017 13:19:37 +02:00 config.text.backup
8 drwx 512 Feb 11 2016 06:11:58 +01:00 c2960x-universalk9-mz.152-2.E3
673 drwx 512 Feb 11 2016 06:11:59 +01:00 dc_profile_dir
675 -rwx 26788864 Apr 10 2023 15:17:22 +02:00 c2960x-universalk9-mz.152-7.E7.bin
676 -rwx 7039 Sep 25 2017 13:37:14 +02:00 10.150.1.102.config
677 -rwx 53270 May 16 2023 03:48:18 +02:00 config.text
678 -rwx 5724 Sep 26 2017 13:19:38 +02:00 private-config.text.backup
679 -rwx 3823 May 16 2023 03:48:18 +02:00 private-config.text
680 -rwx 3096 May 16 2023 03:48:18 +02:00 multiple-fs
122185728 bytes total (46492160 bytes free)
Switchshow boot
BOOT path-list : flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin;flash:/c2960x-universalk9-mz.152-2.E3/c2960x-universalk9-mz.152-2.E3.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
-------------------
Switch 2
-------------------
BOOT path-list : flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin;flash:/c2960x-universalk9-mz.152-2.E3/c2960x-universalk9-mz.152-2.E3.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : no
Auto upgrade path :
Solved! Go to Solution.
05-15-2023 09:46 PM - edited 05-18-2023 05:44 AM
Hello @PrabakaranBalasubramanian16319,
Your E7 is not in a directory then I suggest:
Switch# configure terminal
Switch(config)# boot system flash:/c2960x-universalk9-mz.152-2.E7.bin
Switch(config)# boot system flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin
Switch(config)# end
As mentioned by @Rich R
Switch(config)# boot system flash:/c2960x-universalk9-mz.152-2.E7.bin;flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin
05-15-2023 09:46 PM - edited 05-18-2023 05:44 AM
Hello @PrabakaranBalasubramanian16319,
Your E7 is not in a directory then I suggest:
Switch# configure terminal
Switch(config)# boot system flash:/c2960x-universalk9-mz.152-2.E7.bin
Switch(config)# boot system flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin
Switch(config)# end
As mentioned by @Rich R
Switch(config)# boot system flash:/c2960x-universalk9-mz.152-2.E7.bin;flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin
05-18-2023 05:23 AM - edited 05-18-2023 05:24 AM
Sorry M02@rt37 but that is wrong. Boot variables work differently on those IOS switch models. (it's the same for IOS autonomous APs)
Your second command will replace the first command leaving only the E6 boot variable set.
"show boot" will confirm that.
The correct command in this case (to set E7 primary and E6 backup) will be:
Switch(config)# boot system flash:/c2960x-universalk9-mz.152-2.E7.bin;flash:/c2960x-universalk9-mz.152-2.E6/c2960x-universalk9-mz.152-2.E6.bin
Then save the config and use "show boot" to confirm it is set as expected.
05-18-2023 05:44 AM
Hello @Rich R,
Don't be sorry it is important to take things back if they are wrong or partially incomplete.
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