No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Security

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Whitelist Entry

Configuring a Whitelist Entry


The whitelist prevents specified IP addresses from being added to the blacklist. The IP addresses in the whitelist will not be added to the blacklist statically or dynamically. An entry in the whitelist is identified by a source VPN and a source IP address.

You can specify the IP address, aging time, and VPN instance when adding an entry to the whitelist. The aging time refers to amount of time the IP address is effective in the whitelist. When the aging time expires, the IP address is released from the whitelist. If the aging time is not specified, the IP address is always valid in the whitelist.

Entries in the whitelist take effect directly and you do not need to enable the whitelist function.

The whitelist is applicable to networks where packets sent from some devices are valid service packets similar to IP address sweeping or port scanning attack packets. The whitelist prevents these devices from being added to the blacklist.


  1. Run system-view

    The system view is displayed.

  2. Run firewall whitelist ip-address [ vpn-instance vpn-instance-name ] [ expire-time minutes ]

    An entry is added to the whitelist.

  3. (Optional) Run firewall black-white-list save configuration-file configuration-file-name

    The blacklist and whitelist are saved to the specified configuration file. You can use the blacklist and whitelist later by loading this configuration file.

Updated: 2019-08-07

Document ID: EDOC1100034077

Views: 127304

Downloads: 231

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next