< Home

dhcp snooping check dhcp-rate alarm threshold

Function

The dhcp snooping check dhcp-rate alarm threshold command sets the alarm threshold for checking the rate of sending DHCP messages to the processing unit. An alarm is sent when the number of discarded DHCP messages exceeds the alarm threshold.

The undo dhcp snooping check dhcp-rate alarm threshold command restores the default threshold for checking the rate of sending DHCP messages to the processing unit.

By default, the alarm threshold for checking the rate of sending DHCP messages to the processing unit is the value set through the dhcp snooping alarm threshold threshold command in the system view. If the command is not run, the default value is 100.

Format

dhcp snooping check dhcp-rate alarm threshold threshold

undo dhcp snooping check dhcp-rate alarm threshold

Parameters

Parameter Description Value

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 ranging from 1 to 1000, in packets.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the dhcp snooping check dhcp-rate alarm threshold command is run, the device sends a trap message if the number of discarded DHCP messages reaches the alarm threshold.

The dhcp snooping check dhcp-rate alarm threshold command takes effect after the alarm for checking the rate of sending DHCP message to the processing unit is enabled.

Example

# Set the alarm threshold for checking the rate of sending DHCP message to the processing unit to 50.

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