< Home

rbl-filter blacklist ip

Function

The rbl-filter blacklist ip command adds an IP address to the local blacklist for anti-spam.

The undo rbl-filter blacklist command deletes an IP address from the local blacklist.

Format

rbl-filter blacklist ip ip-address [ wildcard { wildcardlen | wildcard } | mask { mask-length | mask } ]

undo rbl-filter blacklist { all | ip ip-address [ wildcard { wildcardlen | wildcard } | mask { mask-length | mask } ] }

Parameters

Parameter Description Value
ip ip-address

Specifies the IP address to be blacklisted. SMTP packets with blacklisted source IP addresses are blocked.

The value is in dotted decimal notation.

wildcard wildcardlen

Specifies the wildcard mask length of the IP address, that is, the length of the inverted mask of the IP address.

The value is an integer ranging from 0 to 32. For example, the length of the inverted mask 255.255.255.0 is 8.

wildcard wildcard

Specifies the wildcard mask of the IP address, that is, the inverted mask of the IP address.

The value is in dotted decimal notation.

mask mask

Specifies the mask of the IP address.

The value is in dotted decimal notation.

mask mask-length

Specifies the mask length of the IP address.

The value is an integer ranging from 0 to 32. For example, the length of mask 255.255.255.0 is 24.

all

Deletes all blacklisted IP addresses.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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

The FW filters out junk mails by performing legitimacy check on the sender's SMTP server IP address. Upon receiving an SMTP message, the FW obtains the source IP address and determine whether the IP address is legitimate.

If a sender's source IP address matches the blacklist, the FW blocks the email and does not implement RBL filtering. If you have received junk mails from certain SMTP servers or have identified some SMTP servers as junk mail sources, add the IP addresses of these SMTP servers to the local blacklist. The FW discards the emails from these servers.

No IP addresses are blacklisted by default.

Example

# Add IP address range 10.16.1.0/24 to the blacklist.

<sysname> system-view
[sysname] rbl-filter blacklist ip 10.16.1.0 mask 255.255.255.0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >