Questo sito utilizza cookie di profilazione (propri e di terze parti) per ottimizzare la tua esperienza online e per inviarti pubblicità in linea con le tue preferenze. Continuando a utilizzare questo sito senza modificare le tue preferenze acconsenti all’uso dei cookie. Se vuoi saperne di più o negare il consenso a tutti o ad alcuni cookie clicca qui>
The website that you are visiting also provides Arabian language. Do you wish to switch language version?
يوفر موقع الويب الذي تزوره المحتوى باللغة العربية أيضًا. هل ترغب في تبديل إصدار اللغة؟
The website that you are visiting also provides Russia language Do you wish to switch language version?
Данный сайт есть в английской версии. Желаете ли Вы перейти на английскую версию?
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 time.log.zip and date time.dblg.zip, for example, 2013-08-14.04-55-23.log.zip and 2013-09-05.05-15-23.dblg.zip.
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 2016-06-16.22-39-08.dblg.zip
4 -rw- 6,339,752 Aug 10 2016 14:20:02 log.log
5 -rw- 408,919 Jun 17 2016 00:39:17 2016-06-16.22-18-01.dblg.zip
6 -rw- 921,090 Aug 11 2016 10:50:21 2016-08-11.10-50-06.dblg.zip
10 -rw- 33,508 Aug 11 2016 10:50:22 log.dblg
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 .
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.
1. 1. Configure the AS as a FTP server by running the following commands:
[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.
3. After the files are transferred to the parent, you can download them from the flash of the parent to your computer by FTP/TFTP