Command Reference Guide

3Com Router 5000 Family and Router 6000 Family web url-filter host add 319
Command Reference
web url-filter host add
Purpose Use the web url-filter host add command to add web filtering address, and
set the filtering operation.
Syntax web url-filter host add { permit | deny } url-address [ priority
priority-number ]
Parameters permit
The operation is permit.
deny
The operation is deny.
url-address
URL filtering address being added. It supports the
wildcards ^, $, &, and *.
If “^” and “$” are present respectively at the beginning and end of the keyword,
exact match applies. If no wildcard is present at the beginning and end, fuzzy match
applies. For example, if the keyword is “^huawei”, the URL addresses beginning with
huawei (e.g. huawei.com.cn) or addresses similar to cmm.huawei-3com.com are
filtered out, but the address similar to www.bj-huawei.com is not filtered out. If the
keyword is “^huawei$”, the URL address only containing the word huawei (e.g.
www.huawei.com) is filtered out. The address similar to www.huawei-3com.com is
not filtered out. If fuzzy match applies, any address containing the keyword is filtered
out.
The wildcard “&” cannot replace “ . ” during address filtering.
The wildcard “*” cannot replace “.”, such as “huawei*.com”, it must be in the form
of “*.com” or “*.huawei.com” when it is present at the beginning.
priority priority-number
Configures the priority. Valid values are 0 to 1999. The
smaller the digit, the higher the priority.
Table 1 Description on the wildcards
Wildcard Description
^ Match at the beginning.
It is only present at the beginning of the filtering
keyword, and only for once.
$ Match at the end.
It is only present at the end of the filtering
keyword, and only for once.
& Replace a character.
It can be present for several times, or in a
successive manner. It can be at any position in
the filtering keyword.
* Replace any character.
It is present for only once at the beginning or in
the middle of the filtering keyword.
It cannot be adjacent to ^ and &.