< Home

display diagnostic-information

Function

The display diagnostic-information command displays diagnostic information for the system.

Format

display diagnostic-information [ module-name ]

Parameters

Parameter Description Value
module-name

Specifies the name of the service module.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Output for the display diagnostic-information command includes output from multiple display commands. Running the display diagnostic-information command is like running the above display commands in batches. The diagnosis modes are different on different devices. Therefore, the output of this command covers different display commands.

Using this command, you can collect a range of information that will help you locate problems in case of system failure.

Precautions

  • If multiple users simultaneously run this command or one user runs this command for multiple times in a short period of time, the system displays a message indicating that this command is locked by other commands.
  • If a user runs the reboot save diagnostic-information command when another user is running the display diagnostic-information command, a message indicating that the command is locked by another user is displayed.
  • While running the display diagnostic-information command to display the diagnostic information of the current system, you should not execute the master/slave MPU switchover manually at the same time.
  • This command is used to locate faults and collect diagnosis information. The collection may affect system performance, for example, the CPU usage may become high. You are advised not to run this command when the system is running properly.

Example

# Display the diagnostic information about policy module.

<sysname> display diagnostic-information policy                             
2016-09-28 05:51:33.840 +08:00                                                  
====================================================================            
  ===============display policy accelerate status===============                
====================================================================            
2016-09-28 05:51:33.880 +08:00                                                  
Policy accelerated,the status is up to date.                                    
Policy accelerate standby function is disabled.                                 
                                                                                
===============================================================                 
  ===============display location-acc status===============                     
===============================================================                 
2016-09-28 05:51:33.990 +08:00                                                  
 LOCATION IDENTIFY ACCELERATE STATUS                                            
 ------------------------------------                                           
 accelerate success                                                             
 ------------------------------------                                           
                                                                                
====================================================================            
  ===============display security-policy rule all===============                
====================================================================            
2016-09-28 05:51:34.090 +08:00                                                  
Total:5                                                                         
RULE ID  RULE NAME                         STATE      ACTION       HITS       
------------------------------------------------------------------------------- 
1        policy_ipsec_1                    enable     permit       0            
2        policy_ipsec_2                    enable     permit       0            
3        policy_ipsec_3                    enable     permit       198          
4        policy_ipsec_4                    enable     permit       0            
0        default                           enable     permit       93349        
------------------------------------------------------------------------------- 
===============================================================                 
  ===============display nat-policy rule all===============                     
===============================================================                 
2016-09-28 05:51:34.190 +08:00                                                  
Total:1                                                                         
RULE ID  RULE NAME                         STATE      ACTION       HITS       
------------------------------------------------------------------------------- 
0        default                           enable     no-nat       0            
------------------------------------------------------------------------------- 
                                                                                
                                                                             
===============================================================                 
  ===============display nat-policy rule all===============                     
===============================================================                 
2016-09-28 05:51:34.190 +08:00                                                  
Total:1                                                                         
RULE ID  RULE NAME                         STATE      ACTION       HITS       
------------------------------------------------------------------------------- 
0        default                           enable     no-nat       0            
------------------------------------------------------------------------------- 
                                                                                
=======================================================================         
  ===============display policy-based-route rule all===============             
=======================================================================         
2016-09-28 05:51:34.290 +08:00                                                  
Total:1                                                                         
RULE ID  RULE NAME                         STATE      ACTION       HITS       
------------------------------------------------------------------------------- 
0        default                           enable     no-pbr       0            
------------------------------------------------------------------------------- 
Table 1 Description of the display diagnostic-information command output

Item

Description

==================================================================== ===============display policy accelerate status=============== ==================================================================== 2016-09-28 05:51:33.880 +08:00 Policy accelerated,the status is up to date. Policy accelerate standby function is disabled.

display policy accelerate status command output.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >