Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure replacement message groups.

  config system replacemsg-group
      Description: Configure replacement message groups.
      edit <name>
          set comment {var-string}
          set group-type [default|utm|...]
          config mail
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config http
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config webproxy
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config ftp
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config nntp
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config fortiguard-wf
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config spam
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config alertmail
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config admin
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config auth
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config sslvpn
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config device-detection-portal
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config nac-quar
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config traffic-quota
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config utm
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config custom-message
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config icap
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
      next
  end

config system replacemsg-group

Parameter Name Description Type Size
comment Comment. var-string Maximum length: 255
group-type Group type.
default: Per-vdom replacement messages.
utm: For use with UTM settings in firewall policies.
auth: For use with authentication pages in firewall policies.
option -

config mail

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config http

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config webproxy

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config ftp

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config nntp

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config fortiguard-wf

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config spam

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config alertmail

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config admin

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config auth

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config sslvpn

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config device-detection-portal

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config nac-quar

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config traffic-quota

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config utm

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config custom-message

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config icap

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

Configure replacement message groups.

  config system replacemsg-group
      Description: Configure replacement message groups.
      edit <name>
          set comment {var-string}
          set group-type [default|utm|...]
          config mail
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config http
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config webproxy
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config ftp
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config nntp
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config fortiguard-wf
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config spam
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config alertmail
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config admin
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config auth
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config sslvpn
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config device-detection-portal
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config nac-quar
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config traffic-quota
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config utm
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config custom-message
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
          config icap
              Description: Replacement message table entries.
              edit <msg-type>
                  set buffer {var-string}
                  set header [none|http|...]
                  set format [none|text|...]
              next
          end
      next
  end

config system replacemsg-group

Parameter Name Description Type Size
comment Comment. var-string Maximum length: 255
group-type Group type.
default: Per-vdom replacement messages.
utm: For use with UTM settings in firewall policies.
auth: For use with authentication pages in firewall policies.
option -

config mail

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config http

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config webproxy

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config ftp

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config nntp

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config fortiguard-wf

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config spam

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config alertmail

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config admin

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config auth

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config sslvpn

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config device-detection-portal

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config nac-quar

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config traffic-quota

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config utm

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config custom-message

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -

config icap

Parameter Name Description Type Size
buffer Message string. var-string Maximum length: 32768
header Header flag.
none: No header type.
http: HTTP
8bit: 8 bit.
option -
format Format flag.
none: No format type.
text: Text format.
html: HTML format.
option -