Options

Need help in installing IOS to my 3560 switch.

danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
Dear guys,
i am trying to install a different IOS to my 3550 switch as a practice, but before the installation, i would like to try to back up the current IOS to my TFTP server as a back up, since i am a very beginner of using Cisco switch, i got the following problem that need help.

1. i failed "copy flash tftp: or "archive upload-sw tftp" to back up the current running IOS to my TFTP server. below is the show flash result.

Switch#sh flash

Directory of flash:/

7 drwx 192 Mar 01 1993 00:03:08 c3550-i9q3l2-mz.121-11.EA1

15998976 bytes total (11623936 bytes free)
Switch#

2. as above, c3550-i9q3l2-mz.121-11.EA1 is currently the IOS running in my 3550, but why is
the size so small (only 192 ??) comparing to the IOS that i am going to install to it ?
is this really a IOS or is it the bootup ? since the IOS i am going to install is around 6M in size.

3. what should i do in order that i could copy the current IOS to my TFTP Server as backup?

4. what command should i type in order to download the new IOS to my 3550 swtich from my TFTP server ? is it as simple as "copy tftp flash" and "archive download-sw flash" ??

Thanks Guys !!

Comments

  • Options
    kpjunglekpjungle Member Posts: 426
    danlai2004 wrote:
    Dear guys,
    i am trying to install a different IOS to my 3550 switch as a practice, but before the installation, i would like to try to back up the current IOS to my TFTP server as a back up, since i am a very beginner of using Cisco switch, i got the following problem that need help.

    1. i failed "copy flash tftp: or "archive upload-sw tftp" to back up the current running IOS to my TFTP server. below is the show flash result.

    Switch#sh flash

    Directory of flash:/

    7 drwx 192 Mar 01 1993 00:03:08 c3550-i9q3l2-mz.121-11.EA1

    15998976 bytes total (11623936 bytes free)
    Switch#

    2. as above, c3550-i9q3l2-mz.121-11.EA1 is currently the IOS running in my 3550, but why is
    the size so small (only 192 ??) comparing to the IOS that i am going to install to it ?
    is this really a IOS or is it the bootup ? since the IOS i am going to install is around 6M in size.

    3. what should i do in order that i could copy the current IOS to my TFTP Server as backup?

    4. what command should i type in order to download the new IOS to my 3550 swtich from my TFTP server ? is it as simple as "copy tftp flash" and "archive download-sw flash" ??

    Thanks Guys !!

    I think the c3550-i9q3l2-mz.121-11.EA1 is the directory in which you will find the IOS image. Just like on a regular filesystem.
    Studying for CCNP (All done)
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    below is my show ver.

    Switch#sh ver
    Cisco Internetwork Operating System Software
    IOS (tm) C3550 Software (C3550-I9Q3L2-M), Version 12.1(11)EA1, RELEASE SOFTWARE
    (fc1)
    Copyright (c) 1986-2002 by cisco Systems, Inc.
    Compiled Wed 28-Aug-02 09:33 by antonino
    Image text-base: 0x00003000, data-base: 0x005C6390

    ROM: Bootstrap program is C3550 boot loader

    Switch uptime is 2 hours, 19 minutes
    System returned to ROM by power-on
    System image file is "flash:/c3550-i9q3l2-mz.121-11.EA1/c3550-i9q3l2-mz.121-11.E
    A1.bin"

    cisco WS-C3550-24 (PowerPC) processor (revision G0) with 65526K/8192K bytes of m






    it seems that it is really running the IOS of c3550-i9q3l2-mz.121-11.EA1/ ...........
  • Options
    suffahsuffah Member Posts: 89 ■■□□□□□□□□
    c3550-i9q3l2-mz.121-11.EA1.bin is the name of the flash file, in the folder c3550-i9q3l2-mz.121-11.EA1 like kpjungle said.
  • Options
    jamesp1983jamesp1983 Member Posts: 2,475 ■■■■□□□□□□
    nothing like using xmodem...yuck...
    "Check both the destination and return path when a route fails." "Switches create a network. Routers connect networks."
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    Thanks to who helps me in this........i am still trying to copy the current IOS to my TFTP server,
    but still fail, pls help ..... !!

    below is my details.

    Cisco Internetwork Operating System Software
    IOS (tm) C3550 Software (C3550-I9Q3L2-M), Version 12.1(11)EA1, RELEASE SOFTWARE
    (fc1)
    Copyright (c) 1986-2002 by cisco Systems, Inc.
    Compiled Wed 28-Aug-02 09:33 by antonino
    Image text-base: 0x00003000, data-base: 0x005C6390

    ROM: Bootstrap program is C3550 boot loader

    Switch uptime is 5 minutes
    System returned to ROM by power-on
    System image file is "flash:/c3550-i9q3l2-mz.121-11.EA1/c3550-i9q3l2-mz.121-11.E
    A1.bin"

    cisco WS-C3550-24 (PowerPC) processor (revision G0) with 65526K/8192K bytes of m
    emory.
    Processor board ID CHK0645V20T
    Last reset from warm-reset
    Running Layer2/3 Switching Image

    Ethernet-controller 1 has 12 Fast Ethernet/IEEE 802.3 interfaces

    Ethernet-controller 2 has 12 Fast Ethernet/IEEE 802.3 interfaces

    Switch#dir flash:
    Directory of flash:/

    7 drwx 192 Mar 01 1993 00:03:08 c3550-i9q3l2-mz.121-11.EA1

    15998976 bytes total (11623936 bytes free)
    Switch#

    Switch_2#copy flash tftp
    Source filename [c3550-i9q3l2-mz.121-11.E]? c3550-i9q3l2-mz.121-11.EA1.bin
    Address or name of remote host []? 10.0.0.1
    Destination filename [c3550-i9q3l2-mz.121-11.EA1.bin]?
    %Error opening flash:c3550-i9q3l2-mz.121-11.EA1.bin (No such file or directory)

    Switch_2#copy flash tftp
    Source filename [c3550-i9q3l2-mz.121-11.EA1.bin]? c3550-i9q3l2-mz.121-11.EA1
    Address or name of remote host []? 10.0.0.1
    Destination filename [c3550-i9q3l2-mz.121-11.EA1]?
    %Error reading flash:c3550-i9q3l2-mz.121-11.EA1 (Is a directory)
    Switch_2#

    Switch#ping 10.0.0.1

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
    !!!!!
    > can ping TFTP server at 10.0.0.1, also, my PC is allowed to ping the Switch
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
  • Options
    laidbackfreaklaidbackfreak Member Posts: 991
    this c3550-i9q3l2-mz.121-11.EA1 is the directory that the file is held in hence your error message....
    the file and directory are the same name, the extension is different tho....

    you need to move into that directory, using the cd (change directory command) and then copy the file from there.... (it could be in a sub folder in there, but with out the output i can not say...)
    if I say something that can be taken one of two ways and one of them offends, I usually mean the other one :-)
  • Options
    srgsrg Member Posts: 140
    Try this for source filename: c3550-i9q3l2-mz.121-11.EA1/c3550-i9q3l2-mz.121-11.EA1.bin
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    Thanks Srg & laidbackfreak and every one!!!
    it worked !!!
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    This is what i failed to do as well......
    i can copy the courrent IOS from my 3560 to my TFTP, But can not copy the IOS from my TFTP to my 3560, i tried few times...but cant make it...... below is the error message.

    P.S, the firewall is shut, the TFTP and the 3560 could ping each other.


    Switch#copy tftp: flash:
    Address or name of remote host [10.0.0.1]?
    Source filename [c3560-advipservicesk9-mz.122-25.SEE2.bin]?
    Destination filename [c3560-advipservicesk9-mz.122-25.SEE2.bin]?
    Accessing tftp://10.0.0.1/c3560-advipservicesk9-mz.122-25.SEE2.bin...
    Loading c3560-advipservicesk9-mz.122-25.SEE2.bin ... [timed out]

    %Error reading tftp://10.0.0.1/c3560-advipservicesk9-mz.122-25.SEE2.bin (Timed o
    ut)
    Switch#


    Switch#sh flash:

    Directory of flash:/

    5 drwx 192 Mar 1 1993 00:15:39 +00:00 c3560-ipbase-mz.122-25.SEE
    2

    32514048 bytes total (24360960 bytes free)
    Switch#
  • Options
    srgsrg Member Posts: 140
    danlai2004 wrote:
    This is what i failed to do as well......
    i can copy the courrent IOS from my 3560 to my TFTP, But can not copy the IOS from my TFTP to my 3560, i tried few times...but cant make it...... below is the error message.

    P.S, the firewall is shut, the TFTP and the 3560 could ping each other.


    Switch#copy tftp: flash:
    Address or name of remote host [10.0.0.1]?
    Source filename [c3560-advipservicesk9-mz.122-25.SEE2.bin]?
    Destination filename [c3560-advipservicesk9-mz.122-25.SEE2.bin]?
    Accessing tftp://10.0.0.1/c3560-advipservicesk9-mz.122-25.SEE2.bin...
    Loading c3560-advipservicesk9-mz.122-25.SEE2.bin ... [timed out]

    %Error reading tftp://10.0.0.1/c3560-advipservicesk9-mz.122-25.SEE2.bin (Timed o
    ut)
    Switch#


    Switch#sh flash:

    Directory of flash:/

    5 drwx 192 Mar 1 1993 00:15:39 +00:00 c3560-ipbase-mz.122-25.SEE
    2

    32514048 bytes total (24360960 bytes free)
    Switch#

    If they can ping eachother i would tripple-check the tftp-server or maybe try another one.
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    i can copy the IOS from TFTP server to my 3550 switch with out any problem, but just cant copy the IOS to my 3560 from the same TFTP server......any idea ?
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    i am using TFTP Turbo as my TFTP server.....any other good choice ??
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    i used another command but dont know if this is the right way or not......pls advice if i am wrong,
    i used the command of

    Switch#archive download-sw /overwrite tftp://10.0.0.1/c3560-advipservicesk9-mz.122-25.SEE2.bin

    it came out the following which still fail, but at least it runs the installing, but just failed at the very end. better then nothing happen like the above.

    below is the outcome.

    ending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1015 ms
    Switch#$overwrite tftp://10.0.0.1/c3560-advipservicesk9-mz.122-25.SEE2.bin
    Loading c3560-advipservicesk9-mz.122-25.SEE2.bin from 10.0.0.1 (via Vlan1): !!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    [OK - 7963038 bytes]

    examining image...
    %Tar checksum error in tftp://10.0.0.1/c3560-advipservicesk9-mz.122-25.SEE2.bin
    %Error opening flash:update/info (No such file or directory)
    ERROR: Image is not a valid IOS image archive.
  • Options
    danlai2004danlai2004 Member Posts: 21 ■□□□□□□□□□
    should the fail reason due to wrong command ? or demaged IOS ?
    any advice ?
  • Options
    mgeorgemgeorge Member Posts: 774 ■■■□□□□□□□
    If you use the "archive "command you must specificy the location and the destination of the tar you are trying to extract

    for example

    archive tar /xtract tftp://x.x.x.x/c3550-whatever.bin flash:

    or you can however just extract the image from the tar and load it to flash directly by doing

    copy tftp://x.x.x.x/imagename.bin flash:

    it will probably prompt you to erase flash.

    If you do it this way you will may have to update the boot paramaters to point to the new image

    boot system flash:imagename.bin
    There is no place like 127.0.0.1
Sign In or Register to comment.