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 an Attack Source Tracing Mode

Configuring an Attack Source Tracing Mode


After attack source tracing is enabled, you need to set a mode in which the device traces attack sources. The device supports the following attack source tracing modes:
  • Source IP address-based tracing: prevents Layer 3 attack packets.
  • Source MAC address-based tracing: prevents Layer 2 attack packets with a fixed source MAC address.
  • Tracing based on a combination of source port and VLAN: prevents Layer 2 attack packets with different source MAC addresses.


  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 trace-type { source-ip | source-mac | source-portvlan } *

    The attack source tracing mode is specified.

    By default, attack source tracing is based on source IP addresses and source MAC addresses.


    When the attack source tracing mode is source-ip and action is error-down, if multiple interfaces receive the attack packets with the same source IP address and the packet rate exceeds the threshold, the switch shuts down only one interface, and then checks packet rate again. If the packet rate is still higher than the threshold, the switch shuts down another interface. The switch repeats the operations until the packet rate falls below the threshold.

Updated: 2019-09-23

Document ID: EDOC1000178177

Views: 233387

Downloads: 750

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