Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure IPS custom signature.

  config ips custom
      Description: Configure IPS custom signature.
      edit <tag>
          set signature {string}
          set sig-name {string}
          set rule-id {integer}
          set severity {user}
          set location {user}
          set os {user}
          set application {user}
          set protocol {user}
          set status [disable|enable]
          set log [disable|enable]
          set log-packet [disable|enable]
          set action [pass|block]
          set comment {string}
      next
  end

config ips custom

Parameter Name Description Type Size
signature Custom signature enclosed in single quotes. string Maximum length: 1023
sig-name Signature name. string Maximum length: 63
rule-id Signature ID. integer Minimum value: 0 Maximum value: 4294967295
severity Relative severity of the signature, from info to critical. Log messages generated by the signature include the severity. user Not Specified
location Protect client or server traffic. user Not Specified
os Operating system(s) that the signature protects. Blank for all operating systems. user Not Specified
application Applications to be protected. Blank for all applications. user Not Specified
protocol Protocol(s) that the signature scans. Blank for all protocols. user Not Specified
status Enable/disable this signature.
disable: Disable status.
enable: Enable status.
option -
log Enable/disable logging.
disable: Disable logging.
enable: Enable logging.
option -
log-packet Enable/disable packet logging.
disable: Disable packet logging.
enable: Enable packet logging.
option -
action Default action (pass or block) for this signature.
pass: Pass or allow matching traffic.
block: Block or drop matching traffic.
option -
comment Comment. string Maximum length: 63

Configure IPS custom signature.

  config ips custom
      Description: Configure IPS custom signature.
      edit <tag>
          set signature {string}
          set sig-name {string}
          set rule-id {integer}
          set severity {user}
          set location {user}
          set os {user}
          set application {user}
          set protocol {user}
          set status [disable|enable]
          set log [disable|enable]
          set log-packet [disable|enable]
          set action [pass|block]
          set comment {string}
      next
  end

config ips custom

Parameter Name Description Type Size
signature Custom signature enclosed in single quotes. string Maximum length: 1023
sig-name Signature name. string Maximum length: 63
rule-id Signature ID. integer Minimum value: 0 Maximum value: 4294967295
severity Relative severity of the signature, from info to critical. Log messages generated by the signature include the severity. user Not Specified
location Protect client or server traffic. user Not Specified
os Operating system(s) that the signature protects. Blank for all operating systems. user Not Specified
application Applications to be protected. Blank for all applications. user Not Specified
protocol Protocol(s) that the signature scans. Blank for all protocols. user Not Specified
status Enable/disable this signature.
disable: Disable status.
enable: Enable status.
option -
log Enable/disable logging.
disable: Disable logging.
enable: Enable logging.
option -
log-packet Enable/disable packet logging.
disable: Disable packet logging.
enable: Enable packet logging.
option -
action Default action (pass or block) for this signature.
pass: Pass or allow matching traffic.
block: Block or drop matching traffic.
option -
comment Comment. string Maximum length: 63