Fortinet black 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
      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 Final IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx). ipv4-address Not Specified

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
      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 Final IP address, inclusive, of the address range (format: xxx.xxx.xxx.xxx). ipv4-address Not Specified