Home > Configuration > Basic > addlocation

addlocation

Use this method to creates a custom location entry on the NetScaler. Custom locations can be used instead of a static location database if the number of locations you need does not exceed 500. Custom locations can also be used to override incorrect entries in the static database, because the appliance searches the static database before it searches the static location database.

Syntax



Parameters

ipfrom

First IP address in the range, in dotted decimal notation.
This is mandatory parameter.

ipto

Last IP address in the range, in dotted decimal notation.
This is mandatory parameter.

preferredlocation

String of qualifiers, in dotted notation, describing the geographical location of the IP address range. Each qualifier is more specific than the one that precedes it, as in continent.country.region.city.isp.organization. For example, "NA.US.CA.San Jose.ATT.citrix". Note: A qualifier that includes a dot (.) or space ( ) must be enclosed in double quotation marks.
This is mandatory parameter.

longitude

Numerical value, in degrees, specifying the longitude of the geographical location of the IP address-range. Note: Longitude and latitude parameters are used for selecting a service with the static proximity GSLB method. If they are not specified, selection is based on the qualifiers specified for the location.
Minimum value = -180.
Maximum value = 180.

latitude

Numerical value, in degrees, specifying the latitude of the geographical location of the IP address-range. Note: Longitude and latitude parameters are used for selecting a service with the static proximity GSLB method. If they are not specified, selection is based on the qualifiers specified for the location.
Minimum value = -90.
Maximum value = 90.

Return Value

Returns simpleResult

See Also