>> Technologie Électronique >  >> Téléphones portables et accessoires >> iPhone 3G

Comment copier fichiers depuis serveur TFTP vers périphérique Cisco IOS

La commande

copy tftp flash:

(ou copy tftp startup-config, copy tftp running-config, etc., selon destination)

Invites interactives

Après la commande, le CLI demande :

  1. Address or name of remote host [ ] : IP ou nom hôte serveur TFTP.
  2. Source filename [ ] : Nom fichier sur serveur TFTP (ex. c2900-universalk9-mz.SPA.152-4.M5.bin).
  3. Destination filename [ ] : Nom pour stocker sur périphérique (souvent même que source, ou flash:filename).

Exemple session

Router# copy tftp flash:
Address or name of remote host []? 192.168.1.100
Source filename []? cat3k_caa-universalk9.16.12.03.SPA.bin
Destination filename [cat3k_caa-universalk9.16.12.03.SPA.bin]?
Accessing tftp://192.168.1.100/cat3k_caa-universalk9.16.12.03.SPA.bin...
Loading cat3k_caa-universalk9.16.12.03.SPA.bin from 192.168.1.100 (via GigabitEthernet0/0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 423112704 bytes]
423112704 bytes copied in 45.216 secs (9357655 bytes/sec)
Router#

Prérequis

  • Serveur TFTP en cours et accessible (port UDP 69).
  • Connectivité réseau (ping serveur depuis périphérique).
  • Fichier existe dans répertoire racine TFTP.
  • Espace flash suffisant sur périphérique.

Variantes courantes

  • copy tftp startup-config — Charge config dans NVRAM (prochain boot).
  • copy tftp running-config — Fusionne config dans RAM active (immédiat).
  • copy tftp flash: — Le plus courant pour images IOS.
iPhone 3G