07-09-2013 03:13 AM - edited 03-07-2019 02:18 PM
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.
07-09-2013 03:23 AM
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.
07-09-2013 03:31 AM
But i have only one switch why does it show both flash: and flash1: information, with same size and same details.
many thanks,
07-09-2013 03:41 AM
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.
07-09-2013 03:46 AM
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.
07-09-2013 03:54 AM
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.
07-09-2013 06:46 AM
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
07-09-2013 08:34 AM
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.
07-09-2013 08:08 PM
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
07-09-2013 08:45 PM
Kamran,
Go here: http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
Sent from Cisco Technical Support Nintendo App
09-04-2013 03:48 AM
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 ?
09-04-2013 04:48 AM
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.
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