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 snooping check dhcp-rate

dhcp snooping check dhcp-rate

Function

The dhcp snooping check dhcp-rate command sets the maximum rate of sending DHCP messages to the processing unit.

The undo dhcp snooping check dhcp-rate command restores the default maximum rate of sending DHCP messages to the processing unit.

By default, the maximum rate of sending global DHCP messages to the processing unit is 100 pps, which is the same as the maximum rate of sending DHCP messages on interfaces to the processing unit.

Format

In the system view:

dhcp snooping check dhcp-rate rate [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ]

undo dhcp snooping check dhcp-rate

In the VLAN view and interface view:

dhcp snooping check dhcp-rate rate

undo dhcp snooping check dhcp-rate

Parameters

Parameter Description Value
rate Specifies the maximum rate of sending DHCP messages to the processing unit. The value is an integer that ranges from 1 to 100, in pps.
vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>
Specifies the maximum rate of sending DHCP messages from a specified VLAN to the processing unit.
  • vlan-id1 specifies the first VLAN ID.
  • to vlan-id2 specifies the last VLAN ID. vlan-id2 must be larger than vlan-id1.

If this parameter is not specified, the command takes effect on all the DHCP messages.

The value is an integer that ranges from 1 to 4094.

Views

System view, VLAN view, GE interface view, MultiGE interface view, XGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After DHCP snooping is enabled, the device sends all the received DHCP Request messages and Reply messages to the processing unit. If the rate of sending DHCP messages is high, processing efficiency of the processing unit is affected. After the device is enabled to check the rate of sending DHCP messages to the processing unit, run the dhcp snooping check dhcp-rate command to set the maximum rate of sending DHCP messages to the processing unit. DHCP messages that exceed the rate are discarded.

Prerequisites

The device has been enabled to check the rate of sending DHCP messages to the processing unit using the dhcp snooping check dhcp-rate enable command.

Precautions

If the maximum rates of sending DHCP messages to the processing unit are set in the system view, VLAN view, and interface view, the smallest value takes effect.

Example

# In the system view, set the maximum rate of sending DHCP messages to the processing unit to 50 pps.

<Huawei> system-view
[Huawei] dhcp enable
[Huawei] dhcp snooping enable
[Huawei] dhcp snooping check dhcp-rate enable
[Huawei] dhcp snooping check dhcp-rate 50
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 204079

Downloads: 122

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