< Home

nfs-detect (APT defense profile view)

Function

The nfs-detect command enables file reputation detection for NFS.

The undo nfs-detect command disables file reputation detection for NFS.

Format

nfs-detect direction { both | download | upload }

undo nfs-detect [ direction ]

Parameters

Parameter Description Value
direction

Specifies the transmission direction of the files.

The direction can be one of the following (the default direction is both):
  • both:

    Indicates that files in the upload and download directions are inspected.

  • download:

    Indicates that files in the download direction are inspected.

  • upload:

    Indicates that files in the upload direction are inspected.

Views

APT defense profile view

Default Level

2: Configuration level

Usage Guidelines

By default, file reputation detection is enabled for NFS.

NFS supports only the alert action.

Example

# Create a profile named apt_nfs and set the file inspection direction to upload.

<sysname> system-view
[sysname] profile type aapt name apt_nfs
[sysname-profile-aapt-apt_nfs] nfs-detect direction upload
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >