TFTP & CISCO

Mise en place d’un service TFTP afin de réaliser les sauvegardes de switch et routeur cisco

Linux : installation et configuration

apt install tftpd

mkdir /srv/tftp

chmod -R 777 /srv/tftp

chown -R nobody /srv/tftp

touch /srv/tftp/cisco.backup

chmod -R 777 /srv/tftp

chown -R nobody /srv/tftp

CISCO : Sauvegarde de configuration

CE_2#copy running-config tftp:
Address or name of remote host []? 64.104.207.171
Destination filename [ce_2-confg]? cisco.backup


CISCO : Restauration de configuration

Router#copy tftp: running-config

Address or name of remote host []? 64.104.207.171
Source filename []? backup_cfg_for_my_router
Destination filename [running-config]?
Accessing tftp://10.66.64.10/backup_cfg_for_my_router…
Loading backup_cfg_for_router from 64.104.207.171 (via FastEthernet0/0): !
[OK – 1030 bytes]

CISCO : restauration du bootloader

copy tftp://192.168.3.47/c3560-ipservicesk9-mz.150-1.SE.bin flash:

Leave a Reply