Chapter 6 Interfaces

Table 17 interface Commands: DHCP Settings (continued)

COMMAND

DESCRIPTION

[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 to create a pool of IP addresses. These

 

commands have no effect if you use the host command. You can

 

still set them, however.

dhcp-option <1..254> option_name

Adds or edits a DHCP extended option for the specified DHCP pool.

{boolean <0..1> uint8 <0..255>

text: String of up to 250 characters

uint16 <0..65535>

 

uint32 <0..4294967295> ip ipv4 [

hex: String of up to 250 hexadecimal pairs.

ipv4 [ ipv4]] fqdn fqdn [ fqdn [

 

fqdn]] text text hex hex vivc

vivc: Vendor-Identifying Vendor Class option. A DHCP client may use

enterprise_id hex_s [enterprise_id

this option to unambiguously identify the vendor that manufactured

hex_s ] vivs enterprise_id hex_s

the hardware on which the client is running, the software in use, or

[enterprise_id hex_s ]

an industry consortium to which the vendor belongs.

 

enterprise_id: Number <0..4294967295>.

 

hex_s: String of up to 120 hexadecimal pairs.

 

vivs: Vendor-Identifying Vendor-Specific option. DHCP clients and

 

servers may use this option to exchange vendor-specific information.

 

 

no dhcp-option <1..254>

Removes the DHCP extended option for the specified DHCP pool.

network IP/<1..32>

Specifies the IP address and subnet mask of the specified DHCP pool.

network ip mask

The subnet mask can be written in w.x.y.z format or in /<1..32>

no network

format.

 

Note: The DHCP pool must have the same subnet as the interface to

 

which you plan to bind it.

 

The no command clears these fields.

[no] default-router ip

Specifies the default gateway DHCP clients should use. The no

 

command clears this field.

 

 

[no] description description

Specifies a description for the DHCP pool for identification. The no

 

command removes the description.

 

 

[no] domain-name domain_name

Specifies the domain name assigned to DHCP clients. The no

 

command clears this field.

64

 

ZyWALL (ZLD) CLI Reference Guide