
3
# Display the log file on the master device.
<Sysname> dir cfa0:/logfile/
Directory of cfa0:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile.log
1021104 KB total (421552 KB free)
# Display the log file on each subordinate device.
<Sysname> dir slot2#cfa0:/logfile/
Directory of slot2#cfa0:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile.log
1021104 KB total (421552 KB free)
3.
Transfer the files to the desired destination by using FTP, TFTP, or USB. (Details not shown.)
Collecting common log messages on a standalone distributed device or on an IRF fabric that
contains distributed devices
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 storage medium 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 file on each MPU:
# Display the log file on the active MPU (in standalone mode) or global active MPU (in IRF
mode).
<Sysname> dir cfa0:/logfile/
Directory of cfa0:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile8.log
1021104 KB total (421552 KB free)
# Display the log file on each standby MPU:
{
In standalone mode, display the log file on the standby MPU.
<Sysname> dir slot1#cfa0:/logfile/
Directory of slot1#cfa0:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile8.log
1021104 KB total (421552 KB free)
{
In IRF mode, display the log file on each standby MPU.
<Sysname> dir chassis2#slot0#cfa0:/logfile/
Directory of chassis2#slot0#cfa0:/logfile
0 -rw- 21863 Jul 11 2013 16:00:37 logfile8.log
1021104 KB total (421552 KB free)
NOTE:
If a subordinate chassis has two MPUs, make sure you identify and export the log files on both
MPUs.
3.
Transfer the files to the desired destination by using FTP, TFTP, or USB. (Details not shown.)