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

AR500, AR510, and AR530 V200R007

This document describes the configurations of Security, including AAA, DAA,NAC, BRAS Access, ACL, Firewall, Deep Security Defense, Local Attack Defense;Attack Defense, Traffic Suppression, ARP Security, Port Security, DHCP Snooping, IPSG, URPF, PKI, SSL, HTTPS, Keychain, separating the management plane from the service plane, security risks.
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:


    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-05-25

Document ID: EDOC1000097287

Views: 13631

Downloads: 40

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