< Home

default action (URL filtering profile view)

Function

The default action command sets the default action for a URL filtering profile.

The undo default action command sets the default action for a URL filtering profile to allow.

Format

default action { allow | block | alert }

undo default action

Parameters

Parameter Description Value

allow

Sets the default action to allow.

-

block

Sets the default action to block.

-

alert

Sets the default action to alert.

-

Views

URL filtering profile view

Default Level

2: Configuration level

Usage Guidelines

The default action for a URL filtering profile is allow.

Example

# Set the default action for the URL filtering profile profile_development to block in the URL filtering profile view.

<sysname> system-view
[sysname] profile type url-filter name profile_development
[sysname-profile-url-filter-profile_development] default action block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >