Views
System view
Default command level
2: System level
Parameters
deny: Denies web requests.
permit: Permits web requests.
Examples
# Specify the default filtering action as permit.
<Sysname> system-view
[Sysname] firewall http url-filter host default permit
Related commands
display firewall http url-filter host
firewall http url-filter host enable
Use firewall http url-filter host enable to enable the URL address filtering function.
Use undo firewall http url-filter host enable to disable the URL address filtering function.
Syntax
firewall http url-filter host enable
undo firewall http url-filter host enable
Default
The URL address filtering function is disabled.
Views
System view
Default command level
2: System level
Examples
# Enable the URL address filtering function.
<Sysname> system-view
[Sysname] firewall http url-filter host enable
Related commands
display firewall http url-filter host
firewall http url-filter host ip-address
Use firewall http url-filter host ip-address 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.
Syntax
firewall http url-filter host ip-address { deny | permit }
409