< Home

av scan-mode

Function

The av scan-mode command configures the antivirus scan mode.

Format

av scan-mode { full | quick }

Parameters

Parameter Description Value

full

Indicates that the antivirus scan mode is full-text scanning.

-

quick

Indicates that the antivirus scan mode is quick scanning.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the antivirus scan mode is full-text scanning.

After an upgrade from a version earlier than V600R007C00 to V600R007C00 or a later version, only the quick scanning mode is available by default. To switch to the full-text scanning mode, you must upgrade the antivirus signature database to V600R007C00 or later.

Antivirus supports two virus scan modes:
  • Full-text scanning: After this mode is enabled, in-depth content detection is performed on files. This mode features a high detection rate of virus files but a low detection speed and high performance consumption.

  • Quick scanning: After this mode is enabled, fast content detection is performed on files. This mode features a high detection speed and low performance consumption but a relatively low detection rate of virus files.

Select the antivirus scan mode as required.

Configuration Impact

When the antivirus scan mode is switched, the virus exceptions configured in the root system and virtual system cannot be used. Before the switching, you must run the undo exception av-signature-id all command to delete all virus exceptions configured in the root system and virtual system. Note that this command is based on the antivirus configuration file. To delete virus exceptions in all antivirus configuration files, run this command for multiple times.

This command can be configured only in the root system.

Example

# Set the antivirus scan mode to full-text scanning.

<sysname> system-view
[sysname] av scan-mode full
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >