source
Member • Jun 5, 2008
The summary steps of recovering Cisco routers and switches password
[FONT=宋]router:
1\ctrl+break login rommon 1>
2\rommon 1>confreg 0×2142
3\rommon 1>reset
4\router>en
5\router#copy start run
6\router#conf t
7\router(config)#enable sec c1
8\router(config#config-register 0×2102
9\router#copy run start
10\router#reload
switch:
1\ctrl+break login switch:
2\switch:flash_init
3\switch:load_helper
4\switch:dir flash
5\switch:rename flash:config.text flash:config.back
6\switch:boot
7\switch>en
8\switch#rename flash:config.back flash:config.text
9\switch#copy flash:config.text system:running-config
10\switch#conf t
11\switch(config)#enable sec cisco
12\switch#copy run start
13\switch#reload[/FONT]
1\ctrl+break login rommon 1>
2\rommon 1>confreg 0×2142
3\rommon 1>reset
4\router>en
5\router#copy start run
6\router#conf t
7\router(config)#enable sec c1
8\router(config#config-register 0×2102
9\router#copy run start
10\router#reload
switch:
1\ctrl+break login switch:
2\switch:flash_init
3\switch:load_helper
4\switch:dir flash
5\switch:rename flash:config.text flash:config.back
6\switch:boot
7\switch>en
8\switch#rename flash:config.back flash:config.text
9\switch#copy flash:config.text system:running-config
10\switch#conf t
11\switch(config)#enable sec cisco
12\switch#copy run start
13\switch#reload[/FONT]