< Home

query

Function

The query command configures a query set.

The undo query command deletes a query set.

Format

query query-name

undo query

Parameters

Parameter Description Value
query-name

Specifies the name of a query set provided by the RBL service provider.

The value is a string of 1 to 64 characters.

Views

RBL user-defined policy view

Default Level

2: Configuration level

Usage Guidelines

Only the USG6510E/6510E-POE/6530E does not support this command.

Anti-spam performs legitimacy check on the sender IP address. If the IP address is blacklisted, the FW considers the mail to be a junk mail.

After RBL filtering is configured, if a source IP address is not included in the local whitelist or blacklist, the FW sends a query request to the RBL server and determines the legitimacy of the IP address based on the reply code returned from the RBL server.

The query set is the RBL service name. It is used to locate the RBL server. The query set is provided by the RBL service provider. You can configure only one query set for each policy.

Example

# Configure the query set of RBL user-defined profile rbl_filter_abc as cbl.anti-spam.org.

<sysname> system-view
[sysname] rbl-filter profile user-defined name abc
[sysname-rbl-filter-profile-abc] query cbl.anti-spam.org
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >