SlideShare a Scribd company logo
Password Recovery
www.netprotocolxpert.in
Step-by-Step Procedure
Step 1.
 Either switch off or shut down the router.
Step 2.
 Remove the compact flash that is on the rear of the router. This image shows the rear of the 2951
router:
Step 3
 Switch on the router.
Step 4
 Once the router is on Rommon mode, reinsert the compact flash.
Step 5
 Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash.
 This step bypasses the startup configuration where the passwords are stored.
Step 6
 Type reset at the rommon 2> prompt.
 The router reboots, but ignores the saved configuration.
Step 7
 Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure.
Step 8
 Type enable at the Router> prompt.
 You are in enable mode and should see the Router# prompt.
Step 9
 Type configure memory or copy startup-config running-config in order to copy the nonvolatile
RAM (NVRAM) into memory.
 warning Warning: Do not enter copy running-config startup-config or write. These commands
erase your startup configuration.
Step 10
 Issue the show running-config command.
 The show running-config command shows the configuration of the router. In this configuration,
the shutdown command appears under all interfaces, which indicates all interfaces are currently
shut down. In addition, the passwords (enable password, enable secret, vty, and console
are in either an encrypted or unencrypted format. You can reuse unencrypted passwords. You
change encrypted passwords to a new password.
Step 11
 Type configure terminal.
 The hostname(config)# prompt appears.
Step 12
 Type enable secret <password> in order to change the enable secret password.
 For example: hostname(config)#enable secret cisco
Step 13
 Issue the no shutdown command on every interface that you use.
 If you issue a show ip interface brief command, every interface that you want to use should
display up up.
Step 14
 Type config-register <configuration_register_setting> . Where <configuration_register_setting> is
either the value you recorded in step 2 or 0x2102 .
 For example: hostname(config)#config-register 0x2102
Step 15
 Press Ctrl-z or end in order to leave the configuration mode.
 The hostname# prompt appears.
Step 16
 Type write memory or copy running-config startup-config in order to commit the changes.
Example
This section provides
an example of the
password recovery
procedure. This
example was created
with a Cisco 2900
Series ISR. Even if you
do not use a Cisco
2900 Series ISR, this
output provides an
example of what you
should experience on
your product.
Password Recovery
Password Recovery
Execute Steps 1 through 4
from Step-by-Step
Procedure
Password Recovery
Password Recovery
Password Recovery
Password Recovery
Password Recovery
Password Recovery
Password Recovery
Password Recovery
Note: In order to recover your password when password recovery functionality is disabled, refer to
the Recovering a Device section of No Service Password-Recovery.
Follow us @
 www.facebook.com/NetProtocolXpert
 www.instagram.com/netprotocol_xpert
 plus.google.com/collection/k8HMDB
 twitter.com/NPX_cisco
 www.linkedin.com/company/netprotocol-xpert
 netprotocolxpert.blogspot.in
 remote.com/netprotocolxpert
 www.netprotocolxpert.in
21

More Related Content

PPTX
Subnetting
PPT
Shared memory
PPTX
VPC PPT @NETWORKERSHOME
PPT
Chapter 20: Internet Protocol
PDF
Introduction of dmvpn
PDF
CCNAv5 - S4: Chapter 9 troubleshooting the network
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 6
PPTX
Introduction to raspberry pi
Subnetting
Shared memory
VPC PPT @NETWORKERSHOME
Chapter 20: Internet Protocol
Introduction of dmvpn
CCNAv5 - S4: Chapter 9 troubleshooting the network
CCNA 2 Routing and Switching v5.0 Chapter 6
Introduction to raspberry pi

What's hot (20)

PPTX
Linux Kernel Programming
PDF
CCNAv5 - S1: Chapter 2 - Configuring a network operating system
PDF
CCNAv5 - S2: Chapter4 Routing Concepts
PDF
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
PDF
Modul One Day Workshop Proxmox Automation With Ansible
PPTX
CCNA2 Verson6 Chapter1
PPTX
Chapter 17 : static routing
PPTX
OSI reference model
DOCX
Packet tracer practical guide
ODP
C I D R
PPT
BGP protocol presentation
PDF
Interrupts
PDF
Ether channel fundamentals
PPTX
Subnetting made simple
PPT
Distributed Operating System
PDF
Sentralisasi Hotspot Mikrotik Berbasis EoIP over PPTP
PPT
Ipmi Server Management
PPT
CCNA Basic Switching and Switch Configuration
PPTX
System Booting Process overview
PPT
Intro-network layer-chapter-18_forouzan.ppt
Linux Kernel Programming
CCNAv5 - S1: Chapter 2 - Configuring a network operating system
CCNAv5 - S2: Chapter4 Routing Concepts
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Modul One Day Workshop Proxmox Automation With Ansible
CCNA2 Verson6 Chapter1
Chapter 17 : static routing
OSI reference model
Packet tracer practical guide
C I D R
BGP protocol presentation
Interrupts
Ether channel fundamentals
Subnetting made simple
Distributed Operating System
Sentralisasi Hotspot Mikrotik Berbasis EoIP over PPTP
Ipmi Server Management
CCNA Basic Switching and Switch Configuration
System Booting Process overview
Intro-network layer-chapter-18_forouzan.ppt
Ad

Viewers also liked (6)

PPTX
Application & Data Center
PPTX
Dynamic ARP Inspection (DAI)
PPTX
Cisco ISR 4351 Router
PPTX
Cisco ASR 1001-X Router
PPTX
MPLS Layer 3 VPN
PPTX
DHCP Snooping
Application & Data Center
Dynamic ARP Inspection (DAI)
Cisco ISR 4351 Router
Cisco ASR 1001-X Router
MPLS Layer 3 VPN
DHCP Snooping
Ad

Similar to Password Recovery (20)

DOC
Configuring the cisco switch with the cli based setup program
PDF
Router and switch basics configuration
PDF
Ccna cheat sheet
PDF
Cisco CCENT Cram Notes
PDF
CCNA CheatSheet
PDF
0.0.0.1 lab initializing and reloading a router and switch - ilm
DOCX
Configuring a cisco 2901 router
PPTX
Manejo de redes
PPTX
Basic switching concepts and configuration
PDF
12040 pswdrec-2900xl
DOCX
How to recover password on the cisco catalyst fixed configuration layer 2&lay...
PPTX
How to Configure Port-Security on Cisco Switch for Enhanced Network Security ...
PPT
cisco Network Associates Notes +++++++++
PPT
4040187-Ccna-Notes.pptslide share scam side
PPT
4040187-Ccna-Notes.pptnotew for all users
PDF
Cisco labs practical2
PDF
Rout passrecov
PDF
CCNA Lab 1-Configuring a Switch Part I
PDF
Drv10 lab3 pf755_pcam
DOCX
Cisco router configuration tutorial
Configuring the cisco switch with the cli based setup program
Router and switch basics configuration
Ccna cheat sheet
Cisco CCENT Cram Notes
CCNA CheatSheet
0.0.0.1 lab initializing and reloading a router and switch - ilm
Configuring a cisco 2901 router
Manejo de redes
Basic switching concepts and configuration
12040 pswdrec-2900xl
How to recover password on the cisco catalyst fixed configuration layer 2&lay...
How to Configure Port-Security on Cisco Switch for Enhanced Network Security ...
cisco Network Associates Notes +++++++++
4040187-Ccna-Notes.pptslide share scam side
4040187-Ccna-Notes.pptnotew for all users
Cisco labs practical2
Rout passrecov
CCNA Lab 1-Configuring a Switch Part I
Drv10 lab3 pf755_pcam
Cisco router configuration tutorial

More from NetProtocol Xpert (20)

PPTX
Basic Cisco ASA 5506-x Configuration (Firepower)
PPTX
Common Layer 2 Threats, Attacks & Mitigation
PPTX
Storm-Control
PPTX
IP Source Guard
PPTX
Securing management, control & data plane
PPTX
Point to-point protocol (ppp), PAP & CHAP
PPTX
Avoid DNS lookup when mistyping a command
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
PPTX
Private VLANs
PPTX
MTU (maximum transmission unit) & MRU (maximum receive unit)
PPTX
OTV Configuration
PPTX
Cisco OTV 
PPTX
OTV(Overlay Transport Virtualization)
PPTX
Regular expression examples
PPTX
Eigrp is restricted to stub connections
PPTX
Converting ipv4 to ipv6 and vice versa
PPTX
Password recovery cisco catalyst 3850
PPTX
Cisco 2960x switch password recovery
PPTX
VMware ESXi 6.0 Installation Process
PPTX
EtherChannel Configuration
Basic Cisco ASA 5506-x Configuration (Firepower)
Common Layer 2 Threats, Attacks & Mitigation
Storm-Control
IP Source Guard
Securing management, control & data plane
Point to-point protocol (ppp), PAP & CHAP
Avoid DNS lookup when mistyping a command
TCLSH and Macro Ping Test on Cisco Routers and Switches
Private VLANs
MTU (maximum transmission unit) & MRU (maximum receive unit)
OTV Configuration
Cisco OTV 
OTV(Overlay Transport Virtualization)
Regular expression examples
Eigrp is restricted to stub connections
Converting ipv4 to ipv6 and vice versa
Password recovery cisco catalyst 3850
Cisco 2960x switch password recovery
VMware ESXi 6.0 Installation Process
EtherChannel Configuration

Recently uploaded (20)

PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Geodesy 1.pptx...............................................
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPT
Project quality management in manufacturing
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
DOCX
573137875-Attendance-Management-System-original
PPT
Mechanical Engineering MATERIALS Selection
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
composite construction of structures.pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Digital Logic Computer Design lecture notes
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
web development for engineering and engineering
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Geodesy 1.pptx...............................................
Lecture Notes Electrical Wiring System Components
Foundation to blockchain - A guide to Blockchain Tech
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Project quality management in manufacturing
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
573137875-Attendance-Management-System-original
Mechanical Engineering MATERIALS Selection
UNIT 4 Total Quality Management .pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
composite construction of structures.pdf
Operating System & Kernel Study Guide-1 - converted.pdf
OOP with Java - Java Introduction (Basics)
Digital Logic Computer Design lecture notes
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
web development for engineering and engineering

Password Recovery

  • 2. Step-by-Step Procedure Step 1.  Either switch off or shut down the router. Step 2.  Remove the compact flash that is on the rear of the router. This image shows the rear of the 2951 router:
  • 3. Step 3  Switch on the router. Step 4  Once the router is on Rommon mode, reinsert the compact flash. Step 5  Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash.  This step bypasses the startup configuration where the passwords are stored. Step 6  Type reset at the rommon 2> prompt.  The router reboots, but ignores the saved configuration.
  • 4. Step 7  Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure. Step 8  Type enable at the Router> prompt.  You are in enable mode and should see the Router# prompt. Step 9  Type configure memory or copy startup-config running-config in order to copy the nonvolatile RAM (NVRAM) into memory.  warning Warning: Do not enter copy running-config startup-config or write. These commands erase your startup configuration.
  • 5. Step 10  Issue the show running-config command.  The show running-config command shows the configuration of the router. In this configuration, the shutdown command appears under all interfaces, which indicates all interfaces are currently shut down. In addition, the passwords (enable password, enable secret, vty, and console are in either an encrypted or unencrypted format. You can reuse unencrypted passwords. You change encrypted passwords to a new password. Step 11  Type configure terminal.  The hostname(config)# prompt appears.
  • 6. Step 12  Type enable secret <password> in order to change the enable secret password.  For example: hostname(config)#enable secret cisco Step 13  Issue the no shutdown command on every interface that you use.  If you issue a show ip interface brief command, every interface that you want to use should display up up. Step 14  Type config-register <configuration_register_setting> . Where <configuration_register_setting> is either the value you recorded in step 2 or 0x2102 .  For example: hostname(config)#config-register 0x2102
  • 7. Step 15  Press Ctrl-z or end in order to leave the configuration mode.  The hostname# prompt appears. Step 16  Type write memory or copy running-config startup-config in order to commit the changes.
  • 8. Example This section provides an example of the password recovery procedure. This example was created with a Cisco 2900 Series ISR. Even if you do not use a Cisco 2900 Series ISR, this output provides an example of what you should experience on your product.
  • 11. Execute Steps 1 through 4 from Step-by-Step Procedure
  • 20. Note: In order to recover your password when password recovery functionality is disabled, refer to the Recovering a Device section of No Service Password-Recovery.
  • 21. Follow us @  www.facebook.com/NetProtocolXpert  www.instagram.com/netprotocol_xpert  plus.google.com/collection/k8HMDB  twitter.com/NPX_cisco  www.linkedin.com/company/netprotocol-xpert  netprotocolxpert.blogspot.in  remote.com/netprotocolxpert  www.netprotocolxpert.in 21