
C613-50186-01 Rev B
Command Reference for AR2050V
2687
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
URL F
ILTERING
C
OMMANDS
WHITELIST
whitelist
Overview
Use this command to add a custom whitelist file to the URL filtering configuration.
Use the
no
variant of this command to remove a whitelist from the URL filter
configuration.
Syntax
whitelist <
url_of_whitelist_file>
no whitelist <
url_of_whitelist_file>
Mode
URL Filter Configuration
Usage
Whitelist matching precedes blacklist matching. You can use custom whitelists to
override any corresponding blacklist entries. An HTTP or HTTPS request that
includes a URL that matches an entry in a whitelist will be permitted.
For information about whitelist rule format, see the
URL Filtering Feature Overview
.
Examples
To add a whitelist that uses a custom file (that is stored on USB, for example) and
then enable URL filtering, use the commands:
awplus#
configure terminal
awplus(config)#
url-filter
awplus(config-url-filter)#
whitelist usb:/my_whitelist.txt
awplus(config-url-filter)#
protect
To remove the whitelist file from the URL filtering configuration, use the
commands:
awplus#
configure terminal
awplus(config)#
url-filter
awplus(config-url-filter)#
no whitelist usb:/my_whitelist.txt
Related
commands
url-filter reload custom-lists
Command
changes
Version 5.4.7-1.1: HTTPS support added.
Parameter
Description
<
url_of_whitelist_file>
URL of the whitelist file. The whitelist file can be
located in flash, SD card, or USB device.