search the web

Friday, March 25, 2016

Recovering Cisco 2500 series Router Password

Recovering Cisco 2500 series Router Password

---------------------------------------------
Switch off the routre
Swich on the router
After 3 seconds press Ctrl+PAUSEBREAK

you will enter into rom monitor mode

>
now write
>o/r 0x2142
2142 is the configuration register number through which the router loads the IOS and the configuration files.
For password recovery we are concerned with two numbers
2102=This is the default and means to load the Configuration file from nvram.
2142=means to bypass the configuration file and load the router without any configuration.

>init
!This will load the router without configuration.

Router>en
Router#copy startup-config running-config
conf t
enable password cisco
line con 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
configuration-register 2102
exit
copy run star
reload
-------------------------------------
Cisco 2600
-------------------------------------
Switch off the routre
Swich on the router
After 3 seconds press Ctrl+PAUSEBREAK

you will enter into rom monitor mode

romon>
now write
romon>confreg 0x2142
2142 is the configuration register number through which the router loads the IOS and the configuration files.
For password recovery we are concerned with two numbers
2102=This is the default and means to load the Configuration file from nvram.
2142=means to bypass the configuration file and load the router without any configuration.

>reset
!This will load the router without configuration.

Router>en
Router#copy startup-config running-config
conf t
enable password cisco
line con 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
configuration-register 2102
exit
copy run star
reload

No comments: