410
Default
The URL address filtering function denies web requests using IP addresses for access to websites.
Views
System view
Default command level
2: System level
Parameters
deny
: Specifies to deny a web request whose destination URL is present in IP address.
permit
: Specifies to permit a web request whose destination URL is present in IP address.
Usage guidelines
This configuration takes effect only after the URL address filtering function is enabled.
Examples
# Configure to permit web requests using IP addresses for access to websites.
<Sysname> system-view
[Sysname] firewall http url-filter host ip-address permit
Related commands
•
display firewall http url-filter host
•
firewall http url-filter host enable
firewall http url-filter host url-address
Use
firewall http url-filter host url-address
to add a URL address filtering entry and set the filtering
action.
Use
undo firewall http url-filter host url-address
to remove one or all URL address filtering
entries.
Syntax
firewall http url-filter host url-address
{
deny
|
permit
}
url-address
undo firewall http url-filter host url-address
[
url-address
]
Views
System view
Default command level
2: System level
Parameters
deny
: Denies matched URL addresses.
permit
: Permits matched URL addresses.
url-address
: URL address filtering entry, a case-insensitive string of 1 to 80 characters. Valid
characters include digits, English letters, dot (.), hyphen (-), underline (_), and wildcards caret (^),
dollar sign ($), ampersand (&), and asterisk (*).