Fortinet white logo
Fortinet white logo

CLI Reference

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 Name Description Type Size
description Description. string Maximum length: 127
country-id Two character Country ID code. string Maximum length: 2

config ip-range

Parameter Name Description Type Size
start-ip Starting IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx). ipv4-address Not Specified
end-ip Ending IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx). ipv4-address Not Specified

config ip6-range

Parameter Name Description Type Size
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

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 Name Description Type Size
description Description. string Maximum length: 127
country-id Two character Country ID code. string Maximum length: 2

config ip-range

Parameter Name Description Type Size
start-ip Starting IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx). ipv4-address Not Specified
end-ip Ending IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx). ipv4-address Not Specified

config ip6-range

Parameter Name Description Type Size
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