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

Reminder

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

upgrade

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
change antivirus_scan policy

change antivirus_scan policy

Function

The change antivirus_scan policy command is used to modify the scanning policies, including the durations during which scanning is not performed, types of files that are not to be scanned, and the maximum size of a file to be scanned.

Format

change antivirus_scan policy id=? { clear_unscan_time=? | unscan_time=? | clear_unscan_file_type=? | unscan_file_type=? | unscan_file_size=? }

Parameters

Parameter

Description

Value

id=?

ID of the policy to be modified.

To obtain the value, run the "show antivirus_scan policy" command.

unscan_time=?

Duration during which 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".

clear_unscan_time=?

Clears the duration during which scanning is not performed.

The value is "yes".

clear_unscan_file_type=?

Clears the types of files that are not to be scanned.

The value is "yes".

Level

Administrator

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.

Example

Modify scanning policy "1" by setting the duration during which scanning is not performed to "22:30-23:59",configuring that "jpg" files are not scanned, and setting the maximum logical size of a file to be scanned to "200 MB".

admin:/>change antivirus_scan policy id=1 unscan_time=22:30-23:59 unscan_file_type=jpg unscan_file_size=200 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 319215

Downloads: 38

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