Collecting Diagnostic Log Messages; Collecting Operating Statistics - H3C S5560-EI Series Troubleshooting Manual

Hide thumbs Also See for S5560-EI Series:
Table of Contents

Advertisement

Collecting diagnostic log messages

1.
Save the 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
member device.
<Sysname> diagnostic-logfile save
The contents in the diagnostic log file buffer have been saved to the file
flash:/diagfile/diagfile.log
2.
Identify the diagnostic log file on each member device:
# Display the diagnostic log file on the master device.
<Sysname> dir flash:/diagfile/
Directory of flash:/diagfile
0 -rw-
524288 KB total (107944 KB free)
# Display the diagnostic log file on each subordinate device:
<Sysname> dir slot2#flash:/diagfile/
<Sysname> dir slot2#flash:/diagfile/
Directory of slot2#flash:/diagfile
0 -rw-
524288 KB total (107944 KB free)
3.
Transfer the files to the desired destination by using FTP, TFTP, or USB. (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 (if any) instead of the console port
as long as possible. Network and management ports are faster than the console port.
Do not execute commands during operating statistics collection.
To ensure information completeness, H3C recommends that you save the statistics to a file.
NOTE:
The amount of time to collect statistics increases along with the number of IRF member devices.
To collect operating statistics:
1.
Disable pausing between screens of output if you want to display operating statistics on the screen.
Skip this step if you are saving statistics to a file.
<Sysname> screen-length disable
2.
Collect operating statistics for multiple feature modules.
<Sysname> display diagnostic-information
161321 Jul 11 2013 16:16:00
161321 Jul 11 2013 16:16:00
diagfile.log
diagfile.log
3

Advertisement

Table of Contents
loading

Table of Contents