3
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
<Sysname> logfile save
The contents in the log file buffer have been saved to the file
flash:/logfile/logfile1.log
<Sysname> switchback
2.
On the default MDC, identify the log file on each MPU for each MDC:
# Display the log file on the active MPU (in standalone mode) or global active MPU (in IRF
mode) for the default MDC.
<Sysname> dir flash:/logfile/
Directory of flash:/logfile
0 -rw- 97764 Apr 27 2020 15:55:32 logfile1.log
3710740 KB total (2508852 KB free)
# Display the log file on each standby MPU for the default MDC:
In standalone mode, display the log file on the standby MPU.
<Sysname> dir slot1#flash:/logfile/
Directory of slot1#flash:/logfile
0 -rw- 21863 Apr 27 2020 16:00:37 logfile1.log
3710740 KB total (3002308 KB free)
In IRF mode, display the log file on each standby MPU.
<Sysname> dir chassis2#slot1#flash:/logfile/
Directory of chassis2#slot1#flash:/logfile
0 -rw- 21863 Apr 27 2020 16:00:37 logfile1.log
3710740 KB total (3273812 KB free)
NOTE:
If a subordinate chassis has two MPUs, make sure you identify and export the log files on
both MPUs.
# Display the log file on each MPU for each non-default MDC.
<Sysname> dir flash:/mdc/
Directory of flash:/mdc
0 drw- - Apr 27 2020 14:56:50 mdc2
1 drw- - Apr 27 2020 16:48:04 mdc3
<Sysname> dir flash:/mdc/mdc2/logfile/
Directory of flash:/mdc/mdc2/logfile
0 -rw- 465 Apr 27 2020 16:08:51 logfile1.log
3710740 KB total (2508852 KB free)
<Sysname> dir flash:/mdc/mdc3/logfile/
Directory of flash:/mdc/mdc3/logfile
0 -rw- 465 Apr 27 2020 16:10:39 logfile1.log