flashing new IOS

esswokesswok Member Posts: 74 ■■□□□□□□□□
I have downloaded a IOS from the cisco site, so now I have the ios file; do I need to upload it to a tftp server so I can install it to a switch, or can I just install it from my PC?

I know this seems a bit like rookie 101 but we never covered this in any class, and I have never done this before.

Comments

  • FuturaFutura Member Posts: 191
    You can boot from the tftp to test it out i think.

    config t then boot system tftp.

    Otherwise use tftpd32 to copy it to flash, make a back up of the exiting one first though, just in case.

    use 'config t', then 'copy flash tftp' or the other way round to back it up.

    hope this helps
  • okplayaokplaya Member Posts: 199
    No offense, but I'm appalled that you have your CCNA without knowing how to use the copy command. I guess each test is different.

    Anyway, check out the link below:

    How To Copy a System Image from One Device to Another - Cisco Systems

    You're going to use the 'copy tftp flash" option. You need to make sure your PC and switch can ping each other.
  • esswokesswok Member Posts: 74 ■■□□□□□□□□
    okplaya wrote: »
    No offense, but I'm appalled that you have your CCNA without knowing how to use the copy command. I guess each test is different.

    Anyway, check out the link below:

    How To Copy a System Image from One Device to Another - Cisco Systems

    You're going to use the 'copy tftp flash" option. You need to make sure your PC and switch can ping each other.

    I am sorry that you find it appalling, but thank you for the help that looks like the correct information to do the job;

    but, this unit was included in a stack of free gear I received and has no IOS at all so that changes the ability to COPY TFTP flash. or ping



    about your comment:
    once reading at the cisco ccnp area I saw someone ask how to subnet some numbers.

    (how would that make you feel,,,<- I just laughed, but read/saw many posts that offered help).

    anyway I do feel cheated by my college for having inadequate instruction, for awhile I was really pissed off, but have learned to move on.

    thanks for your help, hopefully I can return the favor somehow to you someday.
  • okplayaokplaya Member Posts: 199
    My college cheated me as well. It's not really directed at you, but the exam itself. Most instruction seems to stress that "if you don't know how to do this" then you cannot pass. But I see that may not be true.

    I didn't laugh at all when I saw your comment. It's not funny. I just have this impression that some things you absolutely have to have down cold to pass the exams, but again I don't think that's the case. Hope you understand, and I could definitely learn from you as you have more certs than me :)
  • esswokesswok Member Posts: 74 ■■□□□□□□□□
    I should have mentioned in the first place, about this unit not having any IOS currently.

    see my second post edit

    I have tried to do the copy tftp flash command but it does not work


    I guess my thread should have been titled how to add an IOS when their is none.
  • phobophilephobophile Member Posts: 34 ■■□□□□□□□□
    esswok wrote: »
    I should have mentioned in the first place, about this unit not having any IOS currently.

    see my second post edit

    I have tried to do the copy tftp flash command but it does not work


    I guess my thread should have been titled how to add an IOS when their is none.

    Sounds to me like your in ROMMON.

    It should look like this, correct?

    rommon 1 >

    You can follow the instructions in this link.

    The IP_ADDRESS: has to be in the same subnet as your PC.
    The TFTP_SERVER: has to be the IP address of your PC. You can download a TFTP client such as tftpd32 for free.
    The TFPT_FILE: is the entire filename of the IOS file

    Then, just issue the tftpdnld command and then boot, and you should be good to go.

    Forgot to mention, the IOS file has to be in the tftpd32 folder, or else it will not work.
  • FuturaFutura Member Posts: 191
    I think you should check that the config register is set correctly if its booting into rommon straight away too.
  • phobophilephobophile Member Posts: 34 ■■□□□□□□□□
    Futura wrote: »
    I think you should check that the config register is set correctly if its booting into rommon straight away too.

    Good point. If in ROMMON, you can verify if there any files in flash memory by issuing dir flash:
  • j-manj-man Member Posts: 143
    Good post. I got hosed (you can find the post if you look for it) by the config-register not being set to 0x2102 and the resulting hilarity when I changed it back.

    I am in the process of upgrading the flash in two of my routers so I'll be needing to transfer the IOS from TFTP via ROMMON.

    Keep us updated on your progress because we could learn something from your experience.
  • esswokesswok Member Posts: 74 ■■□□□□□□□□
    phobophile wrote: »
    Sounds to me like your in ROMMON.

    It should look like this, correct?

    rommon 1 >

    You can follow the instructions in this link.

    The IP_ADDRESS: has to be in the same subnet as your PC.
    The TFTP_SERVER: has to be the IP address of your PC. You can download a TFTP client such as tftpd32 for free.
    The TFPT_FILE: is the entire filename of the IOS file

    Then, just issue the tftpdnld command and then boot, and you should be good to go.

    Forgot to mention, the IOS file has to be in the tftpd32 folder, or else it will not work.


    it is not in rommon>
    !
    [it is in {switch:}]
    !
    the books say "switch:" = rommon> ? it this true?
    !
    I went with that being true, and followed the link directions that you provided.
    !
    the commands were accepted all the way until,,,
    !
    tftpdnld
    then I receive [unknown cmd] so I tried tftp_dnld but still no luck.
    !
    I tried hyper terminal, and secureCRT connected via console port
    !
    I am using tftpd64.

    I have also tried
    !
    switch:copy<3722814><c2950-i6k4-mz.bin><b:\program files\tfdp64>
    &
    copy tftp flash
  • FuturaFutura Member Posts: 191
    can you issue the following commands

    flash_init
    load_helper

    once you have done these you should be able to

    dir flash:

    see if an IOS Exists

    if it does exist then you need to change the config register, if
    it doesnt then you need to install a IOS.

    Set the Configuration Register from ROMmon

    Set the configuration register with the confreg command if the router is in ROMmon mode:
    rommon 1 >confreg 0x2102

    hope this helps
  • esswokesswok Member Posts: 74 ■■□□□□□□□□
    I followed the directions at the link below and was sucsessful.

    it did take a very long time but it worked




    Recovering Catalyst Fixed Configuration Switches from a Corrupted or Missing Image - Cisco Systems
Sign In or Register to comment.