1、拓扑图

image-20210313153426573.png

2、路由器基础配置

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface Vlanif 1
[Huawei-Vlanif1]ip add 192.168.157.2 24

image-20210313151919277.png

[Huawei]ftp server enable 
Info: Succeeded in starting the FTP server
[Huawei]aaa
[Huawei-aaa]local-user ftpuser password cipher ftppwd
Info: Add a new user.
[Huawei-aaa]local-user ftpuser privilege level 15
[Huawei-aaa]local-user ftpuser ftp-directory flash:/
[Huawei-aaa]local-user ftpuser service-type ftp

3、导出配置

image-20210313152440822.png
image-20210313152513207.png