< Home

rbl-filter whitelist ip

Function

The rbl-filter whitelist ip command adds an IP address to the local whitelist.

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

Format

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

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

Parameters

Parameter Description Value
ip ip-address Specifies the IP address to be whitelisted. SMTP packets with whitelisted source IP addresses are forwarded. 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 whitelisted 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 checks the whitelist and blacklist to determine whether the IP address is legitimate. If the whitelist function is enabled for anti-spam and a source IP address matches the whitelist, the FW considers the mail to be legitimate and does not match the mail against the blacklist.

You can add the IP addresses of trusted SMTP servers to the local whitelist to improve inspection efficiency.

You can run the rbl-filter whitelist ip command to manually add IP addresses to the local whitelist for RBL filtering.

No IP addresses are whitelisted by default.

Example

# Add IP address range 172.16.1.0/24 to the whitelist.

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