Fortinet white logo
Fortinet white logo

CLI Reference

7.2.1

config system replacemsg-group

config system replacemsg-group

Configure replacement message groups.

Syntax

config system replacemsg-group
    edit <name>
        set comment {var-string}
        config custom-message
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            next
        end
        config fortiguard-wf
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            next
        end
        set group-type {option}
        config http
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            next
        end
        config utm
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            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

-

utm

Option

Description

utm

For use with UTM settings in firewall policies.

name

Group name.

string

Maximum length: 35

config custom-message

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28

config fortiguard-wf

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28

config http

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28

config utm

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28

config system replacemsg-group

config system replacemsg-group

Configure replacement message groups.

Syntax

config system replacemsg-group
    edit <name>
        set comment {var-string}
        config custom-message
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            next
        end
        config fortiguard-wf
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            next
        end
        set group-type {option}
        config http
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            next
        end
        config utm
            Description: Replacement message table entries.
            edit <msg-type>
                set buffer {var-string}
                set format [none|text|...]
                set header [none|http|...]
            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

-

utm

Option

Description

utm

For use with UTM settings in firewall policies.

name

Group name.

string

Maximum length: 35

config custom-message

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28

config fortiguard-wf

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28

config http

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28

config utm

Parameter

Description

Type

Size

Default

buffer

Message string.

var-string

Maximum length: 32768

format

Format flag.

option

-

none

Option

Description

none

No format type.

text

Text format.

html

HTML format.

header

Header flag.

option

-

none

Option

Description

none

No header type.

http

HTTP

8bit

8 bit.

msg-type

Message type.

string

Maximum length: 28