cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
630
Views
0
Helpful
11
Replies

Corrupted IOS

How is it possible to detect the IOS is courrupted? What kind of problems will be facig if the IOS is corrupted? Will the router gets into only the rommon mode if the IOS is corrupted.

11 Replies 11

satish_zanjurne
Level 4
Level 4

Hi

1.For lower end devices( 2600,3800) yes!! switch or router will go to ROMMON mode most of the time..

2.For few High end device like Cisco 7304 router goes to boot mode router(boot)..that means here you have minimum boot image available..it is not the complete IOS.here you can download the actual IOS using "copy tftp disk" command and boot normally

http://cisco.com/en/US/docs/routers/7300/install_and_upgrade/7304/7304_quick_start_guide/12230qs.html#wp69008

HTH...

Hi

Thanks for the reply, but what will be the issue if the router is loading but all the interfaces are hanging and the led status of all ports are showing green even if there is no cable connected. when checking the running configuration it is not showing any of the interface configurations or interfaces. Will this problem will be solved when the IOS is upgraded.

If this is modular router try resettting the NM/WIC , if it is not working, try putting different module.

If the current IOS of router does not support the NM/WIC , then router will not detect the NM/WIC.

If module is detected & it is behaving suddenly this way , mostly module must have gone bad.

can you attach show tech of this router ??

Joseph W. Doherty
Hall of Fame
Hall of Fame

How is it possible to detect the IOS is courrupted?

On some platforms and IOS images, you can use the verify command.

"What kind of problems will be facig if the IOS is corrupted? Will the router gets into only the rommon mode if the IOS is corrupted."

If the system, during attempted load, detects the image is corrupt, it shouldn't load it. If there's another valid image, depending on boot var settings and default boot device contents, it might load another image. Otherwise, it would normally drop into rommon.

If the system does actually load a corrupted image, results, for our purpose, are unpredictable. Could be similar to having faulty RAM with a non-corrupt flash IOS image.

If I had connected the console and opened the hyperterminal as default settings and powered on the switch or router, what will be the output? Will the post section will be displayed in the terminal window even if the device speed settings was not set to default. Should the speed settings must be set correctly for getting the post section in termial window when the device is restarted.

Your RS232 client com settings, e.g. hyperterminal, will need to match the router's com settings. The default speed is usually 9600 on Cisco routers. I believe hyperterminal's default is slower, usually 2400. I would also set hyperterminal's flow control to none.

I just want to confirm that when we configure the console speed of the router to a non default value and that configuration is saved to running/startup configuration. So if we restart the router will the router uses the default console speed of device till the IOS and Startup configuration is loaded or will it use the speed that we had set.

Not 100% positive. I believe if you change the console speed in ROMMOM, it resets to default with next reboot, but since you mention saving console speed in a saved running config, I would expect it to use that on next restart. This also assumes the config is not corrupt during startup.

If you're locked out of the box, you might be able to break in to it using the password recovery method.

Is the password recovery method can be done only using hyperterminal application? if then for password recovery also should the console speed and the application speed must be matching. And when restarting the device will the console speed will be the default value till the IOS and Startup cofiguration is loaded even if the speed was changed in running configuration and saved?

Yes, password recovery can be done using hyperterminal. You need to use control-break (if I recall correctly) very early in the power-on boot sequence. This starts the router in ROMMOM and precludes the normal IOS from loading. (Documentation on the procedure can be found on the Cisco web site.)

Again, I'm not sure whether the console will start up at the usual default 9600 rate until the IOS loads.

PS:

You can also try connecting to the console, change RS232 settings, press enter, and see if a readable prompt appears. If it's only a speed difference, there aren't too many to try. If other RS232 parameters, beyond just speed, might have been changed, the setting options to try does become annoyingly large.

Thanks for providing these information. I just want to confirm that the console will start at the default rate , so as to confirm the switch is not booting as it is not showing any changes when restarted. Thankyou for your reply .

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: