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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
ftp-detect

ftp-detect

Function

The ftp-detect command enables antivirus (AV) scanning for the files transmitted using FTP.

The undo ftp-detect command disables AV scanning for the files transmitted using FTP.

Format

ftp-detect direction { both | download | upload } [ action { alert | block } ]

undo ftp-detect [ direction ] [ action ]

Parameters

Parameter Description Value
direction { both | download | upload }

Specifies the transmission direction of the files requiring AV scanning.

The direction can be one of the following:
  • both:

    The system detects viruses on both uploaded and downloaded files.

  • download:

    The system detects viruses on downloaded files.

  • upload:

    The system detects viruses on uploaded files.

action { alert | block }

Specifies the response action.

The response action can be either of the following (the default action is block):
  • alert:

    The system permits files and generates logs.

  • block:

    The system terminates sessions and generates logs.

Views

Antivirus profile view

Default Level

2: Configuration level

Usage Guidelines

By default, the system scans viruses on files both uploaded and downloaded using FTP.

If no response action is specified during the initial configuration, the default action block takes effect. If no response action is specified during configuration modification, the action configured last time will be used.

The client/server type of protocols supported by the AV function also applies to the direction.
  • Upload: The file is sent from a client to a server.
  • Download: The file is sent from a server to a client.

Connections are generally initiated by a client. To ensure that connections can be established and the AV process can be implemented successfully, configure the zone of the client as the source and that of the server as the destination when you configure the attack defense profile.

Example

# Create profile av_ftp, configure AV scanning on files uploaded using FTP, and set the response action to block.

<Huawei> system-view
[Huawei] profile type av name av_ftp
[Huawei-profile-av-av_ftp] ftp-detect direction upload action block
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 194648

Downloads: 118

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