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

OceanStor 9000 V5 7.0 Command Reference 03

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 av scanpolicy

create av scanpolicy

Function

The create av scanpolicy command is used to create scan policy information.

Format

create av scanpolicy <name> [unscanned_filesize=?] [unscanned_filetype=?] [unscanned_time=?]

Parameters

Parameter

Description

Value

name Name of the scan policy.

Character string. The value can contain 1 to 127 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).

unscanned_filesize Size of unscanned files.

The value is an integer ranging from 0 to 4096 (unit: MB).

unscanned_filetype Type of unscanned files.

Character string contained in brackets ([]). The value can contain 1 to 500 groups of 1 to 8 characters, including letters and digits. Each group of character strings is surrounded by quotation marks (") and separated by commas (,). For example, ["rar","tmp"].

Note: If empty brackets ([]) are entered, all files are scanned.

unscanned_time Period of time when scans are not performed.

Character string contained in brackets ([]). The value can contain 1 to 5 groups of characters indicating the time (for example, 08:00-12.00). Each group of character strings is surrounded by quotation marks (") and separated by commas (,). For example, ["01:00-03:00","09:00-12:00"].

Note: If empty brackets ([]) are entered, scans can be trigged at any time in a day.

Level

Administrator

Usage Guidelines

None.

Example

Create scan policy information.

admin:/>create av scanpolicy policy001 unscanned_filesize=1024 unscanned_time=["11:00-19:00"] unscanned_filetype=["rar"]
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24735

Downloads: 7

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