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

AR500, AR510, AR531, AR550, AR1500, and AR2500 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).
Configuring the File Server

Configuring the File Server

Context

NOTE:
  • If the FTP server is used, the FTP server IP address must be the same as the value of Option 143 configured on the DHCP server. If the TFTP server is used, the TFTP server IP address must be the same as the value of Option 150 configured on the DHCP server.If the SFTP server is used, the SFTP server IP address must be the same as the value of Option 149 configured on the DHCP server.

  • The SFTP server is recommended.

  • The file server can be the router or a PC. In the following example, a router functions as an SFTP server.

Procedure

  1. Enable SFTP. For details, see Local File Management-Managing Files When the Device Functions as an SFTP Server-Set SFTP server parameters. in Huawei AR Series IOT Gateway Configuration Guide-File Management.
  2. Configure the VTY user interface for SSH users, SSH user name, authentication mode, service type and root directory that can be accessed. For details, see Local File Management-Managing Files When the Device Functions as an SFTP Server-Configure the VTY user interface for SSH users to log in to the device. and Configure SSH user information. in Huawei AR Series IOT Gateway Configuration Guide-File Management.

    NOTE:

    Currently, the device supports only password authentication for file access through SFTP.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  4. Run ip address ip-address { mask | mask-length }

    The IP address of the SFTP server is configured.

Follow-up Procedure

After the file server is configured, place the intermediate file (optional), system software (optional), patch file (optional), and configuration file (mandatory) to the working directory of the file server.

NOTE:
  • When uploading files, ensure that there is sufficient space in the directory.

  • If a PC functions as the file server, copy files to the working directory of the PC (working directory of the file server needs to be specified).

  • If the router functions as the file server, upload files to the working directory of the file server using an file client program.

  • To ensure file server security, you are advised to configure a unique file server user name and set the right to read-only to prevent the file server from being modified by unauthorized users. After the Auto-Config process is complete, disable the file server function.
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44678

Downloads: 100

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