拓扑如下:
【1】,配置R1的接口
【2】,配置R2的接口
【3】,配置服务器server
【4】,配置R1的console接口密码
[Huawei]user-interface console 0
[Huawei-ui-console0]set authentication password cipher yell //cipher:密码隐藏
[Huawei-ui-console0]quit
【5】验证,输入登录密码,路由器R1上设置console接口密码成功
【6】,在R1上配置vty接口密码,用于telnet验证
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]set authentication password cipher yell //cipher:密码隐藏
【7】,在R2上telnet路由器R1
【8】,保存路由器R1配置信息,使用ftp服务上传到服务器
先启动服务器的ftp服务
保存路由器R1配置信息
使用ftp服务上传路由器R1配置文件到服务器
上传成功