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).
create antivirus_scan policy

create antivirus_scan policy


The create antivirus_scan policy command is used to create scanning policies, including period not to scan, types of files not to scan, and the maximum size of a file to be scanned.


create antivirus_scan policy name=? { unscan_time=? | unscan_file_type=? | unscan_file_size=? }





name=? Scanning policy name.

The value consists of 1 to 127 ASCII characters including numbers, letters, underscores (_), hyphens (-), and periods (.).

unscan_time=? Duration when scanning is not performed.

The value is in the format of "HH:MM-HH:MM", for example, "09:00-12:00". A maximum of five durations can be configured. Separate durations with commas (,). For example, "00:00-04:30,22:30-23:59".

unscan_file_type=? Types of files that are not to be scanned.

The value consists of 1 to 8 ASCII characters, including numbers and letters. The file type can not be the same. A maximum of 500 types can be configured. Separate different types with commas (,). The total string contains a maximum of 4095 characters (including commas). For example, "iso,bmp".

unscan_file_size=? Maximum logical size of a file to be scanned.

The value is an integer ranging from "0" to "4096". The default value is "0". "0" indicates that the size of a file to be scanned is not restricted.



Usage Guidelines

  • Before running this command, ensure that the system is running correctly.
  • Before running this command, ensure that the Anti-Virus module is running correctly.


Create scanning policies that file scanning is not performed during "00:00-04:30" and "22:30-23:59", "iso", and "bmp" files are not to be scanned, and the maximum size of a file to be scanned is 500 MB.

admin:/>create antivirus_scan policy name=policy1 unscan_time=00:00-04:30,22:30-23:59 unscan_file_type=iso,bmp unscan_file_size=500
Command executed successfully.

System Response


Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 383129

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next