39
No command
Gateway(config)#no lan-ip address
Remove the Gateway’s IP address.
Gateway(config)# no ip dhcp server
Disable DHCP mode.
Show command
Gateway(config)#show ip address
Show the current IP configurations or verify the
configured IP settings.
IP command example
Gateway(config)# ip lan-ip address
192.168.1.198 255.255.255.0
Set up the Gateway’s IP to 192.168.1.198,
subnet mask to 255.255.255.0
Gateway(config)# ip dhcp server
Get an IP address automatically.
3. Configure DHCP advanced function
IP command
Parameter
Description
Gateway(config)# ip dhcp
server domain-name
[domain-name]
[domain-name]
Specify the domain name of the Residential
Gateway up to 30 characters.
Gateway(config)# ip dhcp
server ip-lease-time [1-
14400]
[1-14400]
Specify the lease time in minute. This is a time
period in which the DHCP clients can keep their
IP addresses since the last time in which they
receive the DHCP acknowledgement packet
from the Residential Gateway.
Gateway(config)# ip dhcp
server start-ip [A.B.C.D]
[pools]
[A.B.C.D]
Specify an IP address from which the
Residential Gateway will start to assign the IP
addresses to the DHCP clients on the private
network.
[pools]
Specify the maximum number of IP addresses
which the Residential Gateway can assign to
the DHCP clients.
Gateway(config)# ip dhcp
server ip-mac-binding
address-reservation apply
Apply all the configuration of DHCP reservation
made.
Gateway(config)# ip dhcp
server ip-mac-binding
address-reservation [1-
20]
[1-20]
Specify the entry number of DHCP reservation.
Gateway(config-address-
reservation-No.)#
description [description]
[description]
This is a brief description for this entry.
Gateway(config-address-
reservation-No.)# ip-
address [A.B.C.D]
[A.B.C.D]
This is an IP address which you want to reserve
for a specific DHCP client.
Gateway(config-address-
reservation-No.)# ip-
address
[aa:bb:cc:dd:ee:ff]
[aa:bb:cc:dd:ee:ff] This is the MAC address of the DHCP client
which you want to bundle with the IP address in
IP
field.
No command
Gateway(config)# no ip dhcp server domain-
name [domain-name]
Remove DHCP domain name.
Gateway(config)# no ip dhcp server ip-lease-
time
Return the lease time to default value.