好文档就是一把金锄头!
欢迎来到金锄头文库![会员中心]
电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

Packet Tracer 5.3实验(十六) 网络设备系统升级.doc

13页
  • 卖家[上传人]:野鹰
  • 文档编号:1131750
  • 上传时间:2017-05-29
  • 文档格式:DOC
  • 文档大小:425KB
  • / 13 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • Packet Tracer 5.3 实验 (十六)网络设备系统升级一、TFTP 简介TFTP(Trivial File Transfer Protocol,简单文件传输协议)是 TCP/IP 协议族中的一个用来在客户机与服务器之间进行简单文件传输的协议,提供不复杂、开销不大的文件传输服务TFTP 承载在 UDP 上,使用 69 号端口提供不可靠的数据流传输服务,不提供存取授权与认证机制,使用超时重传方式来保证数据的到达与 FTP 相 比,TFTP 的大小要小的多TFTP 与 FTP 的区别1、TFTP --简单文件传输协议,udp,69;2、FTP --文件传输协议,tcp,20,21 ;3、TFTP 传输速度比 FTP 快,但是相对没有 FTP 安全二、TFTP 实验环境一台装有 TFTP 服务器软件的电脑,交换机(或者路由器)设备,以太网线;三、TFTP 配置过程1. 配置主机、设备 ip 地址;2. 使用 copy 命令;四、下面将在模拟器中来看一下系统 bin 文件的 TFTP 备份过程1、拓扑图2、设置服务器的 IP 地址 192.168.1.2, 子网掩码 255.255.255.0;3、设置交换机的虚接口 IP 地址 192.168.1.1, 子网掩码 255.255.255.0;Switch>Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int vlan 1Switch(config-if)#ip add 192.168.1.1 255.255.255.0Switch(config-if)#no shut%LINK-5-CHANGED: Interface Vlan1, changed state to upSwitch(config-if)#4、显示交换机 flash 目录;Switch#dirDirectory of flash:/1 -rw- 3058048 c2950-i6q4l2-mz.121-22.EA4.bin64016384 bytes total (60958336 bytes free)Switch#说明:交换机里有一个名为“c2950-i6q4l2-mz.121-22.EA4.bin”的文件。

      5、在升级前先备份该文件;Switch#copy flash: tftp: //从 flash 中复制到 tftp 服务器中Source filename []?c2950-i6q4l2-mz.121-22.EA4.bin //要复制的源文件名Address or name of remote host []? 192.168.1.2 //目标服务器地址Destination filename [c2950-i6q4l2-mz.121-22.EA4.bin]? c2950.bin //目标文件名.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 3058048 bytes]3058048 bytes copied in 4.953 secs (617000 bytes/sec)6、下面到 TFTP 服务器上去看是否有了这个文件?进入服务器,单击配置,选择 TFTP,在右边的文件列表中可以看到 c2950.bin。

      说明文件已经写入 TFTP 服务器了7、现在要实现从 TFTP 服务器上传升级 bin 文件;1)首先在交换机上删除 c2950-i6q4l2-mz.121-22.EA4.bin 这个文件;Switch#delete c2950-i6q4l2-mz.121-22.EA4.binDelete filename [c2950-i6q4l2-mz.121-22.EA4.bin]? //回车Delete flash:/c2950-i6q4l2-mz.121-22.EA4.bin? [confirm] //回车Switch#dirDirectory of flash:/No files in directory64016384 bytes total (64016384 bytes free)Switch#交换机 flash 的目录中已经没有文件了在此,先将 bin 文件删除了请注意:在现实中如果空间足够的话,不要删除 bin 文件8、从 TFTP 服务器中下载升级文件;Switch#copy tftp: flash: //从 tftp 服务器到交换机 flashAddress or name of remote host []? 192.168.1.2 //源主机 IP 地址Source filename []? c2950.bin //源文件名称Destination filename [c2950.bin]? c2950-i6q4l2-mz.121-22.EA4.bin //目标文件名称Accessing tftp://192.168.1.2/c2950.bin....Loading c2950.bin from 192.168.1.2: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 3058048 bytes]3058048 bytes copied in 4.907 secs (623201 bytes/sec)下载完成9、使用 dir 显示文件Switch#dirDirectory of flash:/ 2 -rw- 3058048 c2950-i6q4l2-mz.121-22.EA4.bin64016384 bytes total (60958336 bytes free)Switch#说明:文件又下载到了交换机的 flash 中。

      10、在完成系统升级后,要 reload 重启系统;Switch#Switch#reloadProceed with reload? [confirm] //回车C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)Compiled Mon 22-Jul-02 18:57 by miwangCisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory.2950-24 starting...Base ethernet MAC Address: 0030.A35C.4165Xmodem file system is available.Initializing Flash...flashfs[0]: 1 files, 0 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 64016384flashfs[0]: Bytes used: 3058048flashfs[0]: Bytes available: 60958336flashfs[0]: flashfs fsck took 1 seconds....done Initializing Flash.Boot Sector Filesystem (bs:) installed, fsid: 3Parameter Block Filesystem (pb:) installed, fsid: 4Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"...########################################################################## [OK]Restricted Rights LegendUse, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS sec. 252.227-7013.cisco Systems, Inc.170 West Tasman DriveSan Jose, California 95134-1706Cisco Internetwork Operating System SoftwareIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)Copyright (c) 1986-2005 by cisco Systems, Inc.Compiled Wed 18-May-05 22:31 by jharirbaCisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory.Processor board ID FHK0610Z0WCRunning Standard Image24 FastEthernet/IEEE 802.3 interface(s)63488K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Address: 0030.A35C.4165Motherboard assembly number: 73-5781-09 Power supply part number: 34-0965-01Motherboard serial number: FOC061004SZPower supply serial number: DAB0609127DModel revision number: C0Motherboard revision number: A0Model number: WS-C2950-24System serial number: FHK0610Z0WCCisco Internetwork Operating System SoftwareIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)Copyright (c) 1986-2005 by cisco Systems, In。

      点击阅读更多内容
      关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
      手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
      ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.