--------------------------------------------------------------------------------  
 
3. Obtain the log file.
<HUAWEI>ftp 192.168.100.122
Trying 192.168.100.122 ...                                                       
Press CTRL+K to abort                                                            
Connected to 192.168.100.122.                                                    
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user            
User(192.168.100.122:(none)):huawei 
331 Give me your password, please                                                
Enter password:                                                                  
230 Logged in successfully     
[ftp]binary
200 Type is Image (Binary)
# On the FTP server, create a log receiving directory for the master switch module in the
stack. Replace 3 in swi3 with the actual stack ID of the master switch module. The stack ID is
the switch module slot ID. (If the switch modules are not stacked, create a log receiving
directory for the current switch module by replacing 3 in swi3 with the slot ID of the current
switch module.)
[ftp]mkdir swi3
[ftp]cd swi3
[ftp]put flash:/diag-info.txt
200 Port command successful. 
150 Opening data connection for diag-info.txt. 
/     100% [***********]  
226 File received ok 
 
FTP: 1756870 byte(s) send in 0.308 second(s) 5570.431Kbyte(s)/sec.
[ftp]mput flash:/logfile/*
200 Port command successful. 
150 Opening data connection for diag.log. 
/     100% [***********]  
226 File received ok 
 
FTP: 7971326 byte(s) send in 0.798 second(s) 9755.010Kbyte(s)/sec. 
200 Port command successful. 
150 Opening data connection for diaglog_3_20140221182310.log.zip. 
/     100% [***********]  
226 File received ok 
 
FTP: 444920 byte(s) send in 0.113 second(s) 3845.061Kbyte(s)/sec. 
200 Port command successful. 
150 Opening data connection for diagnostic_information.zip. 
/     100% [***********]  
226 File received ok 
 
FTP: 1756870 byte(s) send in 0.308 second(s) 5570.431Kbyte(s)/sec. 
200 Port command successful. 
150 Opening data connection for log.log. 
/     100% [***********]  
226 File received ok 
 
FTP: 4272491 byte(s) send in 3.492 second(s) 1194.832Kbyte(s)/sec. 
200 Port command successful. 
150 Opening data connection for log_3_20131222113233.log.zip. 
/     100% [***********]  
CX320 Switch Module
User Guide
6 Common Operations
Issue 09 (2019-08-02) Copyright © Huawei Technologies Co., Ltd. 104