ZyXEL Communications 4.04 User Manual

Page of 204
Chapter 15 IP Commands
ZyWALL (ZyNOS) CLI Reference Guide
106
The following command removes the policy’s customized rule entry for www.hacking-
example.com.
15.1.7  Custom Port Commands
The following section lists the custom port commands.
15.1.8  DHCP Commands
The following section lists the DHCP commands.
15.1.9  DNS Commands
The following section lists DNS commands.
as> ip cf policy config customRule delete
Usage:[index]
========================
[Index: 1] [Type: Not Trust Domain] Name: www-hacking-example.com
ras> ip cf policy config customRule delete 1
Table 46   Custom Port Commands
COMMAND
DESCRIPTION
M
ip customizePort config <index
name <FTP|H323|SIP> <start-port
<end-port>
Modifies or adds a new customized port rule for FTP, H.323, or 
SIP traffic.
index
: The number of a customized port rule (1~12).
R+B
ip customizePort delete <index>
Deletes the specified customized port rule.
R+B
ip customizePort display
Displays all customized port rules.
R+B
Table 47   DHCP Commands
COMMAND
DESCRIPTION
M
ip dhcp <interface> client 
release
Releases the specified interface’s DHCP client IP address. 
The interface must be a DHCP client to use this command.
R
ip dhcp <interface> client renew
Renews the DHCP client IP address. The interface must be a 
DHCP client to use this command.
R
ip dhcp <interface> status 
Displays the DHCP status of the specified interface.
R
Table 48   DNS Commands
COMMAND
DESCRIPTION
M
ip dns dmz display
Shows the DNS server settings the ZyWALL assigns to DMZ 
DHCP clients. 
R
ip dns dmz edit <0|1|2> <0:from 
ISP|1:user defined|2:DNS 
relay|3:none> [isp-idx|ip-
address]
Configures the DNS server settings the ZyWALL assigns to 
DMZ DHCP clients. 
0|1|2
: Specifies the first, second, or third DNS server setting.
isp-idx|ip-address
: If you set the server as from ISP (0), 
specify the number of the ISP (the number of the remote 
node). If you set the server as user defined (1), specify the IP 
address.
R
ip dns lan display
Shows the LAN DHCP DNS server settings.
R