5
0 -rw- 161321 Apr 27 2020 16:16:00 diagfile1.log
3710740 KB total (2508852 KB free)
# Display the diagnostic log file on each standby MPU for the default MDC:
In standalone mode, display the diagnostic log file on the standby MPU.
<Sysname> dir slot1#flash:/diagfile/
Directory of flash:/diagfile
0 -rw- 161321 Apr 27 2020 16:16:00 diagfile1.log
3710740 KB total (2508852 KB free)
In IRF mode, display the diagnostic log file on each standby MPU.
<Sysname> dir chassis2#slot0#flash:/diagfile/
Directory of chassis2#slot0#flash:/diagfile
0 -rw- 161321 Apr 27 2020 16:16:00 diagfile1.log
3710740 KB total (3002308 KB free)
NOTE:
If a subordinate chassis has two MPUs, make sure you identify and export the diagnostic log
files on both MPUs.
# Display the diagnostic 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:/diagfile/
Directory of flash:/diagfile
0 -rw- 349 Apr 27 2020 16:21:38 diagfile1.log
3710740 KB total (2508852 KB free)
<Sysname> dir flash:/diagfile/
Directory of flash:/diagfile
0 -rw- 349 Apr 27 2020 16:24:41 diagfile1.log
3710740 KB total (2508852 KB free)
3.
Transfer the files to the desired destination by using FTP or TFTP. (Details not shown.)
Collecting operating statistics
You can collect operating statistics by saving the statistics to a file or displaying the statistics on the
screen.
When you collect operating statistics, follow these guidelines:
•
Log in to the device through a network port or management port instead of the console port, if
possible. Network and management ports are faster than the console port.
•
Do not execute commands while operating statistics are being collected.
•
As a best practice, save operating statistics to a file to retain the information.