2
Category
File name format
Content
Diagnostic log
diagfile.log
Diagnostic log messages about device operation, including the
following items:
•
Parameter settings used when an error occurs.
•
Information about a card startup error.
•
Handshaking information between member devices when
a communication error occurs.
Operating
statistics
file-basename.gz
Current operation statistics for feature modules, including the
following items:
•
Device
status.
•
CPU
status.
•
Memory
status.
•
Configuration
status.
•
Software
entries.
•
Hardware
entries.
Collecting common log messages
1.
Save the common log messages from the log buffer to a log file.
By default, the log file is saved in the
logfile
directory of the Flash memory on each member
device.
<Sysname> logfile save
The contents in the log file buffer have been saved to the file
flash:/logfile/logfile.log
2.
Identify the log file on each member device:
# Display the log file on the master device.
<Sysname> dir flash:/logfile/
Directory of flash:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile.log
524288 KB total (36944 KB free)
# Display the log file on each subordinate device:
<Sysname> dir slot2#flash:/logfile/
Directory of slot2#flash:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile.log
524288 KB total (36944 KB free)
3.
Transfer the files to the desired destination by using FTP or TFTP. (Details not shown.)
Collecting diagnostic log messages
1.
Save the diagnostic log messages from the diagnostic log file buffer to a diagnostic log file.
By default, the diagnostic log file is saved in the
diagfile
directory of the Flash memory on each
member device.
<Sysname> diagnostic-logfile save
The contents in the diagnostic log file buffer have been saved to the file
flash:/diagfile/diagfile.log
2.
Identify the diagnostic log file on each member device: