The dhcp snooping alarm command enables sending alarms when the number of the discarded ARP packets, IP packets, DHCP reply messages (discarded on the untrusted interface) and DHCP request messages reaches the alarm threshold.
The undo dhcp snooping alarm command disables sending alarms.
dhcp snooping alarm { arp | ip | dhcp-request | dhcp-chaddr | dhcp-reply } enable [ interface interface-type interface-number ]
undo dhcp snooping alarm { arp | ip | dhcp-request | dhcp-chaddr | dhcp-reply } enable [ interface interface-type interface-number ]
| Parameter | Description | Value |
|---|---|---|
| arp | Indicates that the alarm occurs when the number of the discarded ARP packets reaches the threshold. | - |
| ip | Indicates that the alarm occurs when the number of the discarded IP packets reaches the threshold. | - |
| dhcp-reply | Indicates that the alarm occurs when the number of the DHCP response messages discarded on the untrusted interface reaches the threshold, including the Offer, ACK, and NAK messages. | - |
| dhcp-chaddr | Indicates that the alarm occurs when the number of discarded DHCP messages, in which the CHADDR field is inconsistent with the source MAC of the Ethernet frame, reaches the threshold. | - |
| dhcp-request | Indicates that the alarm occurs when the number of the discarded DHCP request messages reaches the threshold. | - |
| interface interface-type interface-number | Specifies the type and number of an interface. | It can be configured only in the VLAN view. |