4
3710740 KB total (2508852 KB free)
3.
Transfer the files to the desired destination by using FTP or TFTP. (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
MPU.
# Save diagnostic log messages to the diagnostic log file on the default MDC (
Admin
).
<Sysname> diagnostic-logfile save
The contents in the diagnostic log file buffer have been saved to the file
flash:/diagfile/diagfile1.log
# Identify non-default MDCs created on the device.
<Sysname> display mdc
ID Name Status
---------------------------------
1 Admin active
2 mdc2 active
3 mdc3 active
# Save diagnostic log messages to the diagnostic log file on each non-default MDC.
<Sysname> system-view
[Sysname] switchto mdc mdc2
******************************************************************************
* Copyright (c) 2004-2020 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
<Sysname> diagnostic-logfile save
The contents in the diagnostic log file buffer have been saved to the file
flash:/diagfile/diagfile1.log
<Sysname> switchback
[Sysname] switchto mdc 3
******************************************************************************
* Copyright (c) 2004-2020 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
<Sysname> diagnostic-logfile save
The contents in the diagnostic log file buffer have been saved to the file
flash :/diagfile/diagfile1.log
<Sysname> switchback
2.
On the default MDC, identify the diagnostic log file on each MPU for each MDC:
# Display the diagnostic log file on the active MPU (in standalone mode) or global active MPU
(in IRF mode) for the default MDC.
<Sysname> dir flash:/diagfile/
Directory of flash:/diagfile