377
Configuring IP address-supported URL address filtering
To do...
Command...
Remarks
1.
Enter system view.
system-view
—
2.
Enable the URL address
filtering function.
firewall http url-filter host enable
Required.
Disabled by default.
3.
Configure IP address-
supported URL address
filtering.
firewall http url-filter host ip-
address
{
deny
|
permit
}
Required.
Deny
by default.
4.
Specify an ACL for URL
address filtering.
firewall http url-filter host acl
acl-
number
Optional.
By default, no ACL is specified for
URL address filtering.
5.
Display information about URL
address filtering.
display firewall http url-filter host
[
all
|
item
keywords
|
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
NOTE:
The source IP addresses specified in the ACL for URL address filtering must be the IP addresses of the
websites allowed to be accessed by using their IP addresses.
Configuring URL parameter filtering
To do...
Command...
Remarks
1.
Enter system view.
system-view
—
2.
Enable the URL parameter
filtering function.
firewall http url-filter parameter
enable
Required
Disabled by default
3.
Add a URL parameter filtering
entry.
firewall http url-filter parameter
{
default
|
keywords
keywords
}
Required
4.
Display information about
URL parameter filtering.
display firewall http url-filter
parameter
[
all
|
item
keywords
|
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional