You are on page 1of 2

Qui trnh khi phc password (password recovery) A. i vi Routers Cisco Series 1600, 1700 & 2600: 1.

Thit lp kt ni console t PC n Ruter, v m chng trnh HyperTerminal 2. Bt ngun Router ln v sau khi khi ng xong, Router s xut hin dng : Press RETURN to get started . V bn s nhn phm Enter, xut hin tip: Password : Nhng bn khng th no login vo Router c v khng bit mt khu l g!!! V vy bn s thc hin cc thao tc sau: tt ngun Router, ch khong 5pht cho Router ngui v nhn Ctrl-Break trong vng 60 giy k t lc va bt ngun, mn hnh s xut hin: monitor: command "boot" aborted due to user interrupt rommon 1 > 3. Dng lnh confreg i ni dung thanh ghi sang 2142. rommon 1 >confreg 0x2142 !vi gi tr ny, khi reboot Router s b qua thng tin cu hnh tro RAM, v vy s khng yu cu nhp password khi login vo Router! 4. Khi ng li Router bng lnh reset. rommon 2 >reset 5. Sau khi reboot, dng Ctrl-C vo user mode: router> 6. Thc hin chp thng tin cu hnh ang tn ti trong NVRAM ln RAM sa i ni dung router>enable router#copy startup-config running-config !!! Ch nu thao tc ny lm sai c th s mt ht thng tin cu hnh trong NVRAM !!! router#show running-config !xem li thng tin cu hnh trn RAM c ging vi NVRAM cha! 7. t li password mi: r outer#config terminal router(config)#enable secret newpassword router(config)#enable password newpassword router(config)#line con 0 router(config-line)#password newpassword router(config-line)#login router(config)#line aux 0 router(config-line)#password newpassword router(config-line)#login router(config)#line vty 0 4 router(config-line)#password newpassword router(config-line)#login 8. Khi phc gi tr thanh ghi v 0x2102 router(config)#config-register 0x2102 router(config)#exit 9. Lu li thng tin mi vo NVRAM router#copy running-config startup-config 10. Kim tra ni dung thanh ghi router#show version Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-DO3S-M), Version 12.0(5)T1, RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 17-Aug-99 13:18 by cmong Image text-base: 0x80008088, data-base: 0x80CB67B0 ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) 1 FastEthernet/IEEE 802.3 interface(s) 2 Low-speed serial(sync/async) network interface(s) 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash (Read/Write) Configuration register is 0x2142 (will be 0x2102 at next reload) B. i vi Routers Cisco Series 2500: 1. Thit lp kt ni console t PC n Ruter, v m chng trnh HyperTerminal 2. Bt ngun Router ln v sau khi khi ng xong, Router s xut hin dng : Press RETURN to get started . V bn s nhn phm Enter, xut hin tip:

Password : Nhng bn khng th no login vo Router c v khng bit mt khu l g!!! V vy bn s thc hin cc thao tc sau: tt ngun Router, ch khong 5pht cho Router ngui v nhn Ctrl-Break trong vng 60 giy k t lc va bt ngun, mn hnh s xut hin: Abort at 0x10EA884 (PC) > 3. i ni dung thanh ghi thnh 0x2142 >o/r 0x2142 {o/r: ch o thng } 4. khi ng li router bng lnh init >i 5. Nhn Ctrl-C vo user mode khi router khi ng li router> 6. Thc hin chp thng tin cu hnh ang tn ti trong NVRAM ln RAM sa i ni dung router>enable router#copy startup-config running-config !!! Ch nu thao tc ny lm sai c th s mt ht thng tin cu hnh trong NVRAM !!! Sau thc hin tng t cc bc 7-8-9 trn. 10. Kim tra thanh ghi c gi tr l 2102 bng lnh show version router#show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-D-L), Version 12.0(4), RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1) 1 Ethernet/IEEE 802.3 interface(s) 2 Serial network interface(s) 1 ISDN Basic Rate interface(s) 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash (Read ONLY) Configuration register is 0x2142 (will be 0x2102 at next reload) * Qui trnh recovery password trong Router hon thnh, hy vng thng tin ny s gip ch c hc cc bn thnh cng! Trch bi vit Thy Qu Ly ------------------------Trung tm SAIGONLAB---------------------

You might also like