Got it

How to obtain the log files from an AS in a SVF implementation

Latest reply: Apr 24, 2017 01:20:11 1535 1 0 0 0

Hello everyone,

The switch system periodically saves the information from the log buffer to a user log file (log.log) and a diagnostic log file (log.dblg), which are saved in the logfile folder. When the two log files exceed the specified size, the system compresses them into zip packages and names the compressed files date and date, for example, and

When a device is encountering a failure an important practice is to collect the logs and alarms which can help us know what happened during device operation and where the fault occurred.



Directory of flash:/logfile/                                                                                                                                                                                                                          

  Idx  Attr     Size(Byte)  Date        Time       FileName                                                                         

    2  -rw-         29,429  Jun 17 2016 02:39:11                                                    

    4  -rw-      6,339,752  Aug 10 2016 14:20:02   log.log                                                                          

    5  -rw-        408,919  Jun 17 2016 00:39:17                                                    

    6  -rw-        921,090  Aug 11 2016 10:50:21                                                     

   10  -rw-         33,508  Aug 11 2016 10:50:22   log.dblg

<?xml:namespace prefix = "o" />


In a SVF system, the log information collected from the parent might not be sufficient to identify problems that appear on the AS and we would need to also obtain these logs from the AS itself in order to find the root cause of the issue . Please help me. Thanks!

  • x
  • convention:

Created Apr 24, 2017 01:20:11


How to collect the logs from the AS?

To download the log files from an AS, we would first need to transfer the logs from the AS to the parent device by FTP and then download them to our computer.


<!--[if !supportLists]-->1.     1. Configure the AS as a FTP server by running the following commands:<?xml:namespace prefix = "o" />


[Huawei-um]upgrade local-ftp-server username xxx password xxx

2. Log into the AS from the parent device remotely by running the attach as command from the uni-mng view:


[Huawei-um]attach as name as-name

Info: Connecting to the remote AS now. Use the quit command to return to the user view.

3. After you are logged in the AS, establish a FTP connection with the parent by running the

ftp  xx.xx.xx.xx  command  //where xx.xx.xx.xx is the ip address of the parent and then transfer the flash:/logfile/log.log and flash:/logfile/log.dblg to the parent by ftp.

<!--[if !supportLists]-->3.       <!--[endif]-->After the files are transferred to the parent, you can download them from the flash of the parent to your computer by FTP/TFTP

Hope to help you.

View more
  • x
  • convention:


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

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 " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.