FAQ-交换机日志文件的保存路径与查看方式

发布时间:  2016-12-21 浏览次数:  142 下载次数:  0
问题描述
交换机日志文件的保存路径与查看方式?
解决方案
交换机将日志文件保存在flash的syslogfile文件夹下。

<HUAWEI>dir            //显示flash目录下的所有文件和文件夹                         
Directory of flash:/                                                            
                                                                                
  Idx  Attr     Size(Byte)  Date        Time       FileName                     
    0  -rw-          1,766  Dec 24 2040 03:37:54   private-data.txt             
    3  drw-              -  Dec 24 2040 03:40:12   syslogfile                   
    4  drw-              -  Dec 24 2040 03:37:58   compatible                   
   16  -rw-         10,571  Jan 04 2041 03:51:18   elabel-slot0.fls             
……
<HUAWEI>cd syslogfile           //进入syslogfile文件夹                            
<HUAWEI>dir                                                       
Directory of flash:/syslogfile/                                                 
                                                                                
  Idx  Attr     Size(Byte)  Date        Time       FileName                     
    0  -rw-         10,824  Jan 24 2042 09:15:04   syslogfile-2042-01-24-09-15-0
3.zip                                                                           
    1  -rw-         15,334  Feb 03 2042 14:45:08   syslogfile-2042-02-03-14-45-0
8.zip                                                                           
……

END