ADC CLI Commands

locationParameter

The following operations can be performed on “locationParameter”:

set unset show

set locationParameter

Sets the location parameters used for static-proximity based global server load balancing. Location parameters include up to six qualifiers and a context that specifies how the qualifiers must be interpreted. Each qualifier specifies the location of an IP address range and 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.

Synopsis

set locationParameter [-context ( geographic custom )] [-q1label ] \[-q2label ] \[-q3label ] \[-q4label ] \[-q5label ] \[-q6label ] \[-matchWildcardtoany ]

Arguments

context Context for describing locations. In geographic context, qualifier labels are assigned by default in the following sequence: Continent.Country.Region.City.ISP.Organization. In custom context, the qualifiers labels can have any meaning that you designate.

Possible values: geographic, custom

q1label Label specifying the meaning of the first qualifier. Can be specified for custom context only.

q2label Label specifying the meaning of the second qualifier. Can be specified for custom context only.

q3label Label specifying the meaning of the third qualifier. Can be specified for custom context only.

q4label Label specifying the meaning of the fourth qualifier. Can be specified for custom context only.

q5label Label specifying the meaning of the fifth qualifier. Can be specified for custom context only.

q6label Label specifying the meaning of the sixth qualifier. Can be specified for custom context only.

matchWildcardtoany Indicates whether wildcard qualifiers should match any other qualifier including non-wildcard while evaluating location based expressions. Possible values: Yes, No, Expression. Yes - Wildcard qualifiers match any other qualifiers. No - Wildcard qualifiers do not match non-wildcard qualifiers, but match other wildcard qualifiers. Expression - Wildcard qualifiers in an expression match any qualifier in an LDNS location, wildcard qualifiers in the LDNS location do not match non-wildcard qualifiers in an expression

Possible values: YES, NO, Expression Default value: NO

Example

set locationparameter -context custom

unset locationParameter

Use this command to remove locationParameter settings.Refer to the set locationParameter command for meanings of the arguments.

Synopsis

unset locationParameter [-context] [-q1label] [-q2label] [-q3label] [-q4label] [-q5label] [-q6label] [-matchWildcardtoany]

show locationParameter

Displays current values for the location parameters, which are used for static-proximity based load balancing.

Synopsis

show locationParameter

Arguments

Output

context The context in which a static proximity decision must be made.

q1label The label for the 1st qualifier. These qualifier labels characterize the locations mapped with the IP addresses used to make static proximity decisions.

q2label Label specifying the meaning of the second qualifier. Can be specified for custom context only.

q3label Label specifying the meaning of the third qualifier. Can be specified for custom context only.

q4label Label specifying the meaning of the fourth qualifier. Can be specified for custom context only.

q5label Label specifying the meaning of the fifth qualifier. Can be specified for custom context only.

q6label Label specifying the meaning of the sixth qualifier. Can be specified for custom context only.

locationFile Currently loaded location database file.

format Location file format

custom Number of configured custom locations.

static Number of configured locations in the database file (static locations).

lines Number of lines in the databse files

errors Number of errros encountered while reading the database file.

warnings Number of warnings encountered while reading the database file.

entries Number of successfully added entries.

locationFile6 Currently loaded location database file.

format6 Location file format

custom6 Number of configured custom locations.

static6 Number of configured locations in the database file (static locations).

lines6 Number of lines in the databse files

errors6 Number of errros encountered while reading the database file.

warnings6 Number of warnings encountered while reading the database file.

entries6 Number of successfully added entries.

flags Information needed for display. This argument passes information from the kernel to the user space.

status This argument displays when the status (success or failure) of database loading.

DatabaseMode This argument displays the database mode.

flushing This argument displays the state of flushing.

loading This argument displays the state of loading.

matchWildcardtoany Indicates whether wildcard qualifiers should match any other qualifier including non-wildcard while evaluating location based expressions. Possible values: Yes, No, Expression. Yes - Wildcard qualifiers match any other qualifiers. No - Wildcard qualifiers do not match non-wildcard qualifiers, but match other wildcard qualifiers. Expression - Wildcard qualifiers in an expression match any qualifier in an LDNS location, wildcard qualifiers in the LDNS location do not match non-wildcard qualifiers in an expression

builtin feature The feature to be checked while applying this config

Example

show locationparameter

locationParameter