2.7 实验6:备份和升级IOS软件
本章开始时己经提到,备份和升级是两个方向相反的过程。依照通常的约定,备份是指从网络设备向TFTP服务器中复制软件,而升级是指从TFTP服务器向网络设备复制软件。
本节通过实验演示对Cisco路由器的IOS软件映像文件进行备份和升级。
1.实验目的
通过本实验,读者可以掌握以下技能:
备份IOS软件;
升级IOS软件,
熟练使用TFTP服务器软件。
2.设备需求与线缆连接要求
本实验所需设备、线缆连接及IP地址设置与实验5完全相同,请参照实验5的有关图示及说明进行准备。
3.实验配置及监测结果
在与实验5的相同的实验环境中,开始本实验。
相信读者在完成了实验5的操作以后,可以轻松地进行本实验;它们的操作是相似的。
首先启动Cisco TFTP Server,并把TFTP server root指定到目录"D:LCCNA LAB\IOS"下,保持其开启状态。
监测清单2-7备份和升级IOS映像的实验操作过程记录。
监测清单2-7备份和升级IOS映像
Router#sh flash
System flash directory:
File Length Name/status
1 c2501-d-1,121-8a.mz
[4289668 bytes used, 4098940 available, 8388608 total]
8192K bytes of processor board System flash (Read/Write)
Router#copy flash tftp
Source filename []? c2500-d-1.121-8a.mz
Address or name of remote host []? 172.16.162.58
Destination filename [c2500-d-1.121-8a.mz]? (按回车键确认)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!
4289602 bytes copied m 62.320 secs (69187 bytes/sec)
Router#
Router#copy tftp flash
Address or name of remote host []? 172.16.16258
Source filename []? c2500-d-1.121-8a.mz
Destination filename [c2500-d-1.121-8a.mz]? (按回车键确认)
%Waming:There is a file already existing with this name
Do you want to over write? [confirm] (按回车键确认)
Accessing tftp://172.16.162.58/c2500-d-1.121-8a.mz...
Erase flash: befeor copying?[confirm] (按回车键确认)
Erasing the flash filesystem will remove all files! Continue? [confirm] (按回车键确认)
Erasing.device...eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...erased
Erase of flash:complete
Loading c2500-d-1.121-8a.mz from 172.16.162.58(via
Ethernet0):!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!