No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Basic Configuration

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Managing Files When the Device Functions as a TFTP Server

Example for Managing Files When the Device Functions as a TFTP Server

Networking Requirements

As shown in Figure 11-1, there are reachable routes between the TFTP server and client. You need to obtain system software from the TFTP server to upgrade the TFTP client.

Figure 11-1  Networking diagram for managing files using TFTP

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure the TFTP server function and related parameters.
  2. Set up a connection between the TFTP server and client, and download system software from the TFTP server to the TFTP client.

Procedure

  1. Configure the TFTP server function and parameters.

    <Huawei> system-view
    [Huawei] sysname TFTP Server
    [TFTP Server] set default tftp-directory flash:
    [TFTP Server] tftp server enable
    [TFTP Server] quit

  2. Set up a connection between the TFTP server and client, and download system software from the TFTP server to the TFTP client.

    <Huawei> system-view
    [Huawei] sysname TFTP Client
    [TFTP Client] quit
    <TFTP Client> tftp 10.1.1.1 get devicesoft.cc
    Info: Transfer file in binary mode.
    Downloading the file from the remote TFTP server. Please wait...
    
    93832832 bytes received in 722 second.
    TFTP: Downloading the file successfully.
    

  3. Verify the configuration.

    # Run the dir command on the TFTP client to check whether system software is downloaded to the TFTP client.

    <TFTP Client> dir
    Directory of flash:/
    
      Idx  Attr     Size(Byte)  Date        Time(LMT)  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-     93,832,832  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
    
    468,560 KB total (197,728 KB free)
                                       

Configuration Files

  • Configuration file of the TFTP server

    #
     sysname TFTP Server
    #
     set default tftp-directory flash:
     tftp server enable
    #
    return
  • Configuration file of the TFTP client

    #
     sysname TFTP Client
    #
    return
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100034066

Views: 85506

Downloads: 476

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next