文档介绍:交换机如何通过tftp上传/下载文件
S1:搭建tftp服务器
以PC安装tftpd32作为tftp服务器为例:
打开软件——选择“tftp server”——设置允许用户访问的路径——选择PC网卡作为tftp服务器IP(多网卡情况)交换机如何通过tftp上传/下载文件
S1:搭建tftp服务器
以PC安装tftpd32作为tftp服务器为例:
打开软件——选择“tftp server”——设置允许用户访问的路径——选择PC网卡作为tftp服务器IP(多网卡情况)
 
 
S2:为交换机配置IP,保证与tftp服务器互通
(本例假设交换机所有端口都处于vlan 1,故只需配置vlanif1与服务器同网段即可,现网中请根据实际情况配置)
[HUAWEI] interface vlanif 1
[HUAWEI-Vlanif1]ip address 24
 
S3:交换机作为客户端通过tftp方式访问服务器执行上传/下载操作
<HUAWEI>tftp get      —— 发起TFTP连接并下载服务器中名为“”的文件
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait...\
TFTP: Downloading the file successfully.
3528 bytes received in 1 second.
 
<HUAWEI>tftp put   ——发起TFTP连接并向服务器上传名为“”的文件
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...
TFTP: Uploading the file successfully.
       6 bytes send in 1 second.