The dhcpv6 packet-rate drop-alarm threshold command sets the alarm threshold for the number of DHCPv6 messages discarded when the rate of DHCPv6 messages exceeds the rate limit.
The undo dhcpv6 packet-rate drop-alarm threshold command restores the default alarm threshold of the number of DHCPv6 messages discarded.
By default, the alarm threshold is 100 packets when the alarm function of DHCPv6 messages discarded is enabled.
dhcpv6 packet-rate drop-alarm threshold threshold
undo dhcpv6 packet-rate drop-alarm threshold
Parameter |
Description |
Value |
---|---|---|
threshold |
Specifies the alarm threshold for the number of DHCPv6 messages discarded when the rate of DHCPv6 messages exceeds the rate limit. |
The value is an integer that ranges from 1 to 1000. |
Usage Scenario
After the alarm function of DHCPv6 messages discarded is enabled using the dhcpv6 packet-rate drop-alarm enable command, the device records alarm information when the number of DHCPv6 packets that are discarded exceeds the alarm threshold.
Prerequisites
The DHCP function has been enabled globally using the dhcp enable command.
The DHCPv6 packet rate limit has been enabled using the dhcpv6 packet-rate packet-rate command.
The alarm function for discarding DHCPv6 messages when the rate of DHCPv6 messages exceeds the limit has been enabled using the dhcpv6 packet-rate drop-alarm enable command.