rgfsd2 发表于 2015-4-1 09:02:53

交换机IOS和配置文件的备份与还原

1.备份IOS和配置文件
        1.首先要有一个配置好的ftp服务器,并且保证要在一个网段中(能够互相的ping通)。
实例:
Switch#copy flash: tftp:
Source filename []? c2960-lanbase-mz.122-25.FX.bin
Address or name of remote host []? 192.168.1.2
Destination filename ?

Writing c2960-lanbase-mz.122-

25.FX.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!


4414921 bytes copied in 0.281 secs (426881 bytes/sec)
这样就将一个IOS备份到了ftp服务器上,这个可以对IOS的升级和重装提供便利。

2.恢复IOS和配置文件
       
实例:
Switch#copy tftp flash:
Address or name of remote host []? 192.168.1.2
Source filename []? c2960-lanbase-mz.122-25.FX.bin
Destination filename ?
%Warning:There is a file already existing with this name
Do you want to over write?

Accessing tftp://192.168.1.2/c2960-lanbase-mz.122-25.FX.bin....
Loading c2960-lanbase-mz.122-25.FX.bin from 192.168.1.2:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


4414921 bytes copied in 3.313 secs (36206 bytes/sec)

页: [1]
查看完整版本: 交换机IOS和配置文件的备份与还原