华为交换机配 FTP SERVER

FTP用于远程备份或还原,如果是本地笔记本直连console加网线,用TFTP更方便
配置华为7703交换机为FTP Server
设置FTP登陆用户名: ftp , 密码: ftp ,文件夹目录 flash: 优先级 15 ,服务类型 ftp


sys
ftp server enable

aaa
local-user ftp password cipher ftp
local-user ftp privilege level 15
local-user ftp service-type ftp
local-user ftp ftp-directory flash:/      #这里是交换机当前目录
quit

# 保存当前配置
save

 

ftp导入或导出配置 vrpcfg.zip
ftp  10.1.1.100  //连交换机ip
ftp> binary    // 用二进制传输
get   crpcfg.zip  // 获取交换机上的配置文件
put   crpcfg.zip  // 上传备份的配置文件
 

配置交换机使之启动导入的配置
startup saved-configuration crpcfg.zip
dis startup
reboot
N
Y
注意reboot的时候,不将当前配置写入配置文件

 

posted @ 2020-03-04 17:26  莫让年华付水流  阅读(1427)  评论(0编辑  收藏  举报