Fortinet white logo
Fortinet white logo

CLI Reference

config system replacemsg-group

config system replacemsg-group

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 ec
            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 icap
            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
    next
end

config system replacemsg-group

Parameter

Description

Type

Size

name

Group name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

group-type

Group type.

option

-

Option

Description

default

Per-vdom replacement messages.

utm

For use with UTM settings in firewall policies.

auth

For use with authentication pages in firewall policies.

ec

For use with endpoint-control profiles.

config mail

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config http

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config webproxy

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config ftp

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config nntp

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config fortiguard-wf

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config spam

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config alertmail

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config admin

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config auth

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config sslvpn

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config ec

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config device-detection-portal

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config nac-quar

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config traffic-quota

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config utm

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config icap

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config custom-message

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config system replacemsg-group

config system replacemsg-group

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 ec
            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 icap
            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
    next
end

config system replacemsg-group

Parameter

Description

Type

Size

name

Group name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

group-type

Group type.

option

-

Option

Description

default

Per-vdom replacement messages.

utm

For use with UTM settings in firewall policies.

auth

For use with authentication pages in firewall policies.

ec

For use with endpoint-control profiles.

config mail

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config http

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config webproxy

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config ftp

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config nntp

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config fortiguard-wf

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config spam

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config alertmail

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config admin

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config auth

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config sslvpn

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config ec

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config device-detection-portal

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config nac-quar

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config traffic-quota

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config utm

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config icap

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config custom-message

Parameter

Description

Type

Size

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

Option

Description

none

No format type.

text

Text format.

html

HTML format.