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 id {integer}
                set start-ip {ipv4-address}
                set end-ip {ipv4-address}
            next
        end
        config ip6-range
            Description: Table of IPv6 ranges assigned to country.
            edit <id>
                set id {integer}
                set start-ip {ipv6-address}
                set end-ip {ipv6-address}
            next
        end
        set name {string}
    next
end

config system geoip-override

Parameter

Description

Type

Size

Default

country-id

Two character Country ID code.

string

Not Specified

description

Description.

string

Not Specified

name

Location name.

string

Not Specified

config ip-range

Parameter

Description

Type

Size

Default

id

ID of individual entry in the IP range table.

integer

Minimum value: 0 Maximum value: 65535

0

start-ip

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

ipv4-address

Not Specified

0.0.0.0

end-ip

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

ipv4-address

Not Specified

0.0.0.0

config ip6-range

Parameter

Description

Type

Size

Default

id

ID of individual entry in the IPv6 range table.

integer

Minimum value: 0 Maximum value: 65535

0

start-ip

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

ipv6-address

Not Specified

::

end-ip

Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).

ipv6-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 id {integer}
                set start-ip {ipv4-address}
                set end-ip {ipv4-address}
            next
        end
        config ip6-range
            Description: Table of IPv6 ranges assigned to country.
            edit <id>
                set id {integer}
                set start-ip {ipv6-address}
                set end-ip {ipv6-address}
            next
        end
        set name {string}
    next
end

config system geoip-override

Parameter

Description

Type

Size

Default

country-id

Two character Country ID code.

string

Not Specified

description

Description.

string

Not Specified

name

Location name.

string

Not Specified

config ip-range

Parameter

Description

Type

Size

Default

id

ID of individual entry in the IP range table.

integer

Minimum value: 0 Maximum value: 65535

0

start-ip

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

ipv4-address

Not Specified

0.0.0.0

end-ip

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

ipv4-address

Not Specified

0.0.0.0

config ip6-range

Parameter

Description

Type

Size

Default

id

ID of individual entry in the IPv6 range table.

integer

Minimum value: 0 Maximum value: 65535

0

start-ip

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

ipv6-address

Not Specified

::

end-ip

Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).

ipv6-address

Not Specified

::