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

Reminder

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

upgrade

Configuration Guide - Security

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

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, 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).
Configuring Defense Against DHCP Flood Attacks

Configuring Defense Against DHCP Flood Attacks

Context

On a DHCP network, if an attacker sends a large number of DHCP messages to the device within a short time, the device performance may be affected and the device may not work normally. To prevent DHCP Flood attacks, you can enable the device to check the rate of sending DHCP messages to the processing unit.

Procedure

  1. Run system-view

    The system view is displayed.

  2. You can limit the rate of sending DHCP messages in the system view, VLAN view, or the interface view.
    1. Run vlan vlan-id

      The VLAN view is displayed.

      Or run interface interface-type interface-number

      The interface view is displayed.

      Or perform the following configurations directly in the system view.

    2. Run dhcp snooping rate-limit enable

      The device is enabled to check the rate of sending DHCP messages to the processing unit.

      By default, the device does not check the rate of sending DHCP messages to the processing unit.

      NOTE:

      If you run this command in the VLAN view, the command takes effect on all the DHCP messages in the specified VLAN received by all the interfaces on the device.

      Running the dhcp snooping rate-limit enable vlan { vlan-id1 [ to vlan-id2 ] }&<1-10> command in the system view is equivalent to running the dhcp snooping rate-limit enable command in the VLAN view.

    3. Run dhcp snooping rate-limit rate

      The maximum rate of sending DHCP messages to the processing unit is set.

      By default, the maximum rate of sending global DHCP messages to the processing unit is 100 pps. The maximum rate of DHCP packets sent by a VLAN or interface to the DHCP processing unit is the value set in the system view.

      NOTE:

      Running the dhcp snooping rate-limit vlan { vlan-id1 [ to vlan-id2 ] }&<1-10> command in the system view is equivalent to running the dhcp snooping rate-limit rate command in the VLAN view.

  3. (Optional) Configure the trap function in the system view or interface view.
    1. Run interface interface-type interface-number

      The interface view is displayed.

      Or run bridge-domain bd-id

      The interface view is displayed.

      Or perform the following configurations directly in the system view.

    2. Run dhcp snooping alarm rate-limit enable

      The device is enabled to generate an alarm when the number of discarded DHCP messages reaches the threshold.

      If you run this command in the system view, the command takes effect for all the interfaces on the device.

      By default, the device does not generate an alarm when the number of discarded DHCP messages reaches the threshold.

    3. Run dhcp snooping alarm rate-limit threshold threshold

      The alarm threshold for the number of discarded DHCP messages is set on the interface.

      By default, the global DHCP packets discarded alarm threshold is 100 packets, and the interface DHCP packets discarded alarm threshold is the same as the configuration in system view.

  4. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074765

Views: 28130

Downloads: 97

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