Collect Logs
Device logs involve user operations, system faults, and system security issues. Logs are classified into
user logs and diagnostic logs. After logging in to the router,
as follows:
<Huawei> save logfile
<Huawei> system-view
[Huawei] diagnose
[Huawei-diagnose] save diag-logfile
[Huawei-diagnose] terminal diag-logging
[Huawei-diagnose] info-center create logbook sd1:/logfile/logbook.xml
You can transfer the files from sd1:/logfile to your computer through TFTP, FTP, or SFTP to facilitate
information query and feedback. For details, see the
The root directory for storing information is sd1:/ on the AR2220, AR2240, and
AR3260, and is flash:/ on other models.
obtain the user logs and diagnostic logs
//Collect logs of common users.
//Collect diagnostic logs.
//Enable diagnostic log debugging.
Configuration Guide - Basic Configuration
10
//Create a data dictionary file.
.