ZyXEL Communications 3.1 User Manual

Page of 386
 Chapter 23 Content Filtering
ZyWALL (ZLD) CLI Reference Guide
203
23.7  Content Filter Filtering Profile Commands
The following table lists the commands that you can use to configure a content filtering policy. A 
content filtering policy defines which content filter profile should be applied, when it should be 
applied, and to whose web access it should be applied. Use the 
configure terminal
 command 
to enter the configuration mode to be able to use these commands. See 
 for 
details about the values you can input with these commands. 
[no] {ipv4 | ipv4_cidr | ipv4_range | 
wildcard_domainname | tld}
Adds or removes a common trusted or forbidden web site entry. 
ipv4
: IPv4 address <W.X.Y.Z>
ipv4_cidr
: IPv4 subnet in CIDR format, i.e. 192.168.1.0/32
<W.X.Y.Z>/<1..32>
ipv4_range
: Range of IPv4 addresses. <W.X.Y.Z>-<W.X.Y.Z>
wildcard_domainname
: wildcard domain name, i.e. zyxel*.co*
(([*a-z0-9\-]){1,63}\.)+([*a-z0-9\-]){1,63}
tld
: top level domain.
exit
Leaves the sub-command mode.
show content-filter passed warning
Displays the ZyWALL’s record of sessions for which it has given 
the user a warning before allowing access.
show content-filter policy
Displays the content filtering policies.
show content-filter settings
Displays the general content filtering settings.
show content-filter common-list {trust|forbid}
Displays the common list of trusted or forbidden web sites. 
Table 112   
content-filter General Commands (continued)
COMMAND
DESCRIPTION
Table 113   
content-filter Filtering Profile Commands Summary
COMMAND
DESCRIPTION
[no] content-filter license license
Sets the license key for the external web filtering service. 
The 
no
 command clears the setting.
[no] content-filter profile filtering_profile
Creates a content filtering profile. The 
no
 command 
removes the profile.
[no] content-filter profile filtering_profile custom
Sets a content filtering profile to use a profile’s custom 
settings (lists of trusted web sites and forbidden web sites 
and blocking of certain web features). The 
no
 command 
has the profile not use the custom settings. 
[no] content-filter profile filtering_profile custom 
activex
Sets a content filtering profile to block ActiveX controls. 
The 
no
 command sets the profile to allow ActiveX.
[no] content-filter profile filtering_profile custom 
cookie
Sets a content filtering profile to block Cookies. The 
no
 
command sets the profile to allow Cookies.
content-filter profile filtering_profile custom-list 
forbid
Enters the sub-command for configuring the content 
filtering profile’s list of forbidden hosts.
[no] forbid_hosts
Adds a forbidden host to the content filtering profile’s list. 
The no command removes it.
exit
Leaves the sub-command mode.
[no] content-filter profile filtering_profile custom 
java
Sets a content filtering profile to block Java. The 
no
 
command sets the profile to allow Java.