I have downloaded the IOS from Cisco to my PC, but I don't know how to
install it into the switch.
Any help?
Thanks
Base ethernet MAC Address: 00:1c:47:67:ff:35
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 32513024
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c2960-lanbase-mz.122-25.SEE3/c2960-lanbase-mz.
122-25.SEE3.bin"...
flash:c2960-lanbase-mz.122-25.SEE3/c2960-lanbase-mz.122-25.SEE3.bin:
no such fil
e or directory
Error loading "flash:c2960-lanbase-mz.122-25.SEE3/c2960-lanbase-mz.
122-25.SEE3.b
in"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
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
switch:
Essentially you need to fire up a tftp server on your local PC, plug
it up to your router, set the IPs on both sides to the same network
(via the set command in rommon), and then use the copy command to
bring it onto your flash. Then use the boot command to fire up the
IOS once it is loaded. You can also use the xmodem way to transfer it
via the serial line which may be better, but will surely be slower.
See the second link for that one.
http://articles.techrepublic.com.com/5100-1035_11-5623025.html
http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bfac.shtml
> Any Ideas?
As usual answer is on CCO:
http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
Kyniu
> Essentially you need to fire up a tftp server on your local PC, plug
> it up to your router
^^^^^^^
Have you read the question? There is a difference beeetwen recovering
procedure on switch and router.
Kyniu
Yes I did read the question, must you ask questions like that? Sorry
if I don't use switches this small and am trying to help nonetheless.
Yes I am aware of this. Your link does not include 2960s, but it does
look like the most complete document that I've seen, and I did some
fairly thorough searches on Cisco. Hope it works.
OP - let us know how you fare with this.
Excelent, thanks, this worked perfect!!!
Now I would like to have access via web-browser, I know there is a
file from http://www.cisco.com/public/sw-center/, well 4 files, 2 .tar
and 2 .bin. and it looks like the tar are the ones that have the http
version, but,
Which one sould I choose?
What is the difference between these two?
LAN BASE W/O CRYPTO WITH WEB BASED DEV MGR (c2960-lanbase-tar.
122-25.SEE4.tar)
LAN BASE WITH WEB BASED DEV MGR (c2960-lanbasek9-tar.122-25.SEE4.tar)
Or the other option is to copy form another switch but the problem is
that the html is inside a folder and I can't manage to copy a folder
with tftp:
switch2#dir
Directory of flash:/
3 -rwx 1352 Mar 3 1993 23:18:40 +00:00 config.text
4 -rwx 5 Mar 3 1993 23:18:40 +00:00 private-
config.text
5 drwx 192 Mar 1 1993 00:32:14 +00:00 c2960-lanbase-mz.
122-25.SEE3
32514048 bytes total (24802304 bytes free)
switch2#dir c2960-lanbase-mz.122-25.SEE3
Directory of flash:/c2960-lanbase-mz.122-25.SEE3/
6 drwx 4480 Mar 1 1993 00:30:50 +00:00 html
618 -rwx 4671175 Mar 1 1993 00:32:13 +00:00 c2960-lanbase-mz.
122-25.SEE3.bin
619 -rwx 457 Mar 1 1993 00:32:14 +00:00 info
32514048 bytes total (24802304 bytes free)
switch2#
Thanks again for your help
Switch#copy tftp: flash:c2960-lanbasek9-tar.122-25.SEE4.tar
Address or name of remote host [192.168.0.35]?
Source filename [c2960-lanbasek9-tar.122-25.SEE4.tar]? c2960-lanbasek9-
tar.122-2
5.SEE4.tar
Destination filename [c2960-lanbasek9-tar.122-25.SEE4.tar]?
Accessing tftp://192.168.0.35/c2960-lanbasek9-tar.122-25.SEE4.tar...
%Error opening tftp://192.0.0.35/c2960-lanbasek9-tar.122-25.SEE4.tar
(Timed out)
Switch#
_________
thanks a lot
Make sure you can ping TFTP server first, then make sure file to be
downloaded is in correc directory for the TFTP server you are using.
If you are trying in install an tar archive file, then you need to use
the archive command and not copy tftp
see
> Switch#copy tftp: flash:c2960-lanbasek9-tar.122-25.SEE4.tar
> Address or name of remote host [192.168.0.35]?
> Source filename [c2960-lanbasek9-tar.122-25.SEE4.tar]? c2960-lanbasek9-
> tar.122-2
> 5.SEE4.tar
> Destination filename [c2960-lanbasek9-tar.122-25.SEE4.tar]?
> Accessing tftp://192.168.0.35/c2960-lanbasek9-tar.122-25.SEE4.tar...
> %Error opening tftp://192.0.0.35/c2960-lanbasek9-tar.122-25.SEE4.tar
> (Timed out)
>
> Switch#
> _________
> thanks a lot
Switch#archive tar /x tftp://192.168.0.35/c2960(...)25.SEE4.tar flash:
Of course you have to give full filename.
Kyniu
Excelent!!!
It worked.
I was having some problems with tftp client on the switch (I dind't
know until I deleted the startup-config and created a new one)
thanks folks