Configuring URL lists


You configure URL lists at the libraries url-list level.

To add a new URL list, use the following command:

Admin@nodename# create libraries url-list <parameter>

Specify the following parameters:

Parameter

Description

name

URL list name.

description

URL list description.

type

List type:

  • local: local

  • updatable: if the list is updatable, specify URL address for downloading updates (url). List update frequency is set by the schedule parameter in the crontab format.

Crontab format: (minutes: 0-59) (hours: 0-23) (days of the month: 1-31) (month: 1-12) (days of the week: 0-6; where 0 is Sunday). You can set each field as follows:

  • An asterisk (*) denotes the entire range (from the first number to the last).

  • A dash (-) denotes a number range. For example, "5-7" means 5, 6, and 7.

  • Lists: comma-separated numbers or ranges. For example, "1,5,10,11" or "1-11,19-23".

  • An asterisk or range spacing: used for spacing out values in ranges. The increment is given after a slash. Examples: "2-10/2" means "2,4,6,8,10" while "*/2" in the "hours" field means "every two hours".

urls

URLs to add to the list.

case-sensitivity

Case sensitivity in URL writing:

  • sensitive: sensitive to the case of letters in the address.

  • insensitive: insensitive to the case of letters in the address.

  • domain: list of domain addresses.

Example command to edit a URL list:

Admin@nodename# set libraries url-list <url-list-name> <parameter>

The parameters for which values are available to update are listed in the table above.

To delete an entire URL list or individual URLs from it, use the following commands:

Admin@nodename# delete libraries url-list <url-list-name> Admin@nodename# delete libraries url-list <url-list-name> urls [ <url> ... ]

To display information about all URL lists, a specific URL list, or about the addresses from a specific list, use the following commands:

Admin@nodename# show libraries url-list Admin@nodename# show libraries url-list <url-list-name> Admin@nodename# show libraries url-list <url-list-name> urls