< Home

url-filter query timeout

Function

The url-filter query timeout command specifies the timeout time of a URL remote query and the timeout action (action to be taken when a URL remote query times out).

The undo url-filter query timeout command restores the default timeout time and action of a URL remote query.

Format

url-filter query timeout { time time | action { alert | allow | block } } *

undo url-filter query timeout [ action | time ] *

Parameters

Parameter Description Value
time Indicates the timeout time of a URL remote query. The value is an integer ranging from 1 to 5, in seconds. The default value is 3.
action Indicates the timeout action of a URL remote query. -
alert Sets the timeout action of a URL remote query to alert. None
allow Sets the timeout action of a URL remote query to allow. None
block Sets the timeout action of a URL remote query to block. None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The function takes effect only after the URL remote query license is valid and related component packages are loaded dynamically. For details about the component package, see Dynamic Loading.

By default, the timeout action of a URL remote query is permit.

Example

# Set the timeout duration for URL remote query to 2 seconds, and the timeout action to block.

<sysname> system-view
[sysname] url-filter query timeout time 2 action block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >