ADC CLI Commands

location

The following operations can be performed on “location”:

show rm add

show location

Displays all the custom location entries configured on the Citrix ADC, or just the entry for the specified IP address range.

Synopsis

show location []

Arguments

IPfrom The qualifiers in dotted notation for the ipaddress. If this value is not specified, all custom entries are displayed.

Output

stateflag IPto The end of the IP address range.

preferredLocation The qualifiers in dotted notation for the ipaddress range.

q1label Least specific location qualifier.

q2label Location qualifier 2.

q3label Location qualifier 3.

q4label Location qualifier 4.

q5label Location qualifier 5.

q6label Most specific location qualifier.

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.

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.

devno count

Example

show location

rm location

Removes a custom location entry from the Citrix ADC.

Synopsis

rm location

Arguments

IPfrom First IP address in the range, in dotted decimal notation.

IPto Last IP address in the range, in dotted decimal notation.

Example

rm location 192.168.100.1 192.168.100.100

add location

Creates a custom location entry on the Citrix ADC. 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.

Synopsis

add location [-longitude [-latitude ]]

Arguments

IPfrom First IP address in the range, in dotted decimal notation.

IPto Last IP address in the range, in dotted decimal notation.

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.

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

Example

Add location 192.168.100.1 192.168.100.100 *.us.ca.san jose

location