The dhcp snooping check enable enables the device to check DHCP messages.
The undo dhcp snooping check enable disables the device from checking DHCP messages.
By default, the device does not check DHCP messages.
In the system view:
dhcp snooping check { user-bind | mac-address } enable vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>
undo dhcp snooping check { user-bind | mac-address } enable vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>
In the VLAN view, Ethernet interface view, GE interface view, XGE interface view, Eth-Trunk interface view, Port-group view:
dhcp snooping check { user-bind | mac-address } enable
undo dhcp snooping check { user-bind | mac-address } enable
Parameter | Description | Value |
---|---|---|
user-bind |
Check DHCP messages against the DHCP snooping binding table. |
- |
mac-address |
Compare the MAC address in DHCP ACK or DHCP Request messages with the CHADDR value. |
- |
vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> |
Enables the device to check the HCP messages from a specified VLAN to the processing unit.
|
The value is an integer that ranges from 1 to 4094. |
VLAN view, System view, Ethernet interface view, GE interface view, XGE interface view, Eth-Trunk interface view, Port-group view