How to upload a web file on an AR router

20

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.

Other related questions:
How to upload the web file of a WLAN device
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.

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.

How do I load a license file through the web on the AR router
To load a license file on the AR router, perform the following steps: 1. Choose System Management > License Management to enter the license management page. 2. Click Browse to select the license file to be uploaded. 3. Click Activate to activate the license file.

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