Cihazın anlık yapılandırmasını bir TFT sunucusuna yedeklemek ve geri dönmek için aşağıda paylaştığım komutları kullanabilirsiniz.
copy running-config tftp
Varsayılan dosya adı “running-config” olacaktır. Özel bir isim belirlemek istiyorsanız yazabilirsiniz.
Switch# copy running-config tftp Address or name of remote host []? 192.168.1.100 Destination filename [running-config]? switch_backup.cfg
- 192.168.1.100: TFTP sunucusunun IP adresi.
- switch_backup.cfg: Yedek dosyasının TFTP sunucusundaki adı.
Kaydedilmiş Yapılandırmayı (Startup Configuration) Yedekleme işlemi için;
copy startup-config tftp
Switch# copy startup-config tftp Address or name of remote host []? 192.168.1.100 Destination filename [startup-config]? switch_startup_backup.cfg
IOS işletim sistemini yedekleme için,
copy flash tftp
Switch# copy flash tftp Source filename []? c2960-lanbasek9-mz.122-55.SE10.bin Address or name of remote host []? 192.168.1.100 Destination filename [c2960-lanbasek9-mz.122-55.SE10.bin]?
TFTP ile Yedek Dosyasını Geri Yükleme
Running Configuration’a Geri Yükleme:
copy tftp running-config
Startup Configuration’a Geri Yükleme:
copy tftp startup-config
IOS İşletim Sistemini Geri Yükleme:
copy tftp flash