Cisco IOS switch installation

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

Reply to
obviouslyst
Loading thread data ...

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

Reply to
obviouslyst

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.

formatting link
formatting link

Reply to
Trendkill

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
Reply to
obviouslyst

Dnia Thu, 20 Sep 2007 04:18:10 -0700, obviouslyst napisa³(a):

As usual answer is on CCO:

formatting link
Kyniu

Reply to
Kyniu

Dnia Wed, 19 Sep 2007 17:06:52 -0000, Trendkill napisa³(a):

^^^^^^^

Have you read the question? There is a difference beeetwen recovering procedure on switch and router.

Kyniu

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

Reply to
Trendkill

copy xmodem: flash:

Reply to
braydonsdad

Excelent, thanks, this worked perfect!!! Now I would like to have access via web-browser, I know there is a file from

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

Reply to
obviouslyst

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

Reply to
obviouslyst

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

formatting link

Reply to
Merv

Dnia Mon, 24 Sep 2007 15:23:56 -0000, obviouslyst napisa³(a):

Switch#archive tar /x tftp://192.168.0.35/c2960(...)25.SEE4.tar flash:

Of course you have to give full filename.

Kyniu

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

Reply to
obviouslyst

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.

--

formatting link

Reply to
pradeep7bmas

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.