Real World Application:
Cisco 2600 series routers in a lab environment using the most popular routers and many still exist today, many businesses have Moto "if it works don't fix it"
Password recovery or sterilization contrary to the contents of NVRAM on Cisco router 2600 series or it is the next generation of router is a very common procedure, should be aware of any CCNA no document links.
Lab Prerequisites:
Cisco 2600 series routers, or larger, with unknown control or enable password.
You cannot log on to the device to the activities of the serial console sessions
Lab Objectives:
Cisco 2,600 series routers, himself, under the ROM monitor mode when the power is turned breaking the boot sequence.
When content is changed to 0x2142 NVRAM in bypass startup and reset the router, the router configuration registers
(Option 1)-a guide, yourself in privileged mode and copy the start up configuration to the running configuration. After that, you may change the password or the password is enabled and configured to write to NVRAM, through the copy run start command issued.
(Option 2) – a guide to turn themselves into privileged mode, a write wipe clear the contents of the NVRAM.
Change the configuration register back to 0x2102 now guide to set up your router correctly launch and load NVRAM contents.
Lab Instruction:
As shown below is a Cisco 2651XM router that has a console password on the device. With such a password you cannot access exec mode without authenticating this password correctly. When buying routers used, you may commonly be faced with scenario.
Router con0 is now available
Press RETURN to get started.
User Access Verification
Password:
Step 1 . Power cycle the router or power on the router first. When the router is started, you need to break into network cards PXE boot ROM to boot the router boot sequence, by holding down the CTRL key and press pause break like you. Repeat this operation until you put the network adapter PXE boot ROM prompt.
System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory
monitor: command "boot" aborted due to user interrupt
rommon 1 >
Step 2 . When you change the configuration register to boot to Cisco IOS router will ignore the contents of the NVRAM. To set the configuration register to 0x2142 and start the router.
rommon 1 >confreg 0x2142
rommon 2 >reset
Step 3 . The Cisco IOS router initial configuration is started, the system dialog box prompts you, type n and press ENTER, you will be placed in user mode. Now you can put your self into privileged mode, enabled by typing. Once in privileged mode, you can copy the startup configuration to the running configuration, and then manually change the password, and then save the configuration to NVRAM by typing copy run start.
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>enable
Router#copy start run
Destination filename [running-config]?
506 bytes copied in 3.868 secs (168 bytes/sec)
IMAROUTER#configure terminal
IMAROUTER(config)#enable secret NEWENABLEPASSWORD
IMAROUTER(config)#line con 0
IMAROUTER(config-if)#password NEWPASSWORD
IMAROUTER(config-if)#end
IMAROUTER#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
IMAROUTER#
Step 4 . Enter the Cisco IOS router starts, initial configuration of the system dialog box prompts you, type n and press enter here and you will be placed in user mode. Now you can put your self into privileged mode, enabled by typing. Once in privileged mode, you can clear the contents of the NVRAM by issuing the write erase command.
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>enable
Router#write erase
Erasing the nvram filesystem will remove all files! Continue? [confirm]
[OK]
Erase of nvram: complete
Router#
Step 5 . Once you have the password reset or NVRAM public health, you need to set the configuration register back to 0x2102 so normal startup and reboot the router loads the contents of the NVRAM or power failure occurs.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment