Fortinet white logo
Fortinet white 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 description {string}

set country-id {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

config ip6-range

Description: Table of IPv6 ranges assigned to country.

edit <id>

set start-ip {ipv6-address}

set end-ip {ipv6-address}

next

end

next

end

config system geoip-override

Parameter

Description

Type

Size

Default

description

Description.

string

Maximum length: 127

country-id

Two character Country ID code.

string

Maximum length: 2

config ip-range

Parameter

Description

Type

Size

Default

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

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

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 description {string}

set country-id {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

config ip6-range

Description: Table of IPv6 ranges assigned to country.

edit <id>

set start-ip {ipv6-address}

set end-ip {ipv6-address}

next

end

next

end

config system geoip-override

Parameter

Description

Type

Size

Default

description

Description.

string

Maximum length: 127

country-id

Two character Country ID code.

string

Maximum length: 2

config ip-range

Parameter

Description

Type

Size

Default

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

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

::