The dhcp snooping alarm dhcpv6-rate threshold command sets the alarm threshold for the number of discarded DHCPv6 messages.
The undo dhcp snooping alarm dhcpv6-rate threshold command restores the default setting.
By default, the alarm threshold for globally discarded DHCPv6 messages is 100 packets, and the alarm threshold for discarded DHCPv6 messages on an interface is the same as the configured value in the system view.
dhcp snooping alarm dhcpv6-rate threshold threshold
undo dhcp snooping alarm dhcpv6-rate threshold
Parameter | Description | Value |
---|---|---|
threshold |
Specifies the alarm threshold. When the number of discarded DHCPv6 messages reaches the threshold, the device generates an alarm. |
The value is an integer that ranges from 1 to 1000, in packets. |
System view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, Eth-Trunk interface view, port group view
Usage Scenario
After the device is enabled to generate an alarm when the number of discarded DHCPv6 messages reaches the threshold using the dhcp snooping alarm dhcpv6-rate enable command, you can run the dhcp snooping alarm dhcpv6-rate threshold threshold command to configure the alarm threshold for discarded DHCPv6 messages. The device generates an alarm when the number of discarded DHCPv6 messages reaches the configured alarm threshold.
Prerequisites
DHCP snooping has been enabled on the device using the dhcp snooping enable command.
Precautions
If the dhcp snooping alarm dhcpv6-rate threshold command is run in the system view, the configuration takes effect for all the interfaces on the device. If this command is run in the interface view, the configuration takes effect only for the specified interface.