No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
whitelist

whitelist

Function

The whitelist command adds whitelist rules to a URL filtering profile.

The undo whitelist command deletes whitelist rules from a URL filtering profile.

By default, no whitelist rule is added to a URL filtering profile.

Format

whitelist { url name url-name | host name host-name }

undo whitelist { url { name url-name | all } | host { name host-name | all } | all }

Parameters

Parameter Description Value
url name url-name

Specifies a URL to be added to a URL filtering profile.

The value is a string of 4 to 255 case-insensitive characters without spaces. The asterisk (*) is a wildcard character. At most two asterisks (*) are supported, which are located in the start and end of the value and cannot be placed together.

host name host-name

Specifies a host name to be added to a URL filtering profile.

The value is a string of 4 to 255 characters without slashes (/), forward slashes (\), pounds (#), quotation marks ("), question marks (?), or spaces.

The asterisk (*) is a wildcard character. It can be located at the beginning of a host name to support suffix matching. For example, when a host name is set to *abc, all host names ending with abc" are matched.

url all

Deletes all URLs.

-

host all

Deletes all host names.

-

all

Deletes all URLs and host names.

-

Views

URL filtering profile view

Default Level

2: Configuration level

Usage Guidelines

Enterprises require that some websites or some website types be not filtered.

You can configure a URL whitelist to match URLs or host names in HTTP requests. If the URL in an HTTP request matches the configured whitelist, access to the requested website is allowed. A whitelist helps improve matching efficiency.

Example

# Create URL filtering profile profile_development and add www.abc.com to a URL whitelist.
<Huawei> system-view
[Huawei] profile type url-filter name profile_development
[Huawei-profile-url-filter-profile_development] whitelist url name www.abc.com
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 211312

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next