1. Backing up iOS and configuration files
1. First, there is a configured FTP server, and is guaranteed to be in a network segment (can ping each other).
Instance:
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 [c2960-lanbase-mz.122-25.fx.bin]?
Writing c2960-lanbase-mz.122-
25.fx.bin ...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!
[OK-4414921 bytes]
4414921 bytes copied in 0.281 secs (426881 bytes/sec)
This will enable an iOS backup to the FTP server, which facilitates iOS upgrades and reloading.
2. Recovery of iOS and configuration files
Instance:
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 [c2960-lanbase-mz.122-25.fx.bin]?
%warning:there is a file already existing with this name
Do you want to over write? [Confirm]
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:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK-4414921 bytes]
4414921 bytes copied in 3.313 secs (36206 bytes/sec)
This article is from the "Technology First" blog, please be sure to keep this source http://wuxiangdong.blog.51cto.com/8274747/1626718
Backup and restore of switch iOS and configuration files