dhcp server check mac-address
Use dhcp server check mac-address to enable MAC address check on the DHCP server.
Use undo dhcp server check mac-address to disable MAC address check on the DHCP server.
Syntax
dhcp server check mac-address
undo dhcp server check mac-address
Default
MAC address check is disabled on the DHCP server.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This feature enables the DHCP server to compare the chaddr field of a received DHCP request with the source MAC address in the frame header. If they are the same, the DHCP server verifies the packet as legal and continues processing the packet. If they are not the same, the DHCP server discards the request.
Examples
# Enable MAC address check on the DHCP server.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] dhcp server check mac-address