Fortinet black logo

CLI Reference

config system geoip-override

config system geoip-override

Configure geographical location mapping for IP address(es) to override mappings from FortiGuard.

config system geoip-override
    Description: Configure geographical location mapping for IP address(es) to override mappings from FortiGuard.
    edit <name>
        set country-id {string}
        set description {string}
        config ip-range
            Description: Table of IP ranges assigned to country.
            edit <id>
                set start-ip {ipv4-address}
                set end-ip {ipv4-address}
            next
        end
    next
end

config system geoip-override

Parameter

Description

Type

Size

country-id

Two character Country ID code.

string

Maximum length: 2

description

Description.

string

Maximum length: 127

name

Location name.

string

Maximum length: 63

config ip-range

Parameter

Description

Type

Size

id

ID number for individual entry in the IP-Range table.

integer

Minimum value: 0 Maximum value: 65535

start-ip

Starting IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx).

ipv4-address

Not Specified

end-ip

Final IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx).

ipv4-address

Not Specified

config system geoip-override

Configure geographical location mapping for IP address(es) to override mappings from FortiGuard.

config system geoip-override
    Description: Configure geographical location mapping for IP address(es) to override mappings from FortiGuard.
    edit <name>
        set country-id {string}
        set description {string}
        config ip-range
            Description: Table of IP ranges assigned to country.
            edit <id>
                set start-ip {ipv4-address}
                set end-ip {ipv4-address}
            next
        end
    next
end

config system geoip-override

Parameter

Description

Type

Size

country-id

Two character Country ID code.

string

Maximum length: 2

description

Description.

string

Maximum length: 127

name

Location name.

string

Maximum length: 63

config ip-range

Parameter

Description

Type

Size

id

ID number for individual entry in the IP-Range table.

integer

Minimum value: 0 Maximum value: 65535

start-ip

Starting IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx).

ipv4-address

Not Specified

end-ip

Final IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx).

ipv4-address

Not Specified