Chapter 2 Common Commands

Use these commands to release and renew DHCP-assigned information on the specified interface.

ras> ip dhcp enif1 client release ras> ip dhcp enif1 status

DHCP on iface enif1 is client

Hostname : zyxel.zyxel.com

Domain Name : zyxel.com

Server IP address: 0.0.0.0

Client IP address: 0.0.0.0/27

DNS server : 0.0.0.0, 0.0.0.0

Default gateway: 0.0.0.0

Lease time : 0 seconds

Renewal time: 0 seconds

Rebind time : 0 seconds

Client State =

8, retry =

0

periodtimer

=

286, timer =

0

flags

=

2

 

Status:

 

 

 

 

Packet InCount: 3, OutCount: 3, DiscardCount: 0

ras> ip

dhcp enif1 client renew

 

ras> ip

dhcp enif1 status

 

 

DHCP on

iface enif1 is client

 

Hostname : zyxel.zyxel.com

Domain Name : zyxel.com

Server IP address: 172.16.5.2

Client IP address: 172.16.37.48/24

DNS server : 172.16.5.2, 172.16.5.1, 0.0.0.0

Default gateway: 172.16.37.254

Lease time : 604800 seconds

Renewal time: 302400 seconds

Rebind time : 529200 seconds

Client State =

3, retry =

0

periodtimer

=

272, timer =

302397

flags

=

2

 

Status:

Packet InCount: 3, OutCount: 2, DiscardCount: 0

 

19

ZyWALL (ZyNOS) CLI Reference Guide