Chapter 5 Interfaces
ZyWALL (ZLD) CLI Reference Guide
52
[no] ip dhcp pool profile_name Creates a DHCP pool if necessary and enters sub-
command mode. You can use the DHCP pool to
create a static entry or to set up a range of IP
addresses to assign dynamically.
• If you use the
host command, the ZyWALL
treats this DHCP pool as a static DHCP entry.
• If you do not use the
host command and use
the network command, the ZyWALL treats
this DHCP pool as a pool of IP addresses.
• If you do not use the
host command or the
network command, the DHCP pool is not
properly configured and cannot be bound to
any interface.
The no command removes the specified DHCP
pool.
show Shows information about the specified DHCP pool.
Use the following commands if you want to create
a static DHCP entry. If you do not use the
host
command, the commands that are not in this
section have no effect, but you can still set them.
[no] host ip Specifies the static IP address the ZyWALL should
assign. Use this command, along with
hardware-address, to create a static DHCP
entry.
Note: The IP address must be in the
same subnet as the interface to
which you plan to bind the DHCP
pool.
When this command is used, the ZyWALL treats
this DHCP pool like a static entry, regardless of the
network setting. The no command clears this
field.
[no] hardware-address mac_address Reserves the DHCP pool for the specified MAC
address. Use this command, along with host, to
create a static DHCP entry. The
no command
clears this field.
[no] client-identifier mac_address Specifies the MAC address that appears in the
DHCP client list. The no command clears this field.
[no] client-name host_name Specifies the host name that appears in the DHCP
client list. The
no command clears this field.
host_name: You may use 1-31 alphanumeric
characters, underscores(_), or dashes (-), but the
first character cannot be a number. This value is
case-sensitive.
Use the following commands if you want to create
a pool of IP addresses. These commands have no
effect if you use the
host command. You can still
set them, however.
Table 15 interface Commands: DHCP Settings (continued)
COMMAND DESCRIPTION