R2配置
ftp server enable
aaa local-user ftp-client password cipher Huawei@123local-user ftp-client privilege level 15local-user ftp-client ftp-directory flash:/local-user ftp-client service-type ftpinterface GigabitEthernet0/0/0ip address 10.0.12.2 255.255.255.252
R1配置
interface GigabitEthernet0/0/0ip address 10.0.12.1 255.255.255.252
架构图
测试结果