
C613-50186-01 Rev B
Command Reference for AR2050V
2680
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
URL F
ILTERING
C
OMMANDS
BLACKLIST
blacklist
Overview
Use this command to add a custom blacklist file to the URL filtering configuration.
Use the
no
variant of this command to remove a blacklist from the URL filtering
configuration.
Syntax
blacklist <
url_of_blacklist_file>
no blacklist <
url_of_blacklist_file>
Mode
URL Filter Configuration
Usage
You can use custom blacklists to specify URLs to be blocked.
For information about blacklist rule format, see the
URL Filtering Feature Overview
You can use the
command to add a whitelist that will override any
corresponding blacklist entries.
Examples
To add a blacklist 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)#
blacklist usb:/my_blacklist.txt
awplus(config-url-filter)#
protect
To remove the blacklist file from the URL filtering configuration, use the
commands:
awplus#
configure terminal
awplus(config)#
url-filter
awplus(config-url-filter)#
no blacklist usb:/my_blacklist.txt
Related
commands
url-filter reload custom-lists
Parameter
Description
<
url_of_blacklist_file>
URL of the blacklist file. The blacklist file can be
located in flash, SD card, or USB device.