Chapter 16 Interfaces
ZyWALL Series CLI Reference Guide
131
show ip dhcp pool
profile_name dhcp-options
Shows the specified DHCP pool’s DHCP extended option settings.
ip dhcp pool rename
profile_name profile_name
Renames the specified DHCP pool from the first profile_name to the
second profile_name.
ip dhcp static
_import_static_file import
file name interface
interface name
Imports a csv file to the specified interface on the Zyxel Device. The IP/MAC
binding settings and description to identify these settings in the file will be
applied to the Zyxel Device.
Configure your csv file in the order of IP address, MAC address and
description. Spaces are allowed. Separate each item with a comma, for
example, 1.1.1.1,22:22:33:44:55:02,test. Press enter to configure the next
group in a new line.
Your currently configured IP/MAC binding settings and entries description
will be overwritten once you import the file.
[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.
About the sub-command settings:
• If you use the
host command, the Zyxel Device treats this DHCP pool
as a static DHCP entry.
• If you do not use the
host command and use the network
command, the Zyxel Device 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 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 Zyxel Device 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 Zyxel Device 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.
Table 56 interface Commands: DHCP Settings (continued)
COMMAND DESCRIPTION