cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
763
Views
0
Helpful
2
Replies

renumber the image order on a flash directory

cisco steps
Level 1
Level 1

any one knows how to renumber the files on the flash dir.

Thanks

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Ocporbust,

use boot system flash command to load the desired image regardless of image order on flash

see

sh run | inc boot system

boot system flash disk2:c7200p-advsecurityk9-mz.124-20.T.bin

boot system flash disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin

this router loads the first image in this way.

you can check with:

sh bootvar

BOOT variable = disk2:c7200p-advsecurityk9-mz.124-20.T.bin,1;disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

WARM_REBOOT variable = FALSE

Configuration register is 0x2102

when you need to change the order:

copy current boot system commands on an editor

issue no boot system ... for each line

input them in the desired order preferred image first

Hope to help

Giuseppe

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Ocporbust,

use boot system flash command to load the desired image regardless of image order on flash

see

sh run | inc boot system

boot system flash disk2:c7200p-advsecurityk9-mz.124-20.T.bin

boot system flash disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin

this router loads the first image in this way.

you can check with:

sh bootvar

BOOT variable = disk2:c7200p-advsecurityk9-mz.124-20.T.bin,1;disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

WARM_REBOOT variable = FALSE

Configuration register is 0x2102

when you need to change the order:

copy current boot system commands on an editor

issue no boot system ... for each line

input them in the desired order preferred image first

Hope to help

Giuseppe

Grazie tanto !!! Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco