gdrocket 发表于 2018-7-11 08:06:01

cisco-tftp

  备份 cisco ISO
  开启本地的    X:\tftpserver\Cisco TFTP Server\Cisco TFTP Server.exe,当然这个交换机是可以连接的。
  以下是实例解析:
  internet-east-10#dir
  Directory of flash:/
  3-rwx      3736Jun 27 1993 09:42:24 +00:00config.text
  4-rwx       11536Jul 13 1993 04:35:23 +00:00vlan.dat
  5drwx         192   Mar 1 1993 00:18:36 +00:00c3750-ipservices-mz.122-25.SEB4
  363-rwx          27Jun 27 1993 09:42:24 +00:00private-config.text
  15998976 bytes total (7977472 bytes free)
  internet-east-10#dirc3750-ipservices-mz.122-25.SEB4
  Directory of flash:/c3750-ipservices-mz.122-25.SEB4/
  6-rwx   6405766   Mar 1 1993 00:17:37 +00:00c3750-ipservices-mz.122-25.SEB4.bin
  7drwx      4032   Mar 1 1993 00:18:05 +00:00html
  362-rwx         596   Mar 1 1993 00:18:36 +00:00info
  15998976 bytes total (7977472 bytes free)
  internet-east-10#copy flash tftp
  Source filename ?
  Address or name of remote host []? 192.168.7.98
  Destination filename ?
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  6405766 bytes copied in 63.561 secs (100781 bytes/sec)
  internet-east-10#
  备份、上传Cisco ISO文件
  一、 配置设备的管理地址
  conf    t
  interface vlan1
  ip add IP地址   掩码                     // 这个地址作为远程管理设备的地址
  exit
  ipdefault-gatewayIP地址      // 全局模式下,这个是网关地址
  二、备份现有设备的IOS和配置            (前提条件是你的pc上必须有tftpserver)
  dir                                                                     // 查看当前设备里面的ISO文件
  copy   flash   tftp                                          //备份设备上的ISO
  Source filename [ ]?      eg: 大厦东10层 c3750-ipservices-mz.122-25.SEB4/c3750-ipservices-mz.122-25.SEB4.bin                                                // 输入想要备份的文件名称,一般这个备份的都是一个后缀是bin的文件
  Address or name of remote host [ ]?   // 这个输入的是安装有tftpserver机器的IP地址
  Destination filename                              // 这是有点类似另存为中的更改文件名,就是文件存储在tftpserver上的名称一般保持默认
  三、 删除设备上现有的IOS
  由于考虑到设备的硬件flash大小,所以要把现有的IOS删除掉(也可以更改名称),以便新的IOS顺利上传到flash上来
  delete   xxx.bin      //删除设备的ISO文件
  dir                           // 查看,确认一下
  四、上传新的IOS到flash
  把新的IOS放在TFTP server的root目录下
  copytftp   flash                                                      //上传新的IOS
  Address or name of remote host []?                //输入tftpserver的IP地址
  Source filename [ ]?                                          //输入tftpserver根目录下的ISO文件名
  Destination filename ?         //保持和tftpserver根目录下的ISO文件名相同就行
  五、更改设备启动引导文件
  更改设备的系统引导文件,以便设备正常从新的IOS启动
  show boot                                  //查看设备当前的启动文件
  boot system flash:xxx.bin      // xxx.bin是刚才上穿的文件,这个是在全局模式下
  write                                        //保存当前的配置,在#模式
页: [1]
查看完整版本: cisco-tftp