How to upload the web file of a WLAN device

12

How to upload the web file of a WLAN device:
Upload the web file to the device through FTP:
1.  Configure the FTP function and FTP user information about the device.
[Huawei] ftp server enable //Enable the FTP service.
[Huawei] aaa
[Huawei-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789  //Create an FTP user with the user name admin1234 and password Helloworld@6789
[Huawei-aaa] local-user admin1234 privilege level 15
[Huawei-aaa] local-user admin1234 service-type ftp  //Configure the user service type to FTP.
[Huawei-aaa] local-user admin1234 ftp-directory flash:  //Configure the directories to which this FTP user has access.
[Huawei-aaa] quit
[Huawei] quit
<Huawei> save
2.  Connect to the device through FTP from the terminal PC, and enter the user name admin1234 and password Helloworld@6789. Then, upload the file in binary mode.
C:\Documents and Settings\Administrator> ftp 10.136.23.5  //IP address of the WLAN device used to interconnect to the PC.
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>
3.  Upload the web file to the device.
ftp> put web.zip  
200 Port command okay.
150 Opening BINARY mode data connection for devicesoft.cc
226 Transfer complete.
ftp:   76556  bytes,  3.35s  560.79 KB/s.
4.  Check the files and subdirectories in the current directory.
<Huawei> dir
Directory of flash:/
  Idx  Attr     Size(Byte)  Date        Time       FileName
    0  -rw-          6,311  Feb 17 2012 14:05:04   backup.cfg
    1  -rw-         76,556  Mar 06 2012 17:20:10   web.zip
5.  Load the web file.
<Huawei> system-view
[Huawei] http server load web.zip      //Load the web file. If it has been loaded, ignore it.

Other related questions:
How do WLAN devices upload or download files using FTP
To enable a WLAN device to upload or download files using FTP, ensure that a local PC and the WLAN device can communicate with each other. A WLAN device functions as an FTP server and a PC functions as an FTP client. The IP address of the WLAN device is 10.1.1.2. The configuration method is as follows: 1. Enable FTP and configure an FTP user for the WLAN device. [Huawei] sysname FTPServer [FTPServer] ftp server enable //Enable the FTP service. [FTPServer] aaa [FTPServer-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789 [FTPServer-aaa] local-user admin1234 privilege level 15 [FTPServer-aaa] local-user admin1234 service-type ftp [FTPServer-aaa] local-user admin1234 ftp-directory flash: [FTPServer-aaa] quit [FTPServer] quit 2. Connect the WLAN device to a local PC using FTP and transfer a file. The following uses the Windows XP operating system as an example: C:\Documents and Setting\Administrator> ftp 10.1.1.2 //Connect to an FTP server. Connected to 10.1.1.2. 220 FTP service ready. User (10.1.1.1:(none)): admin1234 //Enter the user name. 331 Password required for admin1234 Password: //Enter the password. 230 User logged in. Configure the binary transfer mode and specify the directory on the local PC. ftp> binary //Set the file transfer mode to the binary mode. 200 Type set to I. ftp> lcd c:\temp //Set the working directory for the PC. Local directory now C: ftp> get vrpcfg.cfg //Download the vrpcfg.cfg file to the PC. ftp> put vrpcfg.cfg //Upload the vrpcfg.cfg file from the PC to the WLAN device. File transfer using FTP is simple but may bring security risks. Exercise caution when using FTP for file transfer.

How do WLAN devices upload or download files through TFTP
To enable a WLAN device to upload or download files using TFTP, perform the following operations: 1. Run TFTP software on a TFTP server, and set the TFTP working directory. (For details, see the help document about the third-party software.) 2. Use TFTP commands to connect the TFTP server, and download and upload files. tftp 10.1.1.1 get devicesoft.cc //Connect the TFTP server and download the devicesoft.cc file. tftp 10.1.1.1 put vrpcfg.zip //Connect the TFTP server and upload the vrpcfg.zip file.

How to upload a web file on an AR router
How to upload a web file on an AR router?
Upload a web file through FTP to a router.
1.  Use the router as an FTP server, and enable the FTP service.  
Enable the FTP server on the router, and create an FTP user with the user name huawei and password Helloworld@6789. Authorize the user to access the directory sd1:.
[Huawei] ftp server enable
Info: Succeeded in starting the FTP server.
[Huawei] aaa
[Huawei-aaa] local-user huawei password irreversible-cipher Helloworld@6789  //Create an FTP user with the user name huawei and password Helloworld@6789.
[Huawei-aaa] local-user huawei ftp-directory sd1:    //Authorize the user to access the directory sd1:.
[Huawei-aaa] local-user huawei service-type ftp      //Set the service type of the user to FTP.  
[Huawei-aaa] local-user huawei privilege level 15     //Set the user level to 15. The larger the value, the higher the level.
[Huawei-aaa] return    //Return the user view.
<Huawei> save //Save the current configuration file.

2.  Initiate an FTP connection from a maintenance PC to the router.  
On the PC, create an FTP connection to the router through the FTP client (for example, the IP address of the router is 10.110.24.254).
C:\Documents and Setting\Administrator> ftp 10.110.24.254
Connected to 10.110.24.254.
220 FTP service ready.
User (10.110.24.254:(none)): huawei
331 Password required for huawei.
Password:
230 User logged in.

3.  Upload the web software to the router.
ftp> put Web.zip
200 Port command okay.
150 Opening BINARY mode data connection for devicesoft.cc
226 Transfer complete.
ftp:  Send  76556  bytes within  3.35 seconds   at the rate 560.79 Kbytes per second.

4.  View the files and sub-directories under the current directory.
<Huawei> dir
Directory of sd1:/
  Idx  Attr     Size(Byte)  Date        Time       FileName
    0  -rw-          6,311  Feb 17 2012 14:05:04   backup.cfg
    1  -rw-         76,556  Mar 06 2012 17:20:10   Web.zip

5.  Load the web file.
<Huawei> system-view
[Huawei] http server load Web.zip      //Load the web file. If the file has been loaded, ignore this step. In later versions of the software, the web file has been integrated into the system package, and does not need loading.

How to upload a license file to an AC
To upload a license file to an AC, use any of the following methods: Method 1: Upload a license file using a PC as the TFTP server. Run TFTP server software on the PC and set parameters. Note: This method requires you to purchase TFTP server software separately. Procedure: 1. Configure a TFTP server. Click Browse and specify the directory for storing the new system software. The TFTP server address in Server interface is automatically set by the system. 2. Run the tftp [ -a source-ip-address | -i interface-type interface-number ] tftp-server { get | put } source-filename [ destination-filename ] command to upload a license file to the AC. Method 2: Upload a license file using an FTP server. In this case, the AC serves as the FTP client. Note: This method requires you to purchase FTP server software separately. Procedure: 1. Configure the FTP server, set its user name and password, and set the FTP folder. 2. Run the ftp [ -a source-ip-address | -i interface-type interface-number ] host-ip [ port-number ] command to log in to the FTP server. Enter the user name and password of the FTP server as prompted. 3. Run the get remote-filename [ local-filename ] command to download a license file to the AC. Method 3: An AC serves as an FTP server, and a license file is uploaded from an FTP client to the AC. Procedure: 1. Run the system-view command to enter the system view. 2. Run the ftp [ ipv6 ] server enable command to start the FTP server. 3. Run the aaa command to enter the AAA view. 4. Run the local-user user-name password cipher password command to configure the local user name and password. 5. Run the local-user user-name privilege level level command to configure the level for a local user. Note: The user level must be set to 3 or higher; otherwise, the FTP connection cannot be established. 6. Run the local-user user-name service-type ftp command to configure the FTP service type. 7. Run the local-user user-name ftp-directory directory command to configure the authorized directory for FTP users. 8. Enter the CLI on the PC. Run the ftp server-ip-address command, and enter the user name and password to log in to the AC. 9. Run the put license-filename command to upload a license file to the AC. After the upload is complete, the license file is saved to the default directory of the AC.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top