<HUAWEI> system-view
[~HUAWEI] ftp server enable
[~HUAWEI] ftp server source all-interfaceWarning: FTP is not a secure protocol, and it is recommended to use SFTP.
[*HUAWEI] aaa
[*HUAWEI-aaa] local-user huawei password irreversible-cipher Helloworld@6789
[*HUAWEI-aaa] local-user huawei ftp-directory flash:
[*HUAWEI-aaa] local-user huawei service-type ftp
[*HUAWEI-aaa] local-user huawei level 3
[*HUAWEI-aaa] commit
从维护终端向设备发起FTP连接。
在PC上,通过FTP客户端与设备建立FTP连接(例如设备的IP地址是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.