CCNA Discovery 2, Chapter 5

5.3.7: The following commands allow you to use the Cisco IOS CLI to configure a router to function as a DHCP server:

ip dhcp pool pool-name network network-address subnet-mask domain-name domain-name dns-server dns-server-address default-router default-router-address lease {days [hours] [minutes] | infinite}

For example:

Router> enable Router# configure terminal Router(config)# ip dhcp pool LAN-three Router(dhcp-config)# network 192.168.3.0 255.255.255.0 Router(dhcp-config)# domain-name cisco.com Router(dhcp-config)# dns-server 192.168.3.2 Router(dhcp-config)# default-router 192.168.3.254 Router(dhcp-config)# lease infinite

You can use the following commands to exclude a range of addresses or a single address from ...

Get 31 Days Before Your CCENT Certification now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.