IOS Backup & Password Breaking Technique of Routers & Switches Chapter 17 powered by DJ 1.

Slides:



Advertisements
Similar presentations
Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
Advertisements

1 Passwords and Banners Cisco Devices Packet Tracer.
Cisco S2 C7 Router Operation System IOS. Routers Boot From Flash memory TFTP server ROM (not full Cisco IOS software) –Default depends on platform –Order.
CCNA2 MODULE 5.
CCNA 2 v3.1 Module 5.
Managing Cisco IOS Software
CCNA 2 v3.1 Module 2.
Chapter 9 Managing a Cisco Internetwork Cisco Router Components Bootstrap - Brings up the router during initialization POST - Checks basic functionality;
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
Sybex CCNA Chapter 7: Managing a Cisco Internetwork Instructor & Todd Lammle.
CISCO NETWORKING ACADEMY Chabot College ELEC Password Recovery.
1 © 2002, Cisco Systems, Inc. All rights reserved. Router boot procedure.
Cisco 2 - Routers Perrine & modified by Brierley Page 18/18/2015 Chapter 5 IOS Internet Operating System (IOS)
Ch. 5 – Managing Cisco IOS Software
1 Semester 2 Module 5 Managing Cisco IOS Software Yu da college of business James Chen
© 2004 Cisco Systems, Inc. All rights reserved. Managing Your Network Environment Managing Router Startup and Configuration INTRO v2.0—9-1.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software.
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 9: Managing a Cisco Internetwork.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software.
Chapter 5: Managing a Cisco Internetwork
Chap 5 Startup and Setup Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Instructor & Todd Lammle
1 Pertemuan 9 Switch Configuration. Discussion Topics Starting the Switch Configuring the Switch 2.
Page 110/19/2015 Chapter 5 CCNA2 Chapter 5 Managing Cisco IOS Software.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
1 Router Internal Components Console Auxiliary Interfaces RAMNVRAMFlashROM RAM - Packet buffers, running configurations, running IOS ROM - Rom Monitor,
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 5 Managing Cisco IOS Software.
Release 16/07/2009Jetking Infotrain Ltd. Basic Router Configuration Chapter 5.
By Joe Elkins Password Recovery for Cisco Routers (aka Breaking a Cisco Router)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Configure a Switch LAN Switching and Wireless – Chapter 2.
CCNA2 v3 Module 5 v3 CCNA 2 Module 5 JEOPARDY K. Martin.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 5 Managing Cisco IOS Software.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 5 Managing Cisco IOS Software.
Chapter 5 Managing a Cisco Internetwork
Routers and Routing Basics CCNA 2 Chapter 3 1.
Will learn to use router modes and configuration methods to update a router's configuration file with current and prior versions of Cisco Internetwork.
Introduction to Routers
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
IOS Internetwork Operating System. IOS modes and ROM monitor Router>EXEC mode Router#Priviledge mode Router(config)#Global config m Router(config-if)#Interface.
Chapter 7 & 8 IOS Images and Router Configuration
Cisco Router IOS M Clements. 20-Jan-16 IOS Version - choice and deployment 2 This week …… Cisco IOS versions IOS Features Choosing an IOS IOS upgrade.
Configuration Modes and TFTP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Configuring a Router MM Clements. Copyright This Week Command line interface Router configuration Modes for configuration Interface.
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
Router Startup and Setup & Router Configuration 1 Semester 2 Chapter 5/6 By: William Widulski.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 5 Managing Cisco IOS Software.
Cisco S2 C6 Router Configuration 1. Router Boot Up Router uses following from config-startup when it boots –Cisco IOS software version –Router identification.
Router Startup and Setup Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
1 Version 3.1 Module 5 Managing Cisco IOS Software.
1 21-Mar-16 Configuring and testing CCNA Exploration Semester 1 Chapter 11.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Cisco 2 - Routers Perrine. J Page 16/26/2016 Chapter 2 Cisco IOS Software Cisco’s operating system is called Cisco Internetwork Operating System (IOS)
Introduction to networking (Yarnfield) Configure a router.
Router Components & Configuration. Router Components & Configurations Topics Physical components Memory components Configuration modes Keystroke shortcuts.
Managing a Cisco Devices Internetwork
CIT 384: Network Administration
Semester 2 5/6 JEOPARDY CHAPTERS 5 & 6 REVIEW S2C06 Jeopardy Review.
Router Startup and Setup
Cisco S2 C5 Router Startup.
CHAPTER 7.
Instructor & Todd Lammle
Chapter 10: Device Discovery, Management, and Maintenance
Chapter 10: Device Discovery, Management, and Maintenance
Router Startup and Setup
Lecture9: Embedded Network Operating System: cisco IOS
Managing Cisco IOS Software
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

IOS Backup & Password Breaking Technique of Routers & Switches Chapter 17 powered by DJ 1

Chapter Objectives At the end of this Chapter you will be able to:  Manage system image  Configure device configuration files  Perform Disaster Recovery  Recover Cisco IOS from tftpdnld and xmodem commands  Break password of 2500, 2600, 2800 series Routers and also 1900 & 2950 series switches powered by DJ 2

The Cisco IOS File System  NOTE: The Cisco IOS File System (IFS) provides a single interface to all the file systems available on a routing device, including the flash memory file system; network file systems such as TFTP, Remote Copy Protocol (RCP), and File Transfer Protocol (FTP); and any other endpoint for reading and writing data, such as NVRAM, or the running configuration. powered by DJ 3

Commands Cisco IOS Software CommandsIFS Commands copy tftp running-configcopy tftp: system:running-config copy tftp startup-configcopy tftp: nvram:startup-config show startup-configmore nvram:startup-config erase startup-configerase nvram: copy running-config startup-config copy system:running-config nvram:startup-config copy running-config tftpcopy system:running-config tftp: show running-configmore system:running-config powered by DJ 4

Backing Up Configurations to a TFTP Server #copy running-config startup- config Saves the running configuration from DRAM to NVRAM (locally). #copy running-config tftp Copies the running configuration to the remote TFTP server. Address or name of remote host[ ]? The IP address of the TFTP server. Destination Filename [Denver- confg]? Enter The name to use for the file saved on the TFTP server. !!!!!!!!!!!!!!! Each bang symbol (!) = 1 datagram of data. 624 bytes copied in 7.05 secs # File has been transferred successfully. powered by DJ 5

Restoring Configurations from a TFTP Server #copy tftp running-config Copies the configuration file from the TFTP server to DRAM. Address or name of remote host[ ]? The IP address of the TFTP server. Source filename [ ]?Denver-confg Enter the name of the file you want to retrieve. Destination filename [running- config]? R Accessing tftp:// /Denverconfg … Loading Denver-confg from (via Fast Ethernet 0/0): [OK-624 bytes] 624 bytes copied in 9.45 secs !!!!!!!!!!!!!! #File has been transferred successfully. powered by DJ 6

Configuration Register & Password Recovery Procedure router#show version The last line of output tells you what the configuration register is set to. router#configure terminal Moves to global configuration mode. router(config)#config-register 0x2142 Changes the configuration register to powered by DJ 7

Register Value Bit Number HexadecimalMeaning 00–03 0x0000–0x000FBoot field 06 0x0040Ignore NVRAM contents 07 0x0080OEM bit enabled 08 0x0100Break disabled 09 0x0200 Causes system to use secondary bootstrap (typically not used). 10 0x0400IP broadcast with all 0s 5, 11, 12 0x0020, 0x0800, 0x1000 Console line speed 130x2000 Boots default ROM software if network boot fails. 140x4000IP broadcasts do not have net numbers. 150x8000 Enables diagnostic messages and ignores NVRAM powered by DJ 8

Password-Recovery Procedures for Cisco Routers Step2500 Series Commands1700/2600/ISR Series Commands Step 1: Boot the router and interrupt the boot sequence as soon as text appears on the screen. Press Ctrl-Break > Press Ctrl-Break rommon 1> Step 2: Change the configuration register to ignore contents of NVRAM. >o/r 0x2142 > rommon 1>confreg 0x2142 rommon 2> Step 3: Reload the router>irommon 2>reset Step 4: Enter privileged mode. (Do not enter setup mode.) Router>enable Router# Router>enable Router# Step 5: Copy the startup configuration into the running configuration. Router#copy startupconfig running-config … # Router#copy startupconfig running-config … # powered by DJ 9

Conti… Step 6: Change the password. #configure Terminal (config)#enable secret new (config)# #configure Terminal (config)#enable secret new (config)# Step 7: Reset the configuration register back to its default value. (config)#configregister 0x2102 (config)# (config)#configregister 0x2102 (config)# Step 8: Save the configuration. (config)#exit #copy runningconfig startup-config # (config)#exit #copy runningconfig startup-config # Step 9: Verify the configuration register. #show version … Configuration register is 0x2142 (will be 0x2102 at next reload) # #show version … … Configuration register is 0x2142 (will be 0x2102 at next reload) # Step 10: Reload the router.#reload powered by DJ 10

Password Recovery for 2960 Series Switches Unplug the power supply from the back of the switch. Press and hold the Mode button on the front of the switch. Plug the switch back in. Release the Mode button when the SYST LED blinks amber and then turns solid green. When you release the Mode button, the SYST LED blinks green. Issue the following commands: switch: flash_initInitializes the flash memory. switch: load_helper switch: dir flash:Do not forget the colon. This displays which files are in flash memory. switch: rename flash:config.text flash:config.old You are renaming the configuration file. The config.text file contains the password. switch: bootBoots the switch. powered by DJ 11

Conti.. When asked whether you want to enter the configuration dialog, enter n to exit out to the switch prompt. Takes you to user mode. switch>enableEnters privileged mode. switch#rename flash:config.old flash:config.text Renames the configuration file back to the original name. Destination filename [config.text]Press Enter switch#copy flash:config.text system:running-config Copies the configuration file into memory. 768 bytes copied in seconds 2960Switch#The configuration file is now reloaded. Notice the new prompt. 2960Switch#configure terminalEnters global configuration mode. 2960Switch(config)# Proceed to change the passwords as needed 2900Switch(config)#exit 2900Switch#copy running-config startupconfig Saves the configuration into NVRAM with new passwords. powered by DJ 12

THANK YOU powered by DJ 13