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 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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=? 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
    ------------  -------------  -----------------------  -------------------------  --------------  ----------------
    NAS           No             10                       10                         0               FileSystem0010000
  • Query the audit log policy of the NAS service.

    admin:/>show audit_strategy service_type=NAS
    Service Type : NAS
    Audit Enabled : Yes
    Single File Size(MB) : 10
    Reserve File Num(K): 10
    File System ID : 0
    File System Name : FileSystem0010000

System Response

The following table describes the parameter meanings.



Service Type

Service type.

Audit Enabled

Audit switch.

Single File Size(MB)

Size of a single file.

Reserve File Num(K)

Maximum number of reserved files.

File System ID

File system ID.

File System Name

File system name.

Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 318316

Downloads: 253

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next