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>
        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 alertmail
            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
        set comment {var-string}
        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 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 ftp
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set header [none|http|...]
                set format [none|text|...]
            next
        end
        set group-type [default|utm|...]
        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 icap
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set header [none|http|...]
                set format [none|text|...]
            next
        end
        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 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 spam
            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 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 webproxy
            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

Default

comment

Comment.

var-string

Maximum length: 255

group-type

Group type.

option

-

default

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.

name

Group name.

string

Maximum length: 35

config admin

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config alertmail

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config auth

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config custom-message

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config fortiguard-wf

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config ftp

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config http

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config icap

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config mail

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config nac-quar

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config spam

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config sslvpn

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config traffic-quota

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config utm

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config webproxy

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

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>
        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 alertmail
            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
        set comment {var-string}
        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 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 ftp
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set header [none|http|...]
                set format [none|text|...]
            next
        end
        set group-type [default|utm|...]
        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 icap
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set header [none|http|...]
                set format [none|text|...]
            next
        end
        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 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 spam
            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 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 webproxy
            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

Default

comment

Comment.

var-string

Maximum length: 255

group-type

Group type.

option

-

default

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.

name

Group name.

string

Maximum length: 35

config admin

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config alertmail

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config auth

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config custom-message

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config fortiguard-wf

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config ftp

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config http

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config icap

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config mail

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config nac-quar

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config spam

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config sslvpn

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config traffic-quota

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config utm

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

config webproxy

Parameter

Description

Type

Size

Default

msg-type

Message type.

string

Maximum length: 28

buffer

Message string.

var-string

Maximum length: 32768

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.