< Home

dhcp snooping check dhcp-rate alarm enable (upgrade-compatible command)

Function

The dhcp snooping check dhcp-rate alarm enable command enables the device to generate an alarm when the number of discarded DHCP messages reaches the threshold.

By default, the device is disabled from generating an alarm when the number of discarded DHCP messages reaches the threshold.

Format

dhcp snooping check dhcp-rate alarm { enable | [ enable ] threshold threshold }

Parameters

Parameter Description Value
threshold threshold Specifies the alarm threshold for checking the rate of sending DHCP messages to the processing unit. An alarm is generated after the rate for sending DHCP messages is checked and the number of discarded DHCP messages reaches the alarm threshold. The value is an integer that ranges from 1 to 1000.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

After the alarm function is enabled, the device sends a trap message when the number of discarded DHCP messages reaches the alarm threshold.

Example

# In the system view, enable the device to generate an alarm when the number of discarded DHCP messages reaches the threshold.

<HUAWEI> system-view
[HUAWEI] dhcp snooping check dhcp-rate alarm enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >