password recovery

31
1

Upload: kishore-kumar

Post on 10-Jun-2015

413 views

Category:

Education


0 download

DESCRIPTION

This study guide is intended to provide those pursuing the CCNA certification with a framework of what concepts need to be studied. This is not a comprehensive document containing all the secrets of the CCNA, nor is it a “braindump” of questions and answers. I sincerely hope that this document provides some assistance and clarity in your studies.

TRANSCRIPT

Page 1: Password Recovery

1

Page 2: Password Recovery

2

Console Connectivity

RJ-45 Connector

Console Port

ComputerRollover Cable

RJ-45 to DB-9Converter

Page 3: Password Recovery

3

Console Connectivity

• Connect a rollover cable to the router console port (RJ-45 connector).

• Connect the other end of the rollover cable to the RJ-45 to DB-9 converter

• Attach the female DB-9 converter to a PC Serial Port.

• Open emulation software on the PC.

Page 4: Password Recovery

4

Emulation Software

WINDOWS

• Start Programs Accessories Communications HyperTerminal HyperTerminal.

• Give the Connection Name & Select Any Icon

• Select Serial (Com) Port where Router is Connected.

• In Port Settings Click on Restore Defaults

• Switch on the Router and press Ctrl+Break within 60 seconds to go into Router ROMMON mode.

LINUX

• # minicom –s

• Switch on the Router and press Ctrl+A, Z and F within 60 seconds to go into Router ROMMON mode.

Page 5: Password Recovery

5

Console Connectivity

E0

LAN - 192.168.1.0/24

Con 0

Page 6: Password Recovery

6

Page 7: Password Recovery

7

Page 8: Password Recovery

8

Page 9: Password Recovery

9

Page 10: Password Recovery

10

Page 11: Password Recovery

11

Page 12: Password Recovery

12

Page 13: Password Recovery

13

abc

Page 14: Password Recovery

14

Page 15: Password Recovery

15

Page 16: Password Recovery

16

Page 17: Password Recovery

17

Page 18: Password Recovery

18

Page 19: Password Recovery

19

System Bootstrap, Version 11.0(10c), SOFTWARECopyright (c) 1986-1996 by cisco Systems2500 processor with 2048 Kbytes of main memory

> o/r 0x2142> i00:01:48: %SYS-5-RELOAD: Reload requested

: ROM Monitor Mode :If it is Fixed Router

> o/r 0x2142> i

If it is Modular Router ROMMON> confreg 0x2142ROMMON> reset

: ROM Monitor Mode :If it is Fixed Router

> o/r 0x2142> i

If it is Modular Router ROMMON> confreg 0x2142ROMMON> reset

Page 20: Password Recovery

20

System Bootstrap, Version 11.0(10c), SOFTWARECopyright (c) 1986-1996 by cisco Systems2500 processor with 2048 Kbytes of main memory

Notice: NVRAM invalid, possibly due to write erase.F3: 5575260+78596+410108 at 0x3000060

Restricted Rights Legend

Use, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS sec. 252.227-7013.

Cisco Systems, Inc. 170 West Tasman DriveSan Jose, California 95134-1706

Page 21: Password Recovery

21

Cisco Internetwork Operating System Software IOS(tm) 2500 Software(C2500-P-L),Version 12.1(24),RELEASE SOFTWARE(fc1Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Mon 30-Sep-02 20:43 by sraniImage text-base: 0x0302EA54, data-base: 0x00001000

Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memory.Processor board ID 11169613, with hardware revision 00000001X.25 software, Version 3.0.0.Basic Rate ISDN software, Version 1.1.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)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n

Page 22: Password Recovery

22

Press RETURN to get started!00:00:20: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up00:00:20: %LINK-3-UPDOWN: Interface Serial0, changed state to down00:00:20: %LINK-3-UPDOWN: Interface Serial1, changed state to down00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down00:12:43: %LINK-5-CHANGED: Interface Ethernet0, changed state to administratively down00:12:43: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down00:12:43: %LINK-5-CHANGED: Interface Serial1, changed state to administratively down00:12:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to down00:12:46: %SYS-5-RESTART: System restarted

Page 23: Password Recovery

23

Cisco Internetwork Operating System Software IOS(tm) 2500 Software(C2500-P-L),Version 12.0(24),RELEASE SOFTWARE(fc1Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Mon 30-Sep-02 20:43 by sraniRouter>enableRouter# show running-config

Current configuration:version 12.1no service password-encryptionno service udp-small-serversno service tcp-small-servers!hostname Router!no ip routing!interface Ethernet0 no ip address--More--

Building configuration .....

Page 24: Password Recovery

24

shutdown!interface Serial0 no ip addressshutdown!interface Serial1 no ip addressshutdown!no ip classless!line vty 0line con 0line aux 0!end

Router#Router#Router#

Page 25: Password Recovery

25

Current configuration:!version 12.1no service password-encryptionno service udp-small-serversno service tcp-small-servers!hostname Hyderabad!enable secret 5 $1$60nw$8XzAJ445GBzx1mgYJTUjo1enable password cisco!interface Ethernet0 ip address 192.168.1.150 255.255.255.0!interface Serial0 no ip addressshutdown--More--

.....Building configurationHyderabad# show startup-config

Page 26: Password Recovery

26

interface Serial1 no ip addressshutdown!no ip classless!line con 0 login password ccnaline aux 0 login password ciscoline vty 0 4 login password zoom!endHyderabad#Hyderabad#Hyderabad#

Page 27: Password Recovery

27

Router#Cisco Internetwork Operating System SoftwareIOS (tm) 2500 Software (C2500-JS-L),Version 12.1(17),RELEASE SOFTWARECopyright (c) 1986-1999 by cisco Systems, Inc.Compiled Mon 04-Jan-99 17:27 by ashahImage text-base: 0x03040148, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)Hyderabad uptime is 14 minutesSystem restarted by power-onSystem image file is "flash:/c2500-ipx-ip.bin", booted via flash

Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memoProcessor board ID 11169613, with hardware revision 00000001X.25 software, Version 3.0.0.Basic Rate ISDN software, Version 1.1.1 Ethernet/IEEE 802.3 interface(s)2 Serial network interface(s)1 ISDN Basic Rate interface(s)--More--

show version

Page 28: Password Recovery

28

ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)

Hyderabad uptime is 1 hour, 28 minutesSystem restarted by power-onSystem image file is "flash:/c2500-ipx-ip.bin", booted via flash

Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memoProcessor board ID 11169613, with hardware revision 00000001X.25 software, Version 3.0.0.Basic Rate ISDN software, Version 1.1.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

Router#

Page 29: Password Recovery

29

copy startup-config running-config

Hyderabad# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)# interface Ethernet 0Hyderabad(config-if)# no shut

Hyderabad(config)# enable secret zoom

Router#

Hyderabad(config)# config-register 0x2102Hyderabad(config)# ^Z

Building configuration.....

[OK]

Hyderabad# write

Hyderabad#

Hyderabad(config-if)# exit

Building configuration.....

[OK]

Page 30: Password Recovery

30

Hyderabad#Cisco Internetwork Operating System SoftwareIOS (tm) 2500 Software (C2500-JS-L),Version 12.1(17),RELEASE SOFTWARECopyright (c) 1986-1999 by cisco Systems, Inc.Compiled Mon 04-Jan-99 17:27 by ashahImage text-base: 0x03040148, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)Hyderabad uptime is 14 minutesSystem restarted by power-onSystem image file is "flash:/c2500-ipx-ip.bin", booted via flash

Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memoProcessor board ID 11169613, with hardware revision 00000001X.25 software, Version 3.0.0.Basic Rate ISDN software, Version 1.1.1 Ethernet/IEEE 802.3 interface(s)2 Serial network interface(s)1 ISDN Basic Rate interface(s)--More--

show version

Page 31: Password Recovery

31

ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)

Hyderabad uptime is 1 hour, 28 minutesSystem restarted by power-onSystem image file is "flash:/c2500-ipx-ip.bin", booted via flash

Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memoProcessor board ID 11169613, with hardware revision 00000001X.25 software, Version 3.0.0.Basic Rate ISDN software, Version 1.1.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) Hyderabad# reload