A lot of cisco techs are in the same position. You only have remote access to a router but need to perform an IOS upgrade. This might be to squash a bug or simply because Cisco TAC will not proceed with a TAC case until you do so.

How do you verify that the IOS image has not been corrupted between cisco.com and your device? Read on to find out!

All of the IOS downloads have an MD5 sum that identifies the original unaltered files. MD5 hashing is basically a way of taking an input, in this case the IOS, running it through a hashing algorithm and coming up with a string/Value. The important thing to note here is no matter who runs the IOS through the hashing algorithm, the output will always be the same. If even a slight change has been made to the file then the output will be different.

So, once your IOS is on the router you need to do the following:

router#verify /md5 disk0:c1700-advsecurityk9-mz.123-14.T7.bin

At this point the router will respond with the hash value of the file you have uploaded which can now be compared to the hash value from cisco.com. If these values do not match DO NOT RELOAD THE ROUTER!!! If you do the chances are you will end up with a paper weight until you can get out to site.
You should re-upload the IOS to ensure that it is correct and perform the above again. If you get a mismatched input then the chances are the IOS on your TFTP server is corrupt and you will need to re-download from Cisco.com.

Hope that helps you avoid those “uh oh” moments when a device doesnt return to service!

Thanks for reading.

5 Responses to “Verify your IOS before reloading that router!”

  1. Simon says:

    nice.

    btw eric from http://www.nettiki.com/ just told me the following..

    “Another thing to look for is that when you use tftp (Trivial File Transfer Protocol) to upgrade your image from a tftp server, you should look for two “OK”s. The 1st OK will indicate that the file transfer completed successfully and the 2nd OK will indicate that the checksum of the file validated correctly.”

  2. Rich says:

    Another very useful tip, thanks :)

  3. Espen Nilsen says:

    If you run your TFTP server on linux, you can get the md5 hash for the file by using the ‘md5sum’ command on the file to match against cisco.com

  4. Rich says:

    You can, but that doesnt help you to determine if the file was corrupted in-transit. Taking the original (known good) MD5 from cisco.com and then matching it up by using Verify on the router ensures you are not about to buy yourself a long drive out to the site! :D

  5. Espen Nilsen says:

    @Rich: I agree, I just meant that it’s better though than trying to upload it a couple of times to the router and verify there if it’s already corrupt :)

Leave a Reply

Add to Technorati Favorites Add to Google
  • headache eye pain
  • how sleeping helps
  • lower back pain relief
  • cialis advertising
  • signs symptoms of high blood pressure
  • symptoms of congestive heart failure
  • flu help
  • cheap online prescription drugs
  • health care for dogs
  • acne prescription treatments
  • hoodia information
  • buy tadalafil online
  • acne treatment products
  • natural cure for erectile dysfunction
  • neck pain
  • how do you prevent bone loss
  • top performance pet care products
  • levitra online us
  • discount prescription drug
  • heart rate treatments
  • buy medicine to treat chlamydia
  • treatment parkinsons disease
  • cheap diet pills that work
  • order pain meds by phone
  • prednisone allergy
  • buy drugs online
  • fluconazole 150mg
  • viagra with xanax
  • menopause treatment
  • fast ways to lower blood pressure
  • ciprofloxacin 500mg
  • buy medication on line
  • blood pressure diet
  • a reliever of arthritic pain
  • buy celebrex online
  • canadian drug pharmacy
  • water pill
  • living with heart failure
  • calcium bone loss
  • order caffeine
  • preventing bone loss
  • cheapest drugs online
  • generic 5mg proscar cheap
  • buy dietary supplement
  • stop vomiting remedies
  • weight loss suppliments
  • hypothyroidism medication
  • discount erectile dysfunction medication
  • increasing blood flow
  • how can you prevent diabetes
  • dog ear health
  • order flagyl
  • ambien 20mg
  • clindamycin drug
  • pneumonia vs bronchitis
  • flonase otc
  • allegra effects side
  • does viagra really work
  • arthritis therapy
  • gabapentin dosage
  • dramamine dosage
  • how do you treat lung cancer
  • ways to lower cholesterol
  • how body burns fat
  • cialis 30
  • ranitidine interaction
  • phentermine with no prescription
  • hypertension medicines
  • medicines for blood clot
  • what does viagra do to females
  • buy vardenafil online
  • purchase medication
  • stop smoking today
  • buy medicine for type 2 diabetes
  • dog health tips
  • doxycycline dose
  • buy augmentin
  • medications ativan
  • upper back pain
  • order prozac
  • cheap retin a
  • treatment of heart attacks
  • prescription zocor
  • erectile dysfunction medications
  • lexapro prozac vs
  • male sexual power
  • sleep aid
  • online allegra
  • viagra gel
  • ramipril generic
  • medicine without prescriptions
  • addictive ambien
  • buy diazepam without prescription
  • online pharmacy carisoprodol
  • treatments for lung cancer
  • back pain medicine
  • klonopin pill
  • congestive heart failure treatment
  • drug dogs
  • new drug treatment for cancer
  • repels insects
  • rheumatoid arthritis medications
  • about levitra
  • buy prescription medicine online
  • erectile dysfunction treatments
  • osteoarthritis medication
  • diabetes drugs
  • tips for lowering blood pressure
  • how do i lower blood pressure
  • persistent diarrhea
  • lexapro info
  • canadian pharmacy
  • new weight loss pill
  • cheapest levitra
  • generic for levitra
  • enhance sexual performance
  • relieve neck pain
  • generic kamagra
  • dramamine dosage
  • chronic arthritis
  • drugs weight loss
  • disease of the skin
  • high blood sugar
  • arm muscle pain
  • medical products for pets
  • stroke treatment
  • alternative antibiotics
  • buying prescription drugs online
  • flonase otc
  • help with stop smoking
  • canadian online pharmacies
  • claritin dosages
  • chest pain home treatment
  • on-line pharmacies
  • flomax generic
  • discount pharmacy
  • problem skin
  • online ed drugs
  • zoloft buy
  • online prescription drug
  • pet health problems
  • topamax online
  • heart attack women
  • antibiotics bronchitis
  • order vitamins online
  • stop premature ejaculation
  • exercise for weight loss
  • us levitra
  • drug norvasc
  • usa dog products
  • xenical mexico prescriptions
  • increase male volume
  • prices levitra
  • dietary supplements
  • alzheimers treatment
  • reduce swelling methods
  • diet product
  • clomid dosage
  • nerve pain remedy
  • nolvadex generic
  • order calcium carbonate
  • ramipril medication
  • naturally lower cholesterol
  • pain meds without prescriptions
  • buy now viagra
  • discount vitamins supplements
  • treatment of bph
  • anti anxiety meds
  • men's health supplements
  • very high blood pressure
  • trazodone withdrawal
  • bladder control medicine
  • alternative blood pressure treatment
  • type 2 diabetes medications
  • naproxen 500mg
  • buy erectile dysfunction online
  • diuretic pills
  • coupon claritin
  • eye problems in cats
  • health drugs
  • diuretic medication
  • prednisone alternative
  • dosage digoxin
  • shoulder pain
  • arthritis relief natural
  • treatment for severe edema
  • robaxin dosage
  • build muscle
  • treatment hypertension
  • attention deficit
  • cheap baclofen
  • online sildenafil
  • fat loss
  • stop smoking cigerette
  • old dog products
  • uk pharmacy
  • lowering blood pressure naturally
  • levitra overnight
  • smoking cure
  • anxiety help