No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show audit_strategy

show audit_strategy


The show audit_strategy command is used to query audit log policies.


show audit_strategy [ service_type=? ]





service_type=? Audit log service type.

To obtain the value, run the "show audit_strategy" command without parameters.



Usage Guidelines

  • Run the "show audit_strategy" command to query the audit log policies of all services.
  • Run the "show audit_strategy service_type=?" command to query the audit log policy of a specific service.


  • Query the audit log policies of all services.

    admin:/>show audit_strategy
    Service Type  Audit Enabled  Single Logfile Size(MB)  Reserve Logfile Number(K)  File System ID  File System Name  Auto Delete Switch  Record Fail Action  Audit Paused  File Retention Days  Available Capacity(GB)
    ------------  -------------  -----------------------  -------------------------  --------------  ----------------  ------------------  ------------------  ------------  -------------------  ----------------------
    NAS           Yes            50                       100                        0               FileSystem001     On                  Interrupt Service        No            0                    0  
  • Query the audit log policy of the NAS service.

    admin:/>show audit_strategy service_type=NAS
      Service Type              : NAS         
      Audit Enabled             : Yes          
      Single Logfile Size(MB)   : 50          
      Reserve Logfile Number(K) : 100          
      File System ID            : 0          
      File System Name          : FileSystem001          
      Auto Delete Switch        : On          
      Record Fail Action        : Interrupt Service 
      Audit Paused              : No          
      File Retention Days       : 0           
      Available Capacity(GB)    : 0

System Response

The following table describes the parameter meanings.



Service Type

Audit log service type.

Audit Enabled

Switch of starting and stopping audit log collection.

Audit Paused

Switch of suspending audit log collection.

File System ID

Audit log file system ID.

File System Name

Audit log file system name.

Single Logfile Size(MB)

Size of a single audit log.

Reserve Logfile Number(K)

Number of reserved audit logs.

File Retention Days

Number of days that audit logs are reserved.

Available Capacity(GB)

Available capacity threshold of the audit log file system.

Auto Delete Switch

Automatic deletion switch of audit logs.

Record Fail Action

Service response after audit logs fail to be recorded.

Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 378157

Downloads: 49

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next