< Home

direction (data filtering rule view)

Function

The direction command configures the transfer direction of the data to be filtered.

The undo direction command restores the default transfer direction of the data to be filtered. The default value is upload.

Format

direction { both | download | upload }

undo direction

Parameters

Parameter Description Value
both Indicates data filtering in both the upload and download directions. -
download Indicates data filtering in the download direction. -
upload Indicates data filtering in the upload direction. -

Views

Data filtering rule view

Default Level

2: Configuration level

Usage Guidelines

The default direction for data filtering is upload.

upload indicates that a user uploads data to a security zone. download indicates that a user downloads data from a security zone.

Example

# Configure data filtering in the download direction in the data filtering rule def.

<sysname> system-view
[sysname] profile type data-filter name abc
[sysname-profile-data-filter-abc] rule name def
[sysname-profile-data-filter-abc-rule-def] direction download
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >