< Home

Example for Configuring the TFTP Client

Networking Requirements

As shown in Figure 1, the remote device at 10.1.1.1/24 functions as the TFTP server. The device at 10.2.1.1/24 functions as the TFTP client. Routes between the device and the server are reachable.

The device needs to be upgraded. To upgrade the device, you must download system software devicesoft.cc from and upload the configuration file vrpcfg.zip to the TFTP server.

Figure 1 Networking diagram for managing files when the device functions as a TFTP client

Configuration Roadmap

The configuration roadmap is as follows:

  1. Run the TFTP software on the TFTP server and configure the working directory.
  2. Run TFTP commands to download devicesoft.cc from and upload vrpcfg.zip to the TFTP server.

Procedure

  1. Run the TFTP software on the TFTP server and configure the working directory. (For details, see related third-party documentation.)
  2. Run TFTP commands to download devicesoft.cc from and upload vrpcfg.zip to the TFTP server.

    <HUAWEI> tftp 10.1.1.1 get devicesoft.cc
    Info: Transfer file in binary mode.
    Downloading the file from the remote TFTP server. Please wait...\
    TFTP: Downloading the file successfully.
    23876556 bytes received in 199 seconds.
    <HUAWEI> tftp 10.1.1.1 put vrpcfg.zip 
    Info: Transfer file in binary mode.
    Uploading the file to the remote TFTP server. Please wait...|
    TFTP: Uploading the file successfully.
    7717 bytes send in 1 second. 

  3. Verify the configuration.

    # Run the dir command on the TFTP client to check that the devicesoft.cc file has been downloaded successfully.

    <HUAWEI> dir
    Directory of flash:/
    
      Idx  Attr     Size(Byte)  Date        Time       FileName
        0  -rw-             14  Mar 13 2012 14:13:38   back_time_a
        1  drw-              -  Mar 11 2012 00:58:54   logfile
        2  -rw-              4  Nov 17 2011 09:33:58   snmpnotilog.txt
        3  -rw-         11,238  Mar 12 2012 21:15:56   private-data.txt
        4  -rw-          7,717  Mar 12 2012 21:15:54   vrpcfg.zip
        5  -rw-             14  Mar 13 2012 14:13:38   back_time_b
        6  -rw-     23,876,556  Mar 13 2012 14:24:24   devicesoft.cc
        7  drw-              -  Oct 31 2011 10:20:28   sysdrv
        8  drw-              -  Feb 21 2012 17:16:36   compatible
        9  drw-              -  Feb 09 2012 14:20:10   selftest
       10  -rw-         19,174  Feb 20 2012 18:55:32   backup.cfg
       11  -rw-         43,496  Dec 15 2011 20:59:36   20111215.zip
       12  -rw-            588  Nov 04 2011 13:54:04   servercert.der
       13  -rw-            320  Nov 04 2011 13:54:26   serverkey.der
       14  drw-              -  Nov 04 2011 13:58:36   security
    ...
    65,233 KB total (7,289 KB free)
                                       
    # Access the working directory on the TFTP server and check that the vrpcfg.zip file has been uploaded successfully.

Configuration File

None

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >