2
Category
File name format
Content
following items:
•
Parameter settings in effect when an error occurs.
•
Information about a device startup error.
•
Handshaking information between member devices when
a communication error occurs.
Operating
statistics
file-basename.gz
Current operating 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 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
1048576 KB total (38812 KB free)
# Display the log file on each subordinate device:
<Sysname> dir slot2#flash:/logfile/
Directory of flash:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile.log
1048576 KB total (38812 KB free)
3.
Transfer the files to the desired destination by using FTP, TFTP, or USB. (Details not shown.)
Collecting diagnostic log messages
1.
Save 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 log file on each member device:
# Display the log file on the master device.
<Sysname> dir flash:/diagfile/
Directory of flash:/diagfile