For up-to-the minute updates because that this chapter, please see www.lammle.com.
You are watching: Verify the configuration register entry of a cisco 2500 series router
Understanding the Internal components of a Cisco Router
To configure and troubleshoot a Cisco internetwork, you need to recognize the major components that Cisco routers and also understand what every one does. Table 2-1 defines the significant Cisco router components.
Table 2-1: Cisco Router Components
|Bootstrap||Stored in the microcode that the ROM, the bootstrap bring a router up throughout initialization. It will boot the router and then fill the IOS.|
|Power-on self-test (POST)||Stored in the microcode of the ROM, the write-up is used to inspect the an easy functionality that the router hardware and determines i m sorry interfaces are present.|
|ROM monitor||Stored in the microcode of the ROM, the ROM monitor is offered for manufacturing, testing, and troubleshooting.|
|Mini-IOS||Called the RXBOOT or bootloader through Cisco, the mini-IOS is a little IOS in ROM that can be used to open an interface and load a Cisco IOS into flash memory. The mini-IOS can additionally perform a couple of other maintenance operations.|
|Random-access memory (RAM)||Used to organize packet buffers, ARP cache, routing tables, and the software and also data frameworks that enable the router to function. The running-config paper is save on computer in RAM, and most routers increase the IOS from flash right into RAM upon boot.|
|Read-only memory (ROM)||Used come start and maintain the router. Holds the POST and also the bootstrap program, and also the mini-IOS.|
|Flash memory||Used to save the Cisco IOS through default. Flash storage is no erased once the router is reloaded. It is electronically erasable programmable read-only memory (EEPROM) created by Intel.|
|Nonvolatile lamb (NVRAM)||Used to organize the router and also switch configuration. NVRAM is no erased once the router or move is reloaded. Does not save an IOS. The configuration-register document is stored in NVRAM.|
|Configuration register||Used to manage how the router boots up. This value can be uncovered as the last line of the display version command output, and also by default that is set to 0x2102, which speak the router to fill the IOS from speed memory and also to pack the configuration from NVRAM.|
All Cisco routers have actually a 16-bit software register that’s written into NVRAM. By default, the configuration it is registered is collection to load the Cisco IOS from speed memory and also to look for and load the startup-config record from NVRAM.
Checking the existing Configuration register Value
You deserve to see the present value of the configuration register by utilizing the present version command (sh version or display ver because that short), together demonstrated in Table 2-2.
Table 2-2: The show version Command
|show version||Directs the router where to load the IOS and also configuration papers from|
The only way to view the configuration register is through the display version command:
Router#sh versionCisco IOS Software, 2800 software (C2800NM-ADVSECURITYK9-M),Version 15.1(4)M6, RELEASE software application (fc1)
Changing the configuration Register
You can adjust the construction register value to modify just how the router boots and runs. These room the key reasons you would want to change the construction register:To force the system right into the ROM monitor modeTo choose a boot source and default boot filenameTo enable or disable the rest functionTo regulate broadcast addressesTo set the console terminal baud rateTo load operating software program from ROMTo allow booting indigenous a TFTP server
Table 2-3 reflects the two regulates we’ll use to edit the configuration register:
Table 2-3: construction Register
|config-register||Directs the router whereby to fill the IOS and also configuration records from|
|show flash||Displays a perform of directories and files in speed memory|
Here is an instance of how to change the configuration register and then I’ll present you just how to verify:
Router(config)#config-register 0x2101Router(config)#^ZRouter#sh ver
Router(boot)#sh verCisco IOS Software, 2800 software program (C2800NM-ADVSECURITYK9-M), variation 15.1(4)M6, RELEASE software (fc1)
Router#sh flash-#- --length-- -----date/time------ path1 45392400 Apr 14 2013 05:31:44 +00:00 c2800nm-advsecurityk9-mz.151-4.M6.bin18620416 bytes easily accessible (45395968 bytes used)If you desire to set the configuration register ago to the default, just form this:
Router(boot)#config tRouter(boot)(config)#config-register 0x2102Router(boot)(config)#^ZRouter(boot)#reload
Recovering PasswordsIf you locked the end of a router since you forgot the password, you can readjust the configuration it is registered to aid you get earlier on your feet.
See more: Grocery Items That Start With X, 17 Foods That Start With X » Recipefairy
To recoup a password, you need to turn on little 6. Law this will certainly tell the router to neglect the NVRAM contents. The configuration register worth to rotate on little 6 is 0x2142.