Chapter 5 Interfaces
ZyWALL (ZLD) CLI Reference Guide
54
5.2.3.1 DHCP Setting Command Examples
The following example uses these commands to configure DHCP pool DHCP_TEST.
5.2.4 Ping Check Commands
This table lists ping check commands
[no] ip helper-address ip Creates the specified DHCP relay. You have to
remove the DHCP pool first, if the DHCP pool is
bound to the specified interface. The no command
removes the specified DHCP relay.
release dhcp interface-name Releases the TCP/IP configuration of the specified
interface. The interface must be a DHCP client.
This command is available in privilege mode, not
configuration mode.
renew dhcp interface-name Renews the TCP/IP configuration of the specified
interface. The interface must be a DHCP client.
This command is available in privilege mode, not
configuration mode.
show ip dhcp binding [ip] Displays information about DHCP bindings for the
specified IP address or for all IP addresses.
clear ip dhcp binding {ip | *} Removes the DHCP bindings for the specified IP
address or for all IP addresses.
Table 15 interface Commands: DHCP Settings (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# ip dhcp pool DHCP_TEST
Router(config-ip-dhcp-pool)# network 192.168.1.0 /24
Router(config-ip-dhcp-pool)# domain-name zyxel.com.tw
Router(config-ip-dhcp-pool)# first-dns-server 172.23.5.1
Router(config-ip-dhcp-pool)# second-dns-server ge1 1st-dns
Router(config-ip-dhcp-pool)# third-dns-server 172.23.5.2
Router(config-ip-dhcp-pool)# default-router 192.168.1.1
Router(config-ip-dhcp-pool)# lease 0 1 30
Router(config-ip-dhcp-pool)# starting-address 192.168.1.10 pool-size 30
Router(config-ip-dhcp-pool)# hardware-address 00:0F:20:74:C6:88
Router(config-ip-dhcp-pool)# client-identifier 00:0F:20:74:C6:88
Router(config-ip-dhcp-pool)# client-name TW12210
Router(config-ip-dhcp-pool)# exit
Router(config)# interface ge1
Router(config-if)# ip dhcp-pool DHCP_TEST
Router(config-if)# exit
Router(config)# show ip dhcp server status
binding interface : ge1
binding pool : DHCP_TEST
Table 16 interface Commands: Ping Check
COMMAND DESCRIPTION
show ping-check [interface_name] Displays information about ping check settings for
the specified interface or for all interfaces.
interface interface_name Enters sub-command mode.