The dhcp snooping check command enables the packet checking.
The undo dhcp snooping check command disables the packet checking.
Layer-3 interface view:
dhcp snooping check { arp | ip | dhcp-chaddr | dhcp-request } enable
undo dhcp snooping check { arp | ip | dhcp-chaddr | dhcp-request } enable
VLAN view:
dhcp snooping check { arp | ip | dhcp-chaddr | dhcp-request } enable interface interface-type interface-number
undo dhcp snooping check { arp | ip | dhcp-chaddr | dhcp-request } 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-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. |