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).
Setting Parameters for Scanning Attack Defense

Setting Parameters for Scanning Attack Defense


For scanning attack defense, the following two parameters need to be set:

  • Maximum session rate: When an IP address accesses another IP address or port at a rate higher than this value, the firewall considers that a scanning attack occurs. Then the firewall adds the IP address or port to the blacklist to reject new sessions from the IP address or port.
  • Blacklist timeout: After an IP address or port stays in the blacklist for a specified period, the firewall deletes the IP address or port from the blacklist and allows new sessions from the IP address or port.

Step 2 and step 3 are optional and can be performed in any sequence. You can perform the steps as required.


  1. Run system-view

    The system view is displayed.

  2. Run firewall defend ip-sweep { blacklist-expire-time interval | max-rate rate-value }

    The parameters for IP address sweeping attack defense are set.

  3. Run firewall defend port-scan { blacklist-expire-time interval | max-rate rate-value }

    The parameters for port scanning attack defense are set.

    By default, the maximum session rate for IP address sweeping and port scanning attack defense is 4000 pps, and the blacklist timeout is 20 minutes.

Updated: 2019-08-07

Document ID: EDOC1100034077

Views: 128637

Downloads: 231

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