服务端
<Huawei>u t m
<Huawei>sys
[Huawei]sys AR3
[AR3]int g0/0/0
[AR3-GigabitEthernet0/0/0]ip add 192.168.1.1 24
[AR3-GigabitEthernet0/0/0]q
[AR3]ftp server enable
[AR3]aaa
[AR3-aaa]local-user admin password cipher 123
[AR3-aaa]local-user admin service-type ftp
[AR3-aaa]local-user admin privilege level 15
[AR3-aaa]local-user admin ftp-directory flash:
[AR3-aaa]q
[AR3]user-in
[AR3]user-interface vty 0 4
[AR3-ui-vty0-4]aut
[AR3-ui-vty0-4]authentication-mode aaa
[AR3-ui-vty0-4]protocol inbound all
客户端
<Huawei>u t m
<Huawei>sys
[Huawei]sys AR4
[AR4]int g0/0/0
[AR4-GigabitEthernet0/0/0]ip add 192.168.1.2 24
[AR4-GigabitEthernet0/0/0]q
[AR4]ping 192.168.1.
<AR4>ftp 192.168.1.1
Enter password:
230 User logged in.
[AR4-ftp]