background image
394
Chapter 7
Managing a Cisco Internetwork
Hands-on Lab 7.1: Backing Up Your Router IOS
1.
Log into your router and go into privileged mode by typing en or
enable
.
2.
Make sure you can connect to the TFTP host that is on your network
by pinging the IP address from the router console.
3.
Type show flash to see the contents of flash memory.
4.
Type show version at the router privileged mode prompt to get the
name of the IOS currently running on the router. If there is only one file
in flash memory, the show flash and show version commands show
the same file. Remember that the show version command shows
you the file that is currently running, and the show flash command
shows you all of the files in flash memory.
5.
Once you know you have good Ethernet connectivity to the TFTP
host, and you also know the IOS filename, back up your IOS by
typing copy flash tftp. This command tells the router to copy the
contents of flash memory (this is where the IOS is stored by default)
to a TFTP host.
6.
Enter the IP address of the TFTP host and the source IOS filename.
The file is now copied and stored in the TFTP host's default directory.
Hands-on Lab 7.2: Upgrading or Restoring Your Router IOS
1.
Log into your router and go into privileged mode by typing en or
enable
.
2.
Make sure you can connect to the TFTP host by pinging the IP address
of the host from the router console.
3.
Once you know you have good Ethernet connectivity to the TFTP
host, issue the copy tftp flash command.
4.
Confirm that the router is not functioning during the restore or
upgrade by following the prompts provided on the router console.
5.
Enter the IP address of the TFTP host.
6.
Enter the IOS filename you want to restore or upgrade.
7.
Confirm that you understand that the contents of flash memory will
be erased.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com