华为CE8700交换机导出flash中文件- ftp方式
现场1台华为CE 8700,flash中的文件需要导出
<Huawei-8700>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drwx - Sep 14 2025 00:21:19 $_autobackup
13 drwx - Sep 14 2025 00:22:42 dhcp
14 -rw- 4,212,633 Mar 01 2026 23:14:57 diagnostic_information.zip // 要导出这个文件
1 准备ftp server,本次使用3cdeamon
ftp server IP: 10.248.1.100

2 交换机上连接FTP server
命令:
ftp 10.248.1.100
示例
<Huawei-8700>ftp 10.248.1.100
Warning: FTP is not secure. Using SFTP is recommended.
Trying 10.248.1.100 ...
Press CTRL + K to abort
Connected to 10.248.1.100.
220 3Com 3CDaemon FTP Server Version 2.0
User(10.248.1.100:(none)): admin // 输入ftp的用户名
331 User name ok, need password
Enter password: //输入ftp的密码
230 User logged in
[ftp]
3 使用put命令上传
命令
put 文件名
[ftp]put diagnostic_information.zip
Warning: The file may not transfer correctly in ASCII mode.
200 PORT command successful.
150 File status OK ; about to open data connection
\ 100% [***********]
226 Closing data connection; File transfer successful.
FTP: 4212633 byte(s) send in 25.270 second(s) 162.797Kbyte(s)/sec.
4 传输完成后, quit退出
[ftp]quit
221 Service closing control connection
<Huawei-8700>
浙公网安备 33010602011771号