< Home

pre-defined-keyword

Function

The pre-defined-keyword command references a predefined keyword in a keyword group and sets the keyword weight.

The undo pre-defined-keyword command deletes the referenced predefined keyword.

Format

pre-defined-keyword name name weight weight-value

undo pre-defined-keyword { name name | all }

Parameters

Parameter Description Value
name name Specifies the name of a predefined keyword referenced by a keyword group. The keyword must be one that exists in the system.
weight weight-value Specifies the weight value of a predefined keyword. The value is an integer ranging from 1 to 255. The weight value represents the confidentiality and importance of a keyword. The higher the weight value, the more important the keyword. The device calculates the sum weights of all keywords based on the number of times the keywords appear in the data to be detected.
all Deletes all predefined keywords. -

Views

Keyword group view

Default Level

2: Configuration level

Usage Guidelines

Predefined keywords are the default keywords that can be identified by the system, including bank card numbers (bank-card-number), credit card numbers (credit-card-number), social security numbers (social-security-number), ID card numbers (id-card-number), mobile phone numbers (china-mobile-phone-number, china-telecom-phone-number, and china-unicom-phone-number), and confidentiality keywords (confidentiality, including confidential, secret, and top secret).

Example

# Reference the predefined keyword bank-card-number in keyword group abc and set the keyword weight to 20.

<sysname> system-view
[sysname] keyword-group name abc
[sysname-keyword-group-abc] pre-defined-keyword name bank-card-number weight 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >