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