Huawei FTP server configuration

Huawei FTP server configuration
<Huawei> system-view // enter view mode
[Huawei] sysname R1 // modify the host name
[R1] ftp server enable // open ftp service
[R1-aaa] local-user wang password cipher sinoway // create a user name and password
[R1-aaa] local-user wang privilege level 15 // set the user level
[R1-aaa] local-user wang service-type ftp // ftp service user turns on the
[R1-aaa] local-user wang ftp- directory flash: // ftp directory set
[Rl] int G0 / 0/0
[Rl-the GigabitEthernet0 / 0/0] // IP address provided the IP address 202.100.1.1 24

<Huawei>system-view
[Huawei]sysname SW1
[SW1-Vlanif1]ip address 202.100.1.2 24

<SW1> ftp 202.100.1.1 // verify FTP login
the Trying 202.100.1.1 ...
Press ABORT to the CTRL + K
Connected to 202.100.1.1.
220 FTP-Service READY.
The User (202.100.1.1: (none)): // Wang enter your user name
331 password required for wang.
the enter password: // enter password
230 user logged in // successful login.

[Ftp] dir // display the FTP server directory files

[Ftp] get portalpage.zip // download file

Guess you like

Origin blog.51cto.com/11388951/2445016