How do I configure a WLAN device as an FTP server

5

Configure an AC or a Fat AP as an FTP server.

[Huawei] ftp server enable //Enable the FTP service.

[Huawei] aaa

[Huawei-aaa] local-user u1 password irreversible-cipher ftppwd@6789 //Set the user name to u1 and password to ftppwd@6789.

[Huawei-aaa] local-user u1 service-type ftp //Set the access type of the user to FTP.

[Huawei-aaa] local-user u1 privilege level 15 //Set the user level.

[Huawei-aaa] local-user u1 ftp-directory flash:/ //Specify the directory that the user can access.

[Huawei-aaa] return

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.

Configuring an S series switch as an FTP server
Perform the following operations to configure an S series switch (except the S1700) as an FTP server: 1. Configure an IP address for the switch. 2. Configure the switch as an FTP server. system-view [HUAWEI] ftp server enable //Enable the FTP service. [HUAWEI] aaa [HUAWEI-aaa] local-user u1 password irreversible-cipher ftppwd@6789 //Set the FTP user name to u1 and password to ftppwd@6789. [HUAWEI-aaa] local-user u1 service-type ftp //Set the access type of the user to FTP. [HUAWEI-aaa] local-user u1 privilege level 15 //Set the user priority. [HUAWEI-aaa] local-user u1 ftp-directory flash:/ //Specify the directory that the user can access, which may be cfcard:/ for some S series modular switches. [HUAWEI-aaa] return

How to configure the WEP security policy on WLAN devices
For V200R003 and V200R005, you can perform the following steps on ACs or Fat APs to configure the WEP security policy: 1. Run the security-profile { id profile-id | name profile-name } * command in the WLAN view to display the security profile view. The variable profile-id specifies the ID of a security profile, and profile-name specifies the name of the security profile. 2. Run the security-policy wep command in the security profile view to set the security policy to WEP. By default, the security policy is WEP. By default, WEP uses open system authentication and non-encryption. The default configuration has security risks, so you are advised to configure the Portal security policy or use WPA/WPA2 authentication. 3. Configure the authentication and encryption modes: - Configure open system authentication + non-encryption: a. Run the wep authentication-method open-system [ data-encrypt ] command in the security profile view to configure WEP open system authentication. b. The variable data-encrypt indicates open system authentication and WEP encryption. In this case, you must run the wep key command and the wep default-key command to set the WEP shared key, which is used for generating the encryption key to encrypt WLAN data packets. - Configure the shared key authentication + WEP encryption: a. Run the wep authentication-method share-key command in the security profile view to configure WEP shared key authentication. b. Run the wep key { wep-40 | wep-104 | wep-128 } { pass-phrase | hex } key-id cipher cipher-key-value command in the security profile view to configure the WEP shared key and key ID. The variable key-id specifies the key ID, and cipher-key-value specifies the password in cipher text. c. Run the wep default-key key-id command in the security profile view to set the key ID of the WEP shared key. The variable key-id specifies the default key ID. A maximum of four WEP keys can be configured, and only one WEP key is valid at a time. 4. Run the commit { all | ap ap-id } command in the WLAN view to deliver configurations to the APs (applicable only to the AC). The variable ap-id specifies the AP ID.

How do I delete the configuration on a specified interface of a WLAN device
To delete all configurations on a specified interface of a WLAN device, you need to delete the configurations one by one. For example, if GE0/0/1 works in auto-negotiation mode and automatically negotiates both the rate and the duplex mode, run the following commands to delete corresponding configurations: - Run the undo auto duplex command in the interface view to restore the default duplex mode for the Ethernet electrical interface in auto-negotiation mode. - Run the undo auto speed command in the interface view to restore the default negotiation rate for the Ethernet electrical interface in auto-negotiation mode.

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