< Home

assign function av

Function

The assign function av command enables antivirus on a virtual system.

The undo assign function av command disables antivirus on a virtual system.

Format

assign function av

undo assign function av

Parameters

None

Views

Management view of the virtual system

Default Level

2: Configuration level

Usage Guidelines

By default, antivirus is enabled on a virtual system.

If antivirus is disabled on a virtual system:

  • The antivirus profile-related configurations become invalid, but the system reserves all configurations. You can use display-related commands to view these configurations.

    You can delete existing antivirus profiles (excluding the default profiles) but cannot create, clone, or modify antivirus profiles.

  • If the virtual system administrator has accessed the antivirus profile view when the root system administrator disables antivirus on the virtual system, the configurations in the antivirus profile view cannot be modified. The virtual system administrator cannot access the antivirus profile view after exiting the view. To be specific, the system does not allow any modification of the existing antivirus profile.

Example

# Disable antivirus on virtual system vsys1.

<sysname> system-view
[sysname] vsys name vsys1
[sysname-vsys-vsys1] undo assign function av
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >