
27
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.
Gateway(config)# ip dhcp server start-ip
Return the initial IP and maximum number of IP
addresses to default value.
Gateway(config-address-reservation-No.)# no
description
Clear the description for the DHCP reservation
Gateway(config-address-reservation-No.)# no
ip-address
Clear the binding client IP address.
Gateway(config-address-reservation-No.)# no
mac-address
Clear the binding client MAC address.
Show command
Gateway(config)#show ip dhcp server
Show the current IP configurations or verify the
configured IP settings.
Gateway(config-address-reservation-No.)#
show
Show the reservation table of the entry.
4. Set up Interface group function