Fortinet white logo
Fortinet white logo

CLI Reference

config spamfilter iptrust

config spamfilter iptrust

Configure AntiSpam IP trust.

config spamfilter iptrust
    Description: Configure AntiSpam IP trust.
    edit <id>
        set name {string}
        set comment {var-string}
        config entries
            Description: Spam filter trusted IP addresses.
            edit <id>
                set status [enable|disable]
                set addr-type [ipv4|ipv6]
                set ip4-subnet {ipv4-classnet}
                set ip6-subnet {ipv6-network}
            next
        end
    next
end

config spamfilter iptrust

Parameter

Description

Type

Size

name

Name of table.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

status

Enable/disable status.

option

-

Option

Description

enable

Enable status.

disable

Disable status.

addr-type

Type of address.

option

-

Option

Description

ipv4

IPv4 Address type.

ipv6

IPv6 Address type.

ip4-subnet

IPv4 network address or network address/subnet mask bits.

ipv4-classnet

Not Specified

ip6-subnet

IPv6 network address/subnet mask bits.

ipv6-network

Not Specified

config spamfilter iptrust

config spamfilter iptrust

Configure AntiSpam IP trust.

config spamfilter iptrust
    Description: Configure AntiSpam IP trust.
    edit <id>
        set name {string}
        set comment {var-string}
        config entries
            Description: Spam filter trusted IP addresses.
            edit <id>
                set status [enable|disable]
                set addr-type [ipv4|ipv6]
                set ip4-subnet {ipv4-classnet}
                set ip6-subnet {ipv6-network}
            next
        end
    next
end

config spamfilter iptrust

Parameter

Description

Type

Size

name

Name of table.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

status

Enable/disable status.

option

-

Option

Description

enable

Enable status.

disable

Disable status.

addr-type

Type of address.

option

-

Option

Description

ipv4

IPv4 Address type.

ipv6

IPv6 Address type.

ip4-subnet

IPv4 network address or network address/subnet mask bits.

ipv4-classnet

Not Specified

ip6-subnet

IPv6 network address/subnet mask bits.

ipv6-network

Not Specified