< Home

rule name (data filtering profile view)

Function

The rule name command creates a data filtering rule and displays the data filtering view.

The undo rule command deletes an existing data filtering rule.

Format

rule name name

undo rule { name name | all }

Parameters

Parameter Description Value
name name Specifies the name of a data filtering rule. The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test"). The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).
all Deletes all existing data filtering rules. -

Views

Data filtering profile view

Default Level

2: Configuration level

Usage Guidelines

Run the rule name command to create a data filtering rule and access the data filtering rule view. If the data filtering rule already exists, the data filtering rule view is directly displayed. In the data filtering profile view, you can configure the application category, direction, predefined file type, user-defined file type, and action for data filtering.

Example

# Create a data filtering rule def in the data filtering profile abc and access the data filtering rule view.

<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]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >