0% found this document useful (0 votes)
50 views14 pages

IOS, Password Recovery

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views14 pages

IOS, Password Recovery

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

IOS Recovery: Boot Sequence

POST

Bootstrap

Find & load IOS

Find & load configuration


IOS Recovery: Router Componenets
IOS Recovery: Router Componenets

POST CPU
Bootstrap
startup-
ROM RAM FLASH
IOS NVRAM
config
Mini IOS
Console
Interface
Auxilary
IOS Recovery: Setup Mode

cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes


of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
2 FastEthernet/IEEE 802.3 interface(s)
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 06:21 by pt_rel_team

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no


IOS Recovery: Load IOS

FLASH Router>

Mini
ROM
IOS
rommon>

RAM

NVRAM
IOS Recovery: Mini IOS

f0/0 10.0.0.1 /8 10.0.0.2 tftp


NVRAM server
f0/1
Out of room
Rommon> FE_PORT=0
Rommon> IP_ADDRESS=10.0.0.1
Rommon> IP_SUBNET_MASK=255.0.0.0
Rommon> DEFAULT_GATEWAY=10.0.0.2
Rommon> TFTP_SERVER=10.0.0.2
Rommon> TFTP_FILE=c2600-is-mz.113-3.0.3.0.bin
Rommon> sync
Rommon> tftpdnld
Rommon> dir flash:
Rommon> reset
Password Recovery: Load Configure

FLASH
cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes
of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
2 FastEthernet/IEEE 802.3 interface(s)
ROM
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
CopyrightRAM
(c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 06:21 by pt_rel_team

--- System Configuration Dialog ---


NVRAM
Continue with configuration dialog? [yes/no]:
Password Recovery: Configuration Register

FLASH

POST
ROM Bootrap

RAM

startup-config
NVRAM Configuration
0x2102Register
Password Recovery: Load Configure (config-register)

0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0
2 01 x 2 1 0 02 2
Decimal Hexadecimal Binary
0 0 0 0 0 0
1 1 0 0 0 1
2 2 0 0 1 0
3 3 0 0 1 1
4 4 0 1 0 0
5 5 0 1 0 1
6 6 0 1 1 0
7 7 0 1 1 1
8 8 1 0 0 0
9 9 1 0 0 1
10 A 1 0 1 0
11 B 1 0 1 1
12 C 1 1 0 0
13 D 1 1 0 1
14 E 1 1 1 0
15
© 2007 Cisco Systems, Inc. All rights reserved.
F 1 1 1 1 ICND2 v1.0—7-11
Rommon> confreg 0x2142
Rommon> reset
Router(config)# config-register 0x2142
Router# show version
...
Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version
12.4(5a), RELEASE SOFTWARE (fc3)

ROM: System Bootstrap, Version 12.4(1r) [hqluong 1r], RELEASE


SOFTWARE (fc1)

RouterX uptime is 1 week, 5 days, 21 hours, 30 minutes


System returned to ROM by reload at 23:04:40 UTC Tue Mar 13 2007
System image file is "flash:c2800nm-ipbase-mz.124-5a.bin"

Cisco 2811 (revision 53.51) with 251904K/10240K bytes of memory.


Processor board ID FTX1013A1DJ
2 FastEthernet interfaces
2 Serial(sync/async) interfaces
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102 (will be 2142 at next reload)


Password Recovery: Rommon>

1. Power Off

2. Power On

3. Ctrl + Break
Rommon> confreg 0x2142
Rommon> reset
cisco 2811 (MPC860) processor (revision 0x200) with
60416K/5120K bytes of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
2 FastEthernet/IEEE 802.3 interface(s)
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M),
Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 06:21 by pt_rel_team

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no


Router> enable
Route# show startup-config
Route# copy startup-config running-config

You might also like