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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
dhcp speed-limit auto

dhcp speed-limit auto

Function

The dhcp speed-limit auto command enables dynamic rate limiting on DHCP packets.

The undo dhcp speed-limit auto command disables dynamic rate limiting on DHCP packets.

By default, dynamic rate limiting is disabled on DHCP packets.

Format

dhcp speed-limit auto

undo dhcp speed-limit auto

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To ensure security or facilitate management, users may require that the DHCP packet processing rate should be limited. If the rate is not limited, CPU and memory resources can be used up due to malicious attacks.

Table 6-42 and Table 6-43 list the mapping between the DHCP packet rate and CPU/memory usage after dynamic rate limiting on DHCP packets is enabled.
Table 6-42  DHCP packet rate and CPU usage

CPU Usage (%)

DHCP Packet Rate (packets/second)

(70–85)

100

[85–100)

50

100

10

Table 6-43  DHCP packet rate and memory usage

Memory Usage (%)

DHCP Packet Rate (packets/second)

(65–75)

100

[75–85)

50

[85–100)

10

Prerequisites

DHCP has been enabled globally by using the dhcp enable command.

Precautions

  • A device functioning only as a DHCP snooping device or DHCP client supports this function.
  • When the CPU usage is higher than 70% or the memory usage is higher than 65%, the DHCP packet processing rate is limited.
  • The DHCP packet processing rate is the same as the smaller rate among the rates corresponding to the CPU or memory usage. For example, when the CPU usage is 80% and the memory usage is 80%, the DHCP packet rate is 50.

Example

# Enable dynamic rate limiting on DHCP packets.

<Huawei> system-view
[Huawei] dhcp enable
[Huawei] dhcp speed-limit auto
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202140

Downloads: 122

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