ZyXEL Communications 3.1 Security Camera User Manual


 
Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
63
This example shows how to restart an interface. You can check all interface names on the ZyWALL.
Then use either the system name or user-defined name of an interface (ge4 or Customer in this
example) to restart it.
6.2.2 DHCP Setting Commands
This table lists DHCP setting commands. DHCP is based on DHCP pools. Create a DHCP pool if you
want to assign a static IP address to a MAC address or if you want to specify the starting IP address
and pool size of a range of IP addresses that can be assigned to DHCP clients. There are different
commands for each configuration. Afterwards, in either case, you have to bind the DHCP pool to the
interface.
Router> show interface-name
No. System Name User Defined Name
===========================================================================
1 ge1 ge1
2 ge2 ge2
3 ge3 ge3
4 ge4 Customer
5 ge5 ge5
Router> configure terminal
Router(config)# interface reset ge4
Router(config)# interface reset Customer
Router(config)#
Table 17 interface Commands: DHCP Settings
COMMAND DESCRIPTION
show ip dhcp dhcp-options Shows the DHCP extended option settings.
show ip dhcp pool [profile_name] Shows information about the specified DHCP pool or about all DHCP
pools.
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.
[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 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 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.