< Home

dhcp snooping check dhcp-rate enable

Function

The dhcp snooping check dhcp-rate enable command enable the check of the rate at which DHCP messages are sent to the DHCP protocol stack.

The undo dhcp snooping check dhcp-rate enable command disable the check of the rate at which DHCP messages are sent to the DHCP protocol stack.

Format

dhcp snooping check dhcp-rate enable

undo dhcp snooping check dhcp-rate enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the rate at which DHCP messages are sent to the DHCP protocol stack is not checked.

After the dhcp snooping check dhcp-rate enable command is run, the device checks the rate of sending DHCP request messages. A certain number of packets can be sent in a certain period time according to the rate and the excess packets are discarded.

After you configure the alarm function, the device sends the alarm to the NMS if the number of the discarded packets reaches the configured alarm threshold.

Example

# Enable the system to check the rate at which DHCP messages are sent.

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