[Q&A]how to collect log on CE switch

Latest reply: Jun 24, 2018 17:12:01 569 1 0 0

If you have some issues with CE switch, you can collect the basic logs and send to Huawei TAC for the investigation.

1. collect the command “display diagnostic-information”.

2. collect all the log.log, diag.log, log*log.zip and diaglog*log.zip in the logfile directory. 

3. collect the system log: diagnostic_information.zip 

For the point 2 and 3, You can follow below steps to collect them.

1. Run the command “collect diagnostic information” in the diagnose view:
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] collect diagnostic information     //after this command is executed,  then the file ‘diagnostic_information.zip’ will be generated in the root directory and logfile directory.

2. Enter logfile directory, then you can find all the log.log, diag.log, log*log.zip, diaglog*log.zip and diagnostic_information.zip in the logfile, then use any FTP tool to download all the log files to you laptop.
<HUAWEI> cd logfile
<HUAWEI> dir      
Directory of flash:/logfile/                                                                                                        
  Idx  Attr     Size(Byte)  Date        Time       FileName                     
    0  -rw-      1,215,581  Mar 10 2018 01:28:07   diag.log
1  -rw-        598,074  Mar 08 2018 18:00:28   diaglog_6_20180308180027.log.zip   //if the diag.log exceeds the specified size, diag.log may be compressed into diaglog*log.zip.
2  -rw-        585,565  Mar 09 2018 22:31:53   diaglog_6_20180309223152.log.zip                                                 
    3  -rw-        577,576  Mar 10 2018 05:39:09   diaglog_6_20180310053908.log.zip
4  lrw-             42  Mar 10 2018 06:20:34   diagnostic_information.zip -> flash:/diagnostic_information.zip    
5  -rw-      7,392,575  Mar 10 2018 19:22:18   log.log 
6  -rw-        171,657  Mar 08 2018 13:44:38   log_6_20180308134437.log.zip   //if the log.log exceeds the specified size, log.log may be compressed into log*log.zip.
     7  -rw-         71,056  Mar 09 2018 02:44:38   log_6_20180309024438.log.zip                                                     
    8  -rw-         73,260  Mar 09 2018 15:33:09   log_6_20180309153309.log.zip                                                     
    9  -rw-         71,613  Mar 10 2018 04:21:34   log_6_20180310042134.log.zip    
  • x
  • convention:

MVE Created Jun 24, 2018 17:12:01 Helpful(0) Helpful(0)

very much informative and useful doc. thanks
  • x
  • convention:



You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits