Fortinet white logo
Fortinet white logo

CLI Reference

config diameter-filter profile

config diameter-filter profile

Configure Diameter filter profiles.

config diameter-filter profile
    Description: Configure Diameter filter profiles.
    edit <name>
        set comment {var-string}
        set monitor-all-messages [disable|enable]
        set log-packet [disable|enable]
        set track-requests-answers [disable|enable]
        set missing-request-action [allow|block|...]
        set protocol-version-invalid [allow|block|...]
        set message-length-invalid [allow|block|...]
        set request-error-flag-set [allow|block|...]
        set cmd-flags-reserve-set [allow|block|...]
        set command-code-invalid [allow|block|...]
        set command-code-range {user}
    next
end

config diameter-filter profile

Parameter

Description

Type

Size

Default

name

Profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

monitor-all-messages

Enable/disable logging for all User Name and Result Code AVP messages.

option

-

disable

Option

Description

disable

Disable.

enable

Enable.

log-packet

Enable/disable packet log for triggered diameter settings.

option

-

disable

Option

Description

disable

Disable.

enable

Enable.

track-requests-answers

Enable/disable validation that each answer has a corresponding request.

option

-

enable

Option

Description

disable

Disable.

enable

Enable.

missing-request-action

Action to be taken for answers without corresponding request.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

protocol-version-invalid

Action to be taken for invalid protocol version.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

message-length-invalid

Action to be taken for invalid message length.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

request-error-flag-set

Action to be taken for request messages with error flag set.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

cmd-flags-reserve-set

Action to be taken for messages with cmd flag reserve bits set.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

command-code-invalid

Action to be taken for messages with invalid command code.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

command-code-range

Valid range for command codes.

user

Not Specified

config diameter-filter profile

config diameter-filter profile

Configure Diameter filter profiles.

config diameter-filter profile
    Description: Configure Diameter filter profiles.
    edit <name>
        set comment {var-string}
        set monitor-all-messages [disable|enable]
        set log-packet [disable|enable]
        set track-requests-answers [disable|enable]
        set missing-request-action [allow|block|...]
        set protocol-version-invalid [allow|block|...]
        set message-length-invalid [allow|block|...]
        set request-error-flag-set [allow|block|...]
        set cmd-flags-reserve-set [allow|block|...]
        set command-code-invalid [allow|block|...]
        set command-code-range {user}
    next
end

config diameter-filter profile

Parameter

Description

Type

Size

Default

name

Profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 255

monitor-all-messages

Enable/disable logging for all User Name and Result Code AVP messages.

option

-

disable

Option

Description

disable

Disable.

enable

Enable.

log-packet

Enable/disable packet log for triggered diameter settings.

option

-

disable

Option

Description

disable

Disable.

enable

Enable.

track-requests-answers

Enable/disable validation that each answer has a corresponding request.

option

-

enable

Option

Description

disable

Disable.

enable

Enable.

missing-request-action

Action to be taken for answers without corresponding request.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

protocol-version-invalid

Action to be taken for invalid protocol version.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

message-length-invalid

Action to be taken for invalid message length.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

request-error-flag-set

Action to be taken for request messages with error flag set.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

cmd-flags-reserve-set

Action to be taken for messages with cmd flag reserve bits set.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

command-code-invalid

Action to be taken for messages with invalid command code.

option

-

block

Option

Description

allow

Allow or pass matching traffic.

block

Block or drop matching traffic.

reset

Reset sessions for matching traffic.

monitor

Allow and log matching traffic.

command-code-range

Valid range for command codes.

user

Not Specified