4 
 
NOTE: 
The amount of time to collect statistics increases along with the number of IRF member devices. 
 
To collect operating statistics: 
1.  Collect operating statistics for multiple feature modules. 
<Sysname> display diagnostic-information 
Save or display diagnostic information (Y=save, N=display)? [Y/N] : 
2.  At the prompt, choose to save or display operating statistics: 
# To save operating statistics, enter y at the prompt and then specify the destination file path. 
Save or display diagnostic information (Y=save, N=display)? [Y/N] :y 
Please input the file 
name(*.tar.gz)[flash:/diag_Sysname_20171116-165524.tar.gz] :flash:/diag.tar.gz 
Diagnostic information is outputting to flash:/diag.tar.gz. 
Please wait... 
Save successfully. 
<Sysname> dir flash:/ 
Directory of flash: 
… 
   6 -rw-      898180 Jun 26 2013 09:23:51   diag.tar.gz 
 
1038336 KB total (963860 KB free) 
# To display operating statistics on the monitor terminal, enter n at the prompt. (The output from 
this command varies by software version.) 
Save or display diagnostic information (Y=save, N=display)? [Y/N] :N 
=============================================== 
  ===============display clock=============== 
23:49:53 UTC Tue 01/01/2016 
================================================= 
  ===============display version=============== 
H3C Comware Software, Version 7.1.070, ESS 1108 
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved. 
H3C S6520X-30QC-EI uptime is 0 weeks, 0 days, 5 hours, 57 minutes 
Last reboot reason : Cold reboot 
 
Boot image: flash:/s6520x-cmw710-boot-e1108.bin 
Boot image version: 7.1.070, ESS 1108 
  Compiled Jul 18 2017 16:00:00 
System image: flash:/s6520x-cmw710-system-e1108.bin 
System image version: 7.1.070, ESS 1108 
  Compiled Jul 18 2017 16:00:00 
…… 
3.  Display the content of the operating statistics file: 
# Extract and decompress the operating statistics file. 
<Sysname> tar extract archive-file diag_Sysname_20171116-165524.tar.gz 
Extracting archive flash:/diag_Sysname_20171116-165524.tar.gz Done. 
<Sysname> gunzip diag_Sysname_20171116-165524.gz 
Decompressing file flash:/diag_Sysname_20171116-165524.gz.... Done. 
# Display the content of the operating statistics file.