Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cisco IOS switch installation

260 views
Skip to first unread message

obviouslyst

unread,
Sep 19, 2007, 12:13:35 PM9/19/07
to
Hello friends,
I have a Cisto Catalyst 2960 switch, and I have deleted the IOS, so
the only commands I have available are from the BIOS.

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

obviouslyst

unread,
Sep 19, 2007, 12:45:08 PM9/19/07
to
-----------This is what the switch shows at startup

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:

Trendkill

unread,
Sep 19, 2007, 1:06:52 PM9/19/07
to

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

obviouslyst

unread,
Sep 20, 2007, 7:18:10 AM9/20/07
to
thanks for the reply.
It becomes very exciting...
The commands on the Cisco Routers are a bit different to the Switch,
so I don't have the "tftpdnld" or "xmodem" commands, (the only
commands that I have available are on the second post), any way, I
have already set some things...
_________________
switch: set
BOOT=flash:c2960-lanbase-mz.122-25.SEE3/c2960-lanbase-mz.
122-25.SEE3.bin
CLEI_CODE_NUMBER=COM3L00BRA
IP_ADDRESS=192.0.0.247
IP_SUBNET_MASK=255.255.255.0
MAC_ADDR=00:1C:57:58:9F:80
MODEL_NUM=WS-C2960-24TT-L
MODEL_REVISION_NUM=C0
MOTHERBOARD_ASSEMBLY_NUM=73-10390-03
MOTHERBOARD_REVISION_NUM=C0
MOTHERBOARD_SERIAL_NUM=FOC1121192N
POWER_SUPPLY_PART_NUM=341-0097-02
POWER_SUPPLY_SERIAL_NUM=DCA111582Z8
SDM_TEMPLATE_ID=0
SWITCH_PRIORITY=1
SYSTEM_SERIAL_NUM=FOC1121X3BB
TAN_NUM=800-27221-02
TAN_REVISION_NUMBER=D0
TFTP_FILE=c2960-lanbase-mz.122-25.SEE4.bin
TFTP_SERVER=192.0.0.168
VERSION_ID=V02
____________________
Going back to the commands, I tried using "copy" command with all
combinations that came to my mind (like "copy tftp flash" for example)
but I can not make it work.
Any Ideas?
Thanks

Kyniu

unread,
Sep 20, 2007, 3:52:01 PM9/20/07
to
Dnia Thu, 20 Sep 2007 04:18:10 -0700, obviouslyst napisał(a):

> Any Ideas?

As usual answer is on CCO:

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

Kyniu

Kyniu

unread,
Sep 20, 2007, 3:54:15 PM9/20/07
to
Dnia Wed, 19 Sep 2007 17:06:52 -0000, Trendkill napisał(a):

> 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

Trendkill

unread,
Sep 20, 2007, 6:10:04 PM9/20/07
to
On Sep 20, 3:54 pm, Kyniu <kyniu_usun_...@poczta.gazeta.pl> wrote:
> Dnia Wed, 19 Sep 2007 17:06:52 -0000, Trendkill napisa³(a):

>
> > 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.

brayd...@gmail.com

unread,
Sep 23, 2007, 8:33:39 PM9/23/07
to
copy xmodem:<image> flash:<image>

obviouslyst

unread,
Sep 24, 2007, 10:53:26 AM9/24/07
to
> As usual answer is on CCO:
>
> http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_n...
>
> Kyniu

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


obviouslyst

unread,
Sep 24, 2007, 11:23:56 AM9/24/07
to
...I forgot to say that I am trying to copy via tftp as well, because
the file is a bit big, but its not possible (at least with my limited
knowledge)
________

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

Merv

unread,
Sep 24, 2007, 12:23:48 PM9/24/07
to

>
> 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)

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

http://cco.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_25_see/command/reference/cli1.html#wpmkr2273230

Kyniu

unread,
Sep 24, 2007, 1:35:00 PM9/24/07
to
Dnia Mon, 24 Sep 2007 15:23:56 -0000, obviouslyst napisał(a):

> 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

obviouslyst

unread,
Sep 25, 2007, 11:19:21 AM9/25/07
to
> Switch#archive tar /x tftp://192.168.0.35/c2960(...)25.SEE4.tarflash:

>
> 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


pradeep7bmas

unread,
Feb 10, 2014, 6:14:54 AM2/10/14
to
Hello Frnds...

I have Cisco 2960 switch. IOS was deleted, and I have installed new one IOS. All commands are working, but when I am saving my running configurations to flash, it showing errors.

Switch#wr
startup-config file open failed (No such file or directory)

Switch#
00:40:27: %IFS-3-FS_CREATE_FAIL: Failed to create nvram file system, no NVRAM pr
esent
-Traceback= A143FC A14A90 94463C 8F6FB0 8F6EE0 8B22F8 8999B0 8B5BD0 BDD138 BD470
C

When I run DIR command to show the directories, it shows
Switch#dir
Directory of flash:/

No files in directory

32514048 bytes total (32513024 bytes free).

Please help me to solve this problem.
>How can I save any configuration &
>How it will show all Directories, necessary to run properly.

--http://compgroups.net/comp.dcom.sys.cisco/cisco-ios-switch-installation/100915


0 new messages