Search this Blog

Wednesday, January 1, 2014

What's the difference between "boot system flash {file}" and "boot system flash flash0:{file}" ?


I want to set the boot file to a new IOS image. What's the difference between "boot system flash {file}" and "boot system flash flash0:{file}" ?
In my router I have the following:

TNRTAGCS00003#dir flash:
Directory of flash0:/


    1  -rw-    62558836  Jan 14 2010 06:54:34 +00:00  c2900-universalk9-mz.SPA.150-1.M1.bin
    2  -rw-        2903  Jan 14 2010 07:02:10 +00:00  cpconfig-29xx.cfg
    3  -rw-     2915328  Jan 14 2010 07:02:22 +00:00  cpexpress.tar
    4  -rw-        1038  Jan 14 2010 07:02:30 +00:00  home.shtml
    5  -rw-      115712  Jan 14 2010 07:02:38 +00:00  home.tar
    6  -rw-     1697952  Jan 14 2010 07:02:56 +00:00  securedesktop-ios-3.1.1.45-k9.pkg
    7  -rw-      415956  Jan 14 2010 07:03:06 +00:00  sslclient-win-1.1.4.176.pkg
    8  -rw-    64383836  Aug 24 2011 15:49:20 +00:00  c2900-universalk9-mz.SPA.151-1.T2.bin


260153344 bytes total (128045056 bytes free)

 ISR G2 has two CF slots.  You can use "flash:" or "flash0:" and they are both the same (by default, if you use "flash:" then it means "flash0:").  If your 2nd CF slot is filled then you use "flash1:".

Tried on one router with the command "boot system flash flash0:..." and it worked.
Here's the running-config:
Current configuration : 12792 bytes
!
version 15.1
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
no service password-encryption
!
hostname Router
!
boot-start-marker
boot system flash flash0:c2900-universalk9-mz.SPA.151-1.T2.bin
boot-end-marker
!
logging buffered 51200 warnings

Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */