DHCP Server command reference
Dynamic Host Configuration Protocol
5-21
iMG/RG Software Reference Manual (System Administration)
Example
The example below creates a fixed host mapping:
--> dhcpserver add fixedhost myhost 192.168.219.1 00:20:2b:01:02:03
The example below creates a suitable subnet for the above fixed host mapping. Note that
the IP address used above is not present in the following IP range:
--> dhcpserver add subnet mysubnet 192.168.219.0 255.255.255.0 192.168.219.10
192.168.219.20
See also
DHCPSERVER DELETE FIXEDHOST
DHCPSERVER LIST FIXEDHOSTS
5.1.5.1.22 DHCPSERVER CLEAR FIXEDHOSTS
Syntax
DHCPSERVER CLEAR FIXEDHOSTS
Description
This command deletes all DHCP server fixedhosts that were created using the
DHCPS-
ERVER ADD FIXEDHOST
command.
Example
--> dhcpserver clear fixedhosts
5.1.5.1.23 DHCPSERVER DELETE FIXEDHOST
Syntax
DHCPSERVER DELETE FIXEDHOST <name>
Description
This command deletes a single fixed host mapping in the DHCP server that was created
using the
DHCPSERVER ADD FIXEDHOST
command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
Name
An arbitrary name that identifies the fixed host map-
ping. It can be made up of one or more letters or a
combination of letters and digits, but it cannot start
with a digit.
N/A
IPaddress
The IP address that is assigned to a DHCP client
based on the client’s MAC address, in the format:
192.168.102.3
N/A
macaddress
A MAC address in the format: ##:##:##:##:##:##
N/A