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.
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.
what if i have four switches in the stack how would it display the flash: information ?
would it be like ?
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.
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.
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.
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
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.
Go here: http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
Sent from Cisco Technical Support Nintendo App
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:
if i use first option will it delete flash1: contain also ?
'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':
Switch/Stack Mac Address : 0014.6ae8.3a80
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