< Home

whitelist-only enable

Function

The whitelist-only enable command enables URL filtering that supports the whitelist mode only.

The undo whitelist-only enable command disables URL filtering that supports the whitelist mode only.

Format

whitelist-only enable

undo whitelist-only enable

Parameters

None

Views

URL filtering profile view

Default Level

2: Configuration level

Usage Guidelines

By default, URL filtering that supports the whitelist mode only is disabled.

To enable URL filtering in the whitelist mode without other complex configurations, you can run the whitelist-only enable command.

After the function is enabled, the data flow that matches the whitelist is allowed, and the data flow that does not match the whitelist is blocked.

Example

# Enable URL filtering that supports the whitelist mode only.

<sysname> system-view
[sysname] profile type url-filter name profile_url
[sysname-profile-url-filter-profile_url] whitelist-only enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >