Fortinet white logo
Fortinet white logo

CLI Reference

config webfilter content

config webfilter content

Configure Web filter banned word table.

config webfilter content
    Description: Configure Web filter banned word table.
    edit <id>
        set comment {var-string}
        config entries
            Description: Configure banned word entries.
            edit <name>
                set action [block|exempt]
                set lang [western|simch|...]
                set pattern-type [wildcard|regexp]
                set score {integer}
                set status [enable|disable]
            next
        end
        set name {string}
    next
end

config webfilter content

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

config entries

Parameter

Description

Type

Size

Default

action

Block or exempt word when a match is found.

option

-

block

Option

Description

block

Block matches.

exempt

Exempt matches.

lang

Language of banned word.

option

-

western

Option

Description

western

Western.

simch

Simplified Chinese.

trach

Traditional Chinese.

japanese

Japanese.

korean

Korean.

french

French.

thai

Thai.

spanish

Spanish.

cyrillic

Cyrillic.

name

Banned word.

string

Maximum length: 127

pattern-type

Banned word pattern type: wildcard pattern or Perl regular expression.

option

-

wildcard

Option

Description

wildcard

Wildcard pattern.

regexp

Perl regular expression.

score

Score, to be applied every time the word appears on a web page.

integer

Minimum value: 0 Maximum value: 4294967295

10

status

Enable/disable banned word.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

config webfilter content

config webfilter content

Configure Web filter banned word table.

config webfilter content
    Description: Configure Web filter banned word table.
    edit <id>
        set comment {var-string}
        config entries
            Description: Configure banned word entries.
            edit <name>
                set action [block|exempt]
                set lang [western|simch|...]
                set pattern-type [wildcard|regexp]
                set score {integer}
                set status [enable|disable]
            next
        end
        set name {string}
    next
end

config webfilter content

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

config entries

Parameter

Description

Type

Size

Default

action

Block or exempt word when a match is found.

option

-

block

Option

Description

block

Block matches.

exempt

Exempt matches.

lang

Language of banned word.

option

-

western

Option

Description

western

Western.

simch

Simplified Chinese.

trach

Traditional Chinese.

japanese

Japanese.

korean

Korean.

french

French.

thai

Thai.

spanish

Spanish.

cyrillic

Cyrillic.

name

Banned word.

string

Maximum length: 127

pattern-type

Banned word pattern type: wildcard pattern or Perl regular expression.

option

-

wildcard

Option

Description

wildcard

Wildcard pattern.

regexp

Perl regular expression.

score

Score, to be applied every time the word appears on a web page.

integer

Minimum value: 0 Maximum value: 4294967295

10

status

Enable/disable banned word.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.