Day12-1 Password_recovery

advertisement
Console Connectivity
RJ-45
Connector
Console Port
Rollover
Cable
RJ-45 to DB-9
Converter
Computer
Console Connectivity
•
Connect a rollover cable to the router console port
(RJ-45 connector).
•
Connect the other end of the rollover cable to the RJ45 to DB-9 converter
•
Attach the female DB-9 converter to a PC Serial Port.
•
Open emulation software on the PC.
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.
Console Connectivity
Con 0
E0
LAN - 192.168.1.0/24
abc
System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 2048 Kbytes of main memory
> o/r 0x2142
: ROM Monitor Mode :
>i
If it is Reload
Fixed Router
00:01:48: %SYS-5-RELOAD:
requested
> o/r 0x2142
>i
If it is Modular Router
ROMMON> confreg 0x2142
ROMMON> reset
System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 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 is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS(tm) 2500 Software(C2500-P-L),Version 12.1(24),RELEASE SOFTWARE(fc1
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Mon 30-Sep-02 20:43 by srani
Image 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 00000001
X.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
Press RETURN to get started!
00:00:20: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
00:00:20: %LINK-3-UPDOWN: Interface Serial0, changed state to down
00:00:20: %LINK-3-UPDOWN: Interface Serial1, changed state to down
00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Ethernet0, changed state to up
00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to down
00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to down
00:12:43: %LINK-5-CHANGED: Interface Ethernet0, changed state to
administratively down
00:12:43: %LINK-5-CHANGED: Interface Serial0, changed state to
administratively down
00:12:43: %LINK-5-CHANGED: Interface Serial1, changed state to
administratively down
00:12:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Ethernet0, changed state to down
00:12:46: %SYS-5-RESTART: System restarted
Cisco Internetwork Operating System Software
IOS(tm) 2500 Software(C2500-P-L),Version 12.0(24),RELEASE SOFTWARE(fc1
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Mon 30-Sep-02 20:43 by srani
Router> enable
Router# show running-config
Building configuration .....
Current configuration:
version 12.1
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname Router
!
no ip routing
!
interface Ethernet0
no ip address
--More--
shutdown
!
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
no ip classless
!
line vty 0
line con 0
line aux 0
!
end
Router#
Router#
Router#
Hyderabad# show startup-config
Building configuration .....
Current configuration:
!
version 12.1
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname Hyderabad
!
enable secret 5 $1$60nw$8XzAJ445GBzx1mgYJTUjo1
enable password cisco
!
interface Ethernet0
ip address 192.168.1.150 255.255.255.0
!
interface Serial0
no ip address
shutdown
--More--
interface Serial1
no ip address
shutdown
!
no ip classless
!
line con 0
login
password ccna
line aux 0
login
password cisco
line vty 0 4
login
password zoom
!
end
Hyderabad#
Hyderabad#
Hyderabad#
Router# show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L),Version 12.1(17),RELEASE SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 04-Jan-99 17:27 by ashah
Image text-base: 0x03040148, data-base: 0x00001000
ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)
Hyderabad uptime is 14 minutes
System restarted by power-on
System image file is "flash:/c2500-ipx-ip.bin", booted via flash
Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memo
Processor board ID 11169613, with hardware revision 00000001
X.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--
ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)
Hyderabad uptime is 1 hour, 28 minutes
System restarted by power-on
System image file is "flash:/c2500-ipx-ip.bin", booted via flash
Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memo
Processor board ID 11169613, with hardware revision 00000001
X.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#
Router# copy startup-config running-config
Building configuration.....
[OK]
Hyderabad# configure terminal
Enter configuration commands, one per line.
Hyderabad(config)# interface Ethernet 0
Hyderabad(config-if)# no shut
Hyderabad(config-if)# exit
Hyderabad(config)# enable secret zoom
Hyderabad(config)# config-register 0x2102
Hyderabad(config)# ^Z
Hyderabad# write
Building configuration.....
[OK]
Hyderabad#
End with CNTL/Z.
Hyderabad# show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L),Version 12.1(17),RELEASE SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 04-Jan-99 17:27 by ashah
Image text-base: 0x03040148, data-base: 0x00001000
ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)
Hyderabad uptime is 14 minutes
System restarted by power-on
System image file is "flash:/c2500-ipx-ip.bin", booted via flash
Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memo
Processor board ID 11169613, with hardware revision 00000001
X.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--
ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)
Hyderabad uptime is 1 hour, 28 minutes
System restarted by power-on
System image file is "flash:/c2500-ipx-ip.bin", booted via flash
Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memo
Processor board ID 11169613, with hardware revision 00000001
X.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
Download