Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure Web filter banned word table.

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

config webfilter content

Parameter Name Description Type Size
name Name of table. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
pattern-type Banned word pattern type: wildcard pattern or Perl regular expression.
wildcard: Wildcard pattern.
regexp: Perl regular expression.
option -
status Enable/disable banned word.
enable: Enable setting.
disable: Disable setting.
option -
lang Language of banned word.
western: Western.
simch: Simplified Chinese.
trach: Traditional Chinese.
japanese: Japanese.
korean: Korean.
french: French.
thai: Thai.
spanish: Spanish.
cyrillic: Cyrillic.
option -
score Score, to be applied every time the word appears on a web page (0 - 4294967295, default = 10). integer Minimum value: 0 Maximum value: 4294967295
action Block or exempt word when a match is found.
block: Block matches.
exempt: Exempt matches.
option -

Configure Web filter banned word table.

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

config webfilter content

Parameter Name Description Type Size
name Name of table. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
pattern-type Banned word pattern type: wildcard pattern or Perl regular expression.
wildcard: Wildcard pattern.
regexp: Perl regular expression.
option -
status Enable/disable banned word.
enable: Enable setting.
disable: Disable setting.
option -
lang Language of banned word.
western: Western.
simch: Simplified Chinese.
trach: Traditional Chinese.
japanese: Japanese.
korean: Korean.
french: French.
thai: Thai.
spanish: Spanish.
cyrillic: Cyrillic.
option -
score Score, to be applied every time the word appears on a web page (0 - 4294967295, default = 10). integer Minimum value: 0 Maximum value: 4294967295
action Block or exempt word when a match is found.
block: Block matches.
exempt: Exempt matches.
option -