13
<Sysname> system-view
[Sysname] firewall http url-filter host default permit
firewall http url-filter host enable
Syntax
firewall http url-filter host enable
undo firewall http url-filter host enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the
firewall http url-filter host enable
command to enable the URL address filtering function.
Use the
undo firewall http url-filter host enable
command to disable the URL address filtering function.
By default, the URL address filtering function is disabled.
Related commands:
display firewall http url-filter host
.
Examples
# Enable the URL address filtering function.
<Sysname> system-view
[Sysname] firewall http url-filter host enable
firewall http url-filter host ip-address
Syntax
firewall http url-filter host ip-address
{
deny
|
permit
}
View
System view
Default level
2: System level
Parameters
permit
: Specifies to permit a Web request whose destination URL is present in IP address.
deny
: Specifies to deny a Web request whose destination URL is present in IP address.
Description
Use the
firewall http url-filter host ip-address
command to enable/disable support for IP address in URL
address filtering, that is, to permit or deny Web requests using IP addresses for access to websites.
By default, the URL address filtering function denies Web requests using IP addresses for access to
websites.