0% found this document useful (0 votes)
107 views

4.13 - Lab - Manual - 13 - CN - CISCO IOS Backup and Recovery Using Packet Tracer

Uploaded by

Ahmad Abduhu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views

4.13 - Lab - Manual - 13 - CN - CISCO IOS Backup and Recovery Using Packet Tracer

Uploaded by

Ahmad Abduhu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Lab Manual/ CN-5th/ BSSE/ SE Dept.

/ UMT Lahore

Manual Lab # 13

In this lab we will perform some more network tasks like.


1. Implementation of CISCO IOS backup and recovery using Packet tracer
2. Taking backup of router by disaster recovery method.

Task-1:
 Implementation of CISCO Router IOS (Internetwork Operating System) backup and
recovery using Packet tracer
Scenario to implement:

In this scenario we will take backup of Router IOS. For this we will have to create TFTP
Server, so that we may store backup on this. Deploy topology as shown in above diagram.

Step 01: Assign Static IP address = 10.0.0.1 & Default gate way 10.0.0.10 to
Server Machine.

Step02: Configuration on Router ( Assign IP= 10.0.0.10 on fastethernet 0/0)

Router > enable


Router # configure terminal

Router(config)#interface fastEthernet 0/0


Page 1|5
Lab Manual/ CN-5th/ BSSE/ SE Dept./ UMT Lahore

Router(config-if)#ip address 10.0.0.10 255.0.0.0

Router(config-if)#exit
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)# ctrl+Z
Router#
Router#write
Building configuration...
[OK]

Step03: TO see IOS of Router :


Router# show version
An other way to check IOS : ( A file with extention .bin will be Router IOS file)

Router# show flash:

 Before Taking IOS Backup look at TFTP tab of server machine:


It will show multiple images files with .bin extension, but I want to create a file with
name suppose “ Nadeem” does not exist still in tftp server .

Step04-Taking IOS Backup:

Page 2|5
Lab Manual/ CN-5th/ BSSE/ SE Dept./ UMT Lahore

First copy that IOS file having extention .bin by right clicking on it.

Router # copy flash: tftp:


Source filename []? pt1000-i-mz.122-28.bin
Address or name of remote host []? 10.0.0.1
Destination filename [pt1000-i-mz.122-28.bin]? nadeem

Writing pt1000-i-mz.122-
28.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!
[OK - 5571584 bytes]

5571584 bytes copied in 0.352 secs (3626752 bytes/sec)


 It will create a file with name “nadeem” in TFTP server.
 Backup has been taken in tftp server.
 To restore this backup on Router there must be free space in this Router. Type the
show flash command again it will show : pt1000-i-mz.122-28.bin fle.
 To restore backup from TFTP server “Nadeem’ file already existing file : pt1000-i-
mz.122-28.bin need to delete. We call this method of restore as “DISASTER
RECOVERY “ method.

Task-02: To Delete Flash IOS ( intent ally) to do practice of Restore Backup, Command is:

Router #delete flash:


Delete filename []?pt1000-i-mz.122-28.bin
Delete flash:/pt1000-i-mz.122-28.bin? [confirm] y

%Error deleting flash:/pt1000-i-mz.122-28.bin (No such file or directory)

Proceed with reload? [confirm]

System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)


Copyright (c) 2000 by cisco Systems, Inc.
Initializing memory for ECC
..
c2811 processor with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled

Readonly ROMMON initialized

Boot process failed...

The system is unable to boot automatically. The BOOT


environment variable needs to be set to a bootable
image.

Page 3|5
Lab Manual/ CN-5th/ BSSE/ SE Dept./ UMT Lahore

rommon 1 > tftpdnld


Missing or illegal ip address for variable IP_ADDRESS
Illegal IP address.

usage: tftpdnld
Use this command for disaster recovery only to recover an image via
TFTP. Monitor variables are used to set up parameters for the transfer.
(Syntax: "VARIABLE_NAME=value" and use "set" to show current variables.)
"ctrl-c" or "break" stops the transfer before flash erase begins.

The following variables are REQUIRED to be set for tftpdnld:


IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch

The following variables are OPTIONAL:


TFTP_VERBOSE: Print setting. 0=quiet, 1=progress(default), 2=verbose
TFTP_RETRY_COUNT: Retry count for ARP and TFTP (default=7)
TFTP_TIMEOUT: Overall timeout of operation in seconds (default=7200)
TFTP_CHECKSUM: Perform checksum test on image, 0=no, 1=yes
(default=1)
FE_SPEED_MODE: 0=10/hdx, 1=10/fdx, 2=100/hdx, 3=100/fdx,
4=Auto(deflt)

rommon 2 > IP_ADDRES=10.0.0.10


rommon 3 > IP_SUBNET_MASK=255.0.0.0
rommon 4 > DEFAULT_GATEWAY=10.0.0.1
rommon 5 > TFTP_SERVER=10.0.0.1
rommon 69 > TFTP_FILE=nadeem
rommon 70 > tftpdnld

rommon 8 >reset

Page 4|5
Lab Manual/ CN-5th/ BSSE/ SE Dept./ UMT Lahore

Press enter it will show


Router> mode after restoration.
Now we can check new Flash IOS file with name “Nadeem’ By :
Router # show flash
System flash directory:
File Length Name/status
4 5571584 nadeem
[5571584 bytes used, 58444800 available, 64016384 total]
63488K bytes of processor board System flash (Read/Write)

END OF LAB-13

Page 5|5

You might also like