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 alarm dhcp-rate threshold

dhcp snooping alarm dhcp-rate threshold

Function

The dhcp snooping alarm dhcp-rate threshold command sets the alarm threshold for the number of discarded DHCP messages.

The undo dhcp snooping alarm dhcp-rate threshold command restores the default alarm threshold for the number of discarded DHCP messages.

By default, the global alarm threshold for the number of discarded DHCP messages is 100, and the alarm threshold for the number of discarded DHCP messages on an interface is the same as that configured in the system view.

Format

dhcp snooping alarm dhcp-rate threshold threshold

undo dhcp snooping alarm dhcp-rate threshold

Parameters

Parameter Description Value
threshold Specifies the alarm threshold. If the number of discarded DHCP messages reaches the threshold, an alarm is generated. The value is an integer that ranges from 1 to 1000. The default value is 100.

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After you run the dhcp snooping alarm dhcp-rate enable command to enable a device to generate an alarm when the number of discarded DHCP messages reaches the threshold, you can set the alarm threshold using the dhcp snooping alarm dhcp-rate threshold command. An alarm is generated when the number of discarded DHCP messages reaches the threshold.

If the alarm threshold is set in the system view and interface view, the smaller value takes effect.

Prerequisites

DHCP snooping has been enabled on the device using the dhcp snooping enable command.

Example

# Set the alarm threshold for the number of discarded DHCP messages on GE0/0/1 to 50.

<Huawei> system-view
[Huawei] dhcp enable
[Huawei] dhcp snooping enable
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] dhcp snooping alarm dhcp-rate threshold 50
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 196770

Downloads: 122

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