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

Configuration Guide - Basic Configuration

S9300, S9300E, and S9300X V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
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 Configuring the FTP Server

Example for Configuring the FTP Server

Networking Requirements

As shown in Figure 7-3, routes between the PC and the device functioning as an FTP server are reachable. 10.136.23.5 is the management IP address of the FTP server. To upgrade the device, you must upload the system software devicesoft.cc to and download the configuration file vrpcfg.zip from the FTP server.

Figure 7-3  Networking diagram for managing files when the device functions as an FTP server

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure the FTP function and FTP user information including user name, password, user level, service type, and authorized directory on the FTP server.
  2. Save the vrpcfg.zip file on the FTP server.
  3. Connect to the FTP server from the PC.
  4. Upload devicesoft.cc to and download vrpcfg.zip from the FTP server.

Procedure

  1. Configure the FTP function and FTP user information on the FTP server.

    <Quidway> system-view
    [Quidway] sysname FTP_Server
    [FTP_Server] ftp server enable
    [FTP_Server] aaa
    [FTP_Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
    [FTP_Server-aaa] local-user admin1234 privilege level 15
    [FTP_Server-aaa] local-user admin1234 service-type ftp
    [FTP_Server-aaa] local-user admin1234 ftp-directory cfcard:/
    [FTP_Server-aaa] quit
    [FTP_Server] quit

  2. Save the vrpcfg.zip file on the FTP server.

    <FTP_Server> save

  3. Connect to the FTP server from the PC as user admin1234 whose password is Helloworld@6789 and transfer files in binary mode.

    Assume that the PC runs the Windows XP operating system.

    C:\Documents and Settings\Administrator> ftp 10.136.23.5
    Connected to 10.136.23.5.
    220 FTP service ready.
    User (10.136.23.5:(none)): admin1234
    331 Password required for admin1234.
    Password:
    230 User logged in.
    ftp> binary
    200 Type set to I.
    ftp>

  4. Upload devicesoft.cc to and download vrpcfg.zip from the FTP server.

    # Upload the devicesoft.cc file to the FTP server.

    ftp> put devicesoft.cc
    200 Port command okay.
    150 Opening BINARY mode data connection for devicesoft.cc
    226 Transfer complete.
    ftp: 106616955 bytes sent in 151.05Seconds 560.79Kbytes/sec.

    # Download the vrpcfg.zip file.

    ftp> get vrpcfg.zip
    200 Port command okay.
    150 Opening BINARY mode data connection for vrpcfg.zip.
    226 Transfer complete.
    ftp: 1257 bytes received in 0.03Seconds 40.55Kbytes/sec.
    NOTE:
    The devicesoft.cc file to be uploaded and the vrpcfg.zip file to be downloaded are stored in the local directory on the FTP client. Before uploading and downloading files, obtain the local directory on the client. The default FTP user's local directory on the Windows XP operating system is C:\Documents and Settings\Administrator.

  5. Verify the configuration.

    # Run the dir command on the FTP server to check the devicesoft.cc file.

    <FTP_Server> dir
    Directory of cfcard:/
    
      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-          1,257  Mar 12 2012 21:15:54   vrpcfg.zip
        5  -rw-             14  Mar 13 2012 14:13:38   back_time_b
        6  -rw-    106,616,955  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-         23,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
    ...
    509,256 KB total (52,752 KB free)
    # Access the FTP user's local directory on the PC and check the vrpcfg.zip file.

Configuration File

FTP_Server configuration file

#
sysname FTP_Server
#
FTP server enable
#
aaa
 local-user admin1234 password irreversible-cipher $1a$P2m&M5d"'JHR7b~SrcHF\Z\,2R"t&6V|zOLh9y$>M\bjG$D>%@Ug/<3I$+=Y$
 local-user admin1234 privilege level 15
 local-user admin1234 ftp-directory cfcard:/
 local-user admin1234 service-type ftp
#
return
Translation
Download
Updated: 2019-04-17

Document ID: EDOC1000178413

Views: 68872

Downloads: 109

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