R3303-HP HSR6800 Routers Security Command Reference

430
Examples
# Specify URL address filtering to permit web requests with website IP addresses permitted by ACL 2000.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule 0 permit source 3.3.3.3 0.0.0.0
[Sysname-acl-basic-2000] quit
[Sysname] firewall http url-filter host acl 2000
Related commands
display firewall http url-filter host
firewall http url-filter host default
Use firewall http url-filter host default to specify the default action for URL address filtering, that is, action
to be taken for web requests whose URL addresses do not match the configured filtering entries.
Syntax
firewall http url-filter host default { deny | permit }
Default
The filtering action is deny.
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