logo资料库

搭建TFTP服务器自动备份H3C网络设备配置.docx

第1页 / 共2页
第2页 / 共2页
资料共2页,全文预览结束
搭建 TFTP 服务器自动备份 H3C 网络设备配置 一、 环境说明 服务器操作系统版本:CentOS Linux release 7.6.1810 (Core) TFTP server 版本:tftp-hpa 5.2, with readline H3C 设备型号:F100-C-G2 二、 服务搭建目的 搭建 TFTP 服务器用于保存 H3C 网络设备配置,通过在 H3C 设备上添加 scheduler 任务定时或者周期性将设备配置保存到 TFTP 服务器,提高运维自动化 能力,减轻运维工作量,避免网络设备意外故障情况下配置丢失,提高故障响应 效率,减小 RTO 时间。 三、 配置步骤 1、 安装 tftp 软件包 [root@wuhs tftp]# yum install xinetd tftp tftp-server 2、 配置 tftp-server # vim /etc/xinetd.d/tftp service tftp { = dgram = udp = yes = root = /usr/sbin/in.tftpd = -s /data/tftp –c socket_type protocol wait user server server_args #运行上传需要加-c 参数,指定文件存储目录 disable #默认是 yes,tftp 为关闭状态,改为 no,启用 tftp 服务 per_source = no = 11
cps flags = 100 2 = IPv4 } 3、 启动 TFTP 服务 # systemctl start xinetd.service [root@wuhs tftp]# netstat -tunpl |grep 69 udp 0 0 0.0.0.0:69 0.0.0.0:* 4622/xinetd 防火墙上开放 UDP 69 端口 4、 H3C 网络设备添加 schedule 配置
分享到:
收藏