ADC CLI Commands

locationFile6

The following operations can be performed on “locationFile6”:

add rm show import

add locationFile6

Loads the IPv6 static location database from the specified file.

Synopsis

add locationFile6 \[-format \( netscaler6 | geoip-country6 )]

Arguments

locationFile Name of the IPv6 location file, with or without absolute path. If the path is not included, the default path (/var/netscaler/locdb) is assumed. In a high availability setup, the static database must be stored in the same location on both NetScalers.

format Format of the IPv6 location file. Required for the NetScaler to identify how to read the location file.

Possible values: netscaler6, geoip-country6 Default value: netscaler6

Example

add locationfile6 /var/nsmap/locationdb -format netscaler6

rm locationFile6

Removes the currently loaded static location database from the NetScaler.

Synopsis

rm locationFile6

Example

rm locationfile6

show locationFile6

Displays the name, including the absolute path, and format of the location file currently loaded on the NetScaler.

Synopsis

show locationFile6

Arguments

Output

locationFile The name of the location file.

format The format of the location file.

curLocfileStatus The status of the current location file.

prevLocationFile The name of the previous location file.

prevLocfileFormat The format of the previous location file.

prevLocfileStatus The status of the previous location file.

locfileStatusStr Status string of the location file.

devno count stateflag _nextgenAPIResource

Example

show locationfile6

import locationFile6

Imports the specified location file to the NetScaler, assigns it the specified name and the maximum size of locationfile can be upto 300MB

Synopsis

import locationFile6

Arguments

locationFile Name of the IPv6 location file, with or without absolute path. If the path is not included, the default path (/var/netscaler/locdb) is assumed. In a high availability setup, the static database must be stored in the same location on both NetScalers.

src URL (protocol, host, path, and file name) from where the location file will be imported. NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access.

Example

import locationfile6 locfile6_1 http://www.example.com/file_1

locationFile6