To create a morphology list, use the following command:
Admin@nodename# create libraries morphology <parameter>
Specify the following parameters:
Parameter |
Description |
---|---|
name |
Morphology list name. |
description |
List description. |
threat-lvl |
Threat level:
|
threshold |
Morphology category weight, which needs to be exceeded for the rule to be triggered. |
type |
List type:
Crontab format: (minutes: 0-59) (hours: 0-23) (days of the month: 1-31) (month: 1-12) (days of the week: 0-6; where 0 is Sunday). You can set each field as follows:
|
words |
Words and phrases to add to the list.
To add words and phrases, use the following command: Admin@nodename# create libraries morphology ... words new word "word or phrase" weight <weight> |
To edit the list, use the following command:
Admin@nodename# set libraries morphology <morphology-list-name> <parameter>
Specify the parameters for which the values will be updated. The parameters are listed in the table above. To add new words or phrases to a list, use the following command:
Admin@nodename# set libraries morphology <morphology-list-name> words new word "word or phrase" weight <weight>
To replace a word in a list, use the following command:
Admin@nodename# set libraries morphology <morphology-list-name> words ( word "old word or phrase" weight <weight> ) word "new word or phrase" weight <weight>
To delete an entire morphology list or words from it, use the following commands:
Admin@nodename# delete libraries morphology <morphology-list-name> Admin@nodename# delete libraries morphology <morphology-list-name> words ( word "word or phrase" weight <weight> )
To display information about all existing morphology lists, use the following command:
Admin@nodename# show libraries morphology
To display information about an individual morphology list, append the list name. To display a morphology list, use the following command:
Admin@nodename# show libraries morphology <morphology-list-name> words