I have been given a 3750 switch to put back to working order. The issue with it is that a user deleted all the content of nvram. So now when the switch is started, it cannot load the IOS from flash. The only option i have are below. Is there a way to copy the IOS back on it? I cannot use tftp as cannot make Ip connection to the switch.
? -- Present list of available commands
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
flash_init -- Initialize flash filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
load_helper -- Load and initialize a helper image
memory -- Present memory heap utilization information
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_bs -- Set attributes on a boot sector filesystem
set_param -- Set system parameters in flash
sleep -- Pause (sleep) for a specified number of seconds
trap -- Cause a software breakpoint to occur
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
You will need to use xmodem to copy a new IOS onto your switch. See this document for details -
if you delete the NVRAM content, the image itself should still be on the flash:
Have you tried what you see in the ROMmon with "dir flash:"?
I assume the image is still present, then try to start it manually with " boot flash:/dir/image-name.bin".
Yes I have and it is completely empty. The user must have done something elase then to empty the flash.
I am in the process of copying the image back using x-modem as suggested by Jon.
Forgot to mention. Xmodem is very slow so you should set the BAUD rate to 115200 to speed it up.
Cisco are currently donating money to the Haiti earthquake appeal for every rating so please consider rating all helpful posts.
The send file has now completed but cannot find where the image is copied to. This is what I get when I do dir:
List of filesystems currently registered:
-flash is still empty
-cannot run dir xmodem:
Yes I did check the content of flash, it is empty. The copying seems to have worked but at the end when I do dir flash: I get
switch: dir flash:
Directory of flash:/
15997952 bytes available (1024 bytes used)
can you please doublecheck the sequence you used with this documentation?
it included the 3750 Series.
I couldn't access the link but I guess it shows how to configure the Hyper Terminal but could find that on other links. This is what I get when I click on the link and after entering my login credentials:
The file or application you are trying to access may require additional entitlement or you are trying to access a file with an invalid name. Additional entitlement levels are granted based on a users relationship with Cisco on a per-application basis.
If you feel you have reached this page in error, please try one of the following methods to locate your document:
If you would like to contact someone about this problem, please click on the Contacts & Feedback link below.
when you started the download, did you mention the destination filename? Like in this example?
Issue the copy xmodem: flash:filename command on the switch.
Here is an example:
switch: copy xmodem: flash:c2955-i6q4l2-mz.121-13.EA1.bin Begin the Xmodem or Xmodem-1K transfer now... CCC
From the top of the HyperTerminal window, choose Transfer > Send File. ...
After the download the file should be visable in the flash:? Can you try to download it again?
No I didn't. I followed your instructions and it stated downloading but looks like it is going to take over 2 hours to finish. Also I cannot change the baud rate from 9600 after entering the command and before starting the download. WIll have another go at it tomorrow.
Many thanks for your help Michael, Jon.