undo dhcp server check mac-address
Default
MAC address check is disabled on the DHCP server.
Views
Interface view
Predefined user roles
network-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
dhcp server database filename
Use
dhcp server database filename
bindings to a file.
Use
undo dhcp server database filename
Syntax
dhcp server database filename { filename | url url }
undo dhcp server database filename
Default
The DHCP server does not back up the DHCP bindings.
Views
System view
Predefined user roles
network-admin
Parameters
: Specifies the name of a local backup file. For information about the
filename
argument, see Fundamentals Configuration Guide.
: Specifies the URL of a remote backup file, a case-sensitive string of 1 to 255 characters.
url url
Usage guidelines
The command automatically creates the file if you specify a nonexistent file.
With this command executed, the DHCP server backs up its bindings immediately and runs auto
backup. The server, by default, waits 300 seconds after a binding change to update the backup file.
You can use the
time. If no DHCP binding changes, the backup file is not updated.
dhcp server database update interval
to configure the DHCP server to back up the DHCP
to restore the default.
16
filename
command to change the waiting