Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Cisco IOS flash: and flash1:

Hi All,

Why do we have two flash memories flash: and flash1:  are they same thing or different ?

any help will be much appriciated.

many thanks.

kamran.

11 REPLIES
Hall of Fame Super Gold

Cisco IOS flash: and flash1:

Why do we have two flash memories flash: and flash1:  are they same thing or different ?

No they are not.

"flash:" means the flash directory of the MASTER switch.

"flash1:" means the flash directory of switch 1 of the stack.

"flash1:" does NOT necessarily mean it's the flash memory of the master switch.

New Member

Cisco IOS flash: and flash1:

But i have only one switch why does it show both flash: and flash1: information, with same size and same details.

many thanks,

Hall of Fame Super Gold

Cisco IOS flash: and flash1:

But i have only one switch why does it show both flash: and flash1: information, with same size and same details.

Sure.  If you only have ONE switch then "flash:" and "flash1:" are the same.  But my response is based on multiple switches in a stack and switch 1 is NOT the stack master.

New Member

Cisco IOS flash: and flash1:

what if i have four switches in the stack how would it display the flash: information ?

would it be like ?

flash:

flash1:

flash2:

flash3:

many thanks.

Hall of Fame Super Gold

Cisco IOS flash: and flash1:

Depends.

It'll depend on which switch is the master.

The master switch will have "flash:".  So if your master is switch #4, then the output to "dir flash:" and "dir flash4:" are the same.

Super Bronze

Re: Cisco IOS flash: and flash1:

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

To reiterate what Leo has already described, "flash" is the flash of whatever switch is running as the master switch.

"flash#", is the flash for switch#.

"flash" will be the same as SOME "flash#, again for the switch# that is the current master for the stack.  (If there's only one switch, it will be the master.)

Switch numbers do not need to start with 1 nor do then need to be consecutive.  For example, your example of a stack of 4 might be:

stack1 - flash1

stack2 - flash2

stack3 - flash3 (active master - so it's also "flash")

stack4 - flash4

or for example:

stack9 - flash9 (active master - so it's also "flash")

stack3 - flash3

stack7 - flash7

stack4 - flash4

New Member

Cisco IOS flash: and flash1:

Hi Leo,

I mistakenly deleted flash:

I am on switch: mode how do i come out of that and load the new IOS.

any help will be much appriciated.

many thanks.

Cisco Employee

Cisco IOS flash: and flash1:

Kamran,

f you are able to reboot the switch I would do the following:

reboot the switch

press on the mode button in order to come in rommon mode

switch: flash_init

switch: rename flash:config.text flash.config.text.temp

switch:boot

The switch will boot without any configuration because it can't find config.text.

Answer 'no' for initial configuration

switch>en

switch#copy flash:config.text.temp run

switch#wr

and then you've to look what's configured

aaa new-model

aaa authentication login default local

or

line con 0

login local

if this is true> check if there is a

user xxx secret/password xxxx is configured

I suspect that no user x secret xxx is configured.

Else you can help by posting all related console

HTH

Regards

Inayath

Hall of Fame Super Gold

Re: Cisco IOS flash: and flash1:

Kamran,

Go here: http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml

Sent from Cisco Technical Support Nintendo App

New Member

Cisco IOS flash: and flash1:

hi Leo i am shrihan i need a clarification from u on this topic.

if bin file  is shown under flash & flash1: in same switch & if i  require to erase ios then from which flash should i remove?

whether i issue command delete flash:

                    or

                                      delete flash1:

if i use first option will it delete flash1: contain also ?

Re: Cisco IOS flash: and flash1:

Hi Shiran,

'sh flash' shows the contents of the master switch, and 'sh flash1' shows the contents of switch1.

It is possible in a switchstack that the master switch is not switch 1 so 'sh flash' and 'sh flash1' will display different results.

Using 'sh switch' will show you which is the master switch and therefore which flash memory is displayed by 'sh flash':

sh switch

Switch/Stack Mac Address : 0014.6ae8.3a80

                                           H/W   Current

Switch#  Role   Mac Address     Priority Version  State

----------------------------------------------------------

*1       Master 0014.6ae8.3a80     5      0       Ready              

2       Member 0014.6ae8.4e00     5      0       Ready              

3       Member c471.fe99.b780     1      1       Ready              

4       Member 68ef.bd21.5580     1      1       Ready

cheers,

Seb.

2486
Views
15
Helpful
11
Replies