Table 1 Log and operating information
Category
Common log
Diagnostic log
Operating
statistics
NOTE:
For common and diagnostic log files, the system automatically compresses them into .gz files when
they are full.
Collecting common log messages
1.
Save common log messages from the log buffer to a log file.
By default, log files are saved in the logfile directory of the CF card on the active MPU (in
standalone mode) or global active MPU (in IRF mode).
<Sysname> logfile save
The contents in the log file buffer have been saved to the file
cfa0:/logfile/logfile8.log
2.
Identify the log files on each MPU:
# Display the log files on the active MPU (in standalone mode) or global active MPU (in IRF
mode).
<Sysname> dir cfa0:/logfile/
Directory of cfa0:/logfile
0 -rw-
1021104 KB total (421552 KB free)
# Display the log files on each standby MPU:
In standalone mode, display the log files on the standby MPU.
<Sysname> dir slot1#cfa0:/logfile/
Directory of slot1#cfa0:/logfile
1021104 KB total (421552 KB free)
In IRF mode, display the log files on each standby MPU.
<Sysname> dir chassis2#slot0#cfa0:/logfile/
Directory of chassis2#slot0#cfa0:/logfile
File name format
logfileX.log
diagfileX.log
file-basename.gz
21863 Jul 11 2013 16:00:37
0 -rw-
21863 Jul 11 2013 16:00:37
Content
Command execution and operational log messages.
Diagnostic log messages about device operation, including the
following items:
•
Parameter settings in effect when an error occurs.
•
Information about a card startup error.
•
Handshaking information between the MPU and LPU
when a communication error occurs.
Current operating statistics for feature modules, including the
following items:
•
Device status.
•
CPU status.
•
Memory status.
•
Configuration status.
•
Software entries.
•
Hardware entries.
logfile8.log
logfile8.log
2