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.


Configuration Guide - Security

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the configurations of Security, including ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, Port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, URPF, keychain, MPAC, separating the management plane from the service plane, security risks, PKI.
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 for Attack Source Tracing

Configuring a Whitelist for Attack Source Tracing


Attack source tracing locates attack sources and takes punish actions on the attack sources. If some users do not need to be traced regardless of whether they might initiate attacks, add the users to a whitelist.

  • Before referencing an ACL in a whitelist, create the ACL and configure rules.

  • To specify a protocol type in the ACL referenced by the whitelist, ensure that this protocol supports the attack source tracing function. You can run the display auto-defend configuration command to view the protocols supported by attack source tracing. If a protocol is not supported by attack source tracing, you can run the auto-defend protocol command to configure attack source tracing to support the protocol.

  • The whitelist may fail to be applied because ACL resources are insufficient.
  • All the packets matching an ACL referenced by a whitelist are considered to be valid packets regardless of whether the ACL rule is permit or deny.

    If an ACL has no rule, the whitelist that references the ACL does not take effect.


  1. Run system-view

    The system view is displayed.

  2. Run cpu-defend policy policy-name

    The attack defense policy view is displayed.

  3. Run auto-defend enable

    Attack source tracing is enabled.

    By default, attack source tracing is enabled.

  4. Run auto-defend whitelist whitelist-number { acl acl-number | interface interface-type interface-number }

    A whitelist is configured.

    By default, no whitelist is configured for attack source tracing. If any of the following conditions is met, however, the device uses the condition as the whitelist matching rule, regardless of whether attack source tracing is enabled. After attack source tracing is enabled, the device does not perform attack source tracing for the packets matching such rules.

    • If an application uses the TCP protocol and has set up a TCP connection with the switch, the switch will not consider TCP packets with the matching source IP address as attack packets. If no TCP packets match a source IP address within 1 hour, the rule that specifies this source IP address will be aged out.
    • If an interface has been configured as a DHCP trusted interface using the dhcp snooping trusted command, the device will not consider DHCP packets received from this interface as attack packets.
    • If an interface has been configured as a MAC forced forwarding (MFF) network-side interface using the mac-forced-forwarding network-port command, the device will not consider ARP packets received from this interface as attack packets.

    For the preceding conditions, the device supports a maximum of 16 whitelist matching rules based on source IP addresses and interfaces, and a maximum of 8 whitelist matching rules based on source IP addresses of TCP packets.

Updated: 2019-10-21

Document ID: EDOC1000178177

Views: 233703

Downloads: 753

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