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.
[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

Scroll to top