恢复误删除的交换机flash

 时间:2026-05-07 06:43:42

1、以 Cisco3550为例,先从好的交换机里导出bin文件,设置计算机的

IP地址为192.168.1.1          (与tftp服务器IP地址同网段)

网关地址192.168.1.254      (设置tftp服务器IP地址)

在secretCRT的选项中

Transfer>start TFTP server

Options>Session options    

在选项X/Y/Zmodem里设置upload和download地址(TFTP服务器存储文件用)

在好的交换机中

switch>enable

switch#show version

可以查看到flash:c3550-i9q3l2-mz.121-13.EA1a\c3550-i9q3l2-mz.121-13.EA1a.bin 

switch#conf t

switch(config)#int vlan1

switch(config-if)#ip address 192.168.1.2 255.255.255.0     (与tftp服务器IP地址同网段)

switch(config-if)#exit

switch(config)#ip default-gateway 192.168.1.254    (tftp服务器IP地址)

switch(config)#^z

switch#copy flash:c3550-i9q3l2-mz.121-13.EA1a\c3550-i9q3l2-mz.121-13.EA1a.bin tftp

Address or name of remote host[]? 192.168.1.1          (计算机IP地址)

Destination file[]?c3550-i9q3l2-mz.121-13.EA1a.bin 

完成上传

2、在误删的交换机中

switch:flash_init

switch:copy xmodem: flash:c3550-i9q3l2-mz.121-13.EA1a.bin

Begin the Xmodem or Xmodem-1K transfer now...

CCCC

此时在点击选项Transfer>send Xmodem...

在tftp服务器指定的目录下找到c3550-i9q3l2-mz.121-13.EA1a.bin点击确定

完成下载

switch:boot

即可重启正常

  • 六艺教您如何使用Joomla创建一个教学类平台
  • 如何修复linux服务器的openssh漏洞?
  • 如何制作T系统的Live-U盘?
  • 女人外遇,求原谅怎么办?
  • 军团战争5怎样获得绝望光环
  • 热门搜索
    干无花果怎么吃 qq邮箱怎么登陆 手机闪屏是怎么回事 精索静脉曲张怎么治疗 怎么样开淘宝网店 四喜丸子怎么做 怎么查手机号码的主人 林氏木业沙发怎么样 未婚证明怎么开 户籍所在地怎么填