arrowHome arrow Forum Wednesday, 27 August 2008  
Main Menu
Home
Media Gallery
J2EE Blog
Forum
News
Downloads
News Feeds
FAQ's
Links
System Status
Contact Us
About iDoumo
Latest Posts
Find suspicious files abukta
Automate Filesystem Dump abukta
Add route to server abukta
Benefits of Logical Volume Management abukta
Performance Costs of using LVM abukta
Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one

Newsflash

Workday Devil Mountain Run draws 1,800+ runners, walkers


A pack of lean and muscular runners of many ages bolted from the starting line in downtown Danville this morning just as the sun broke through the fog.

Behind the competitive runners followed those of varying levels of proficiency, some running with strollers, others walking dogs, holding hands, or listening to music.

Threatened with cancellation just weeks ago for lack of a title sponsor, today's Workday Devil Mountain Run attracted about as many people as last year's run and likely raised even more money for Children's Hospital Oakland, organizers said.

  iDoumo Projects
  System Administration
        Network Routers & Switches 
              Why Does My Router Lose Its Configuration During Reboot?

Quick Jump To:

Network Routers & Switches Threads List - Search Forum
Moderated by: admin Unsubscribe from this Thread
Why Does My Router Lose Its Configuration During Reboot?
  20 May 2006 18:58 # 1 
   abukta
 super admin
 
 profile
 
Join Date: 29 Mar 2005 21:03
Posts:
 
 Why Does My Router Lose Its Configuration During Reboot?
This document explains what causes a router to lose its configuration if it loses power, or is rebooted. The document also provides a simple procedure to verify the problem on any router. In most cases, this is the result of an improperly set configuration register. The configuration register is usually changed during password recovery to bypass the startup configuration upon reboot. Many times, the configuration register is not returned to a normal setting.

Prerequisites
Requirements
There are no specific requirements for this document.

Components Used
This document is not restricted to specific software and hardware versions.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.

Problem
The router can bypass the startup configuration stored in non-volatile RAM (NVRAM) during its boot sequence. In order to check whether this problem occurs, complete these steps:

After your router boots up, do not enter the initial configuration dialog (choose No when prompted).

--- System Configuration Dialog ---


Would you like to enter the initial configuration dialog? [yes/no]: no
Press Enter to get to the Router> prompt.

Type enable, and press ENTER to enter the privileged mode.

From the Router# prompt, type show start and press ENTER. Your configuration must be the one that was saved before reboot or power loss. If you find that the configuration is not the same, it is possible that the router has ignored the startup configuration. Proceed to Step 5.

Type show version, press ENTER, and look at the last line in the output that appears. Here is an example:

Router#show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.1(5),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Wed 25-Oct-00 05:18 by cmong
Image text-base: 0x03071DB0, data-base: 0x00001000

ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a),
RELEASE SOFTWARE (fc1)

Router uptime is 7 minutes
System returned to ROM by reload
System image file is "flash:c2500-js-l_121-5.bin"

cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 03867477, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2142
In this example, the configuration register shows 0x2142. The router bypasses the startup configuration stored in NVRAM during its boot sequence. This feature is normally used during a password recovery procedure.

This table explains the configuration register bit meanings:

Bit No.
Hex
Meaning

00-03
0x0000-0x000F
Boot Field Parameters 0x0000 Stays at the system bootstrap prompt 0x0001 Boots system image on EPROM 0x0002-0x000F Specifies a default netboot filename.

06
0x0040
Ignore NVRAM contents.

07
0x0080
OEM bit enabled to exclude details in boot messages.

08
0x0100
Break disabled.

10
0x0400
IP broadcast with all zeros.

11-12
0x0800-0x1000
Console line speed.

13
0x2000
Boot default ROM software if network boot fails.

14
0x4000
IP broadcasts do not have net numbers.

15
0x8000
Enable diagnostic messages and ignore NVRAM contents.



The factory-default setting for the configuration register is 0x2102. This indicates that the router should attempt to load a Cisco IOS® software image from Flash memory and load the startup configuration.

Solution
The most likely reason why the router has bypassed the startup configuration stored in NVRAM is that the configuration register has not been set properly. To change your configuration register so that the router does not ignore or skip the startup configuration upon reboot or power cycle, complete these steps:

From the Router# prompt:

Type configure terminal , and press ENTER.

Type config-register 0x2102, and press ENTER.

Type end, and press ENTER.

To verify the configuration register change, type show version at the Router# prompt, and review your show version command output again. Look for the configuration register setting, which must show a new value upon the next reload. Here is an example:

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0x2102
Router(config)#end

Router#show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.1(5),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Wed 25-Oct-00 05:18 by cmong
Image text-base: 0x03071DB0, data-base: 0x00001000

ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a),
RELEASE SOFTWARE (fc1)

Router uptime is 11 minutes
System returned to ROM by reload
System image file is "flash:c2500-js-l_121-5.bin"

cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 03867477, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Token Ring/IEEE 802.5 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2142 (will be 0x2102 at next reload)
When the router is reloaded, the new configuration register setting becomes active.

Router#reload
System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]Your router now loads with the startup configuration, and the configuration register is set to 0x2102. Your configuration loads properly after the next reload or power cycle.
 


<< Start < Prev 1 Next > End >>
Results 1 - 1 of 1



Help iDoumo

Help support "iDoumo" and free software by donating now!

Donate Once Monthly

Currency

Amount

Currency

Amount

Latest Events
There are no upcoming events currently scheduled.
View Full Calendar
Project Calendar
August 2008 September 2008
Su Mo Tu We Th Fr Sa
Week 31 1 2
Week 32 3 4 5 6 7 8 9
Week 33 10 11 12 13 14 15 16
Week 34 17 18 19 20 21 22 23
Week 35 24 25 26 27 28 29 30
Week 36 31
Media Gallery
Last update:
27 Sep, 11:53
Workday

random:

PeopleSoft
top of page

iDoumo Projects. All rights reserved.