< Home

word-boundary enable

Function

The word-boundary enable command enables search engine keyword-based exact match.

The undo word-boundary enable command disables search engine keyword-based exact match.

Format

word-boundary enable

undo word-boundary enable

Parameters

None

Views

Data filtering rule view

Default Level

2: Configuration level

Usage Guidelines

By default, the function is disabled.

If the function is disabled, the device performs the fuzzy match between the search keyword in the search engine and the keyword specified in the data filtering rule. For example, the search keyword sexual matches keyword sex in the data filtering rule, and the action (such as alert and block) of the rule will be taken.

After the function is enabled, the device performs the exact match between the search keyword in the search engine and the keyword specified in the data filtering rule. For example, word sexual matches only data filtering keyword sexual but not data filtering keyword sex.The action (such as alert and block) of the rule will be taken only when the search keyword exactly matches the keyword specified in the rule.

The function can be configured successfully only when the Search Engine Keywords option is selected in File Type.

Example

# Enable search engine keyword-based exact match.

<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] file-type name SEARCH-ENGINE-KEYWORD
[sysname-profile-data-filter-abc-rule-def] word-boundary enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic