Configuring DHCP

Router(config)#ip dhcp pool academy

Creates a DHCP pool called academy


Defines the range of addresses to be leased


Defines the address of the default router for the client


Defines the address of the DNS server for the client


Defines the address of the NetBIOS server for the client


Defines the domain name for the client

Router(dhcp-config)#lease 14 12 23

Defines the lease time to be 14 days, 12 hours, 23 minutes

Router(dhcp-config)#lease infinite

Sets the lease time to infinity (default time is 1 day)



Router(config)#ip dhcp excluded-address

Specifies the range of addresses not to be leased out to clients

Router(config)#no service dhcp

Turns the DHCP service off (service is on by default in IOS)

Router(config)#service dhcp

Turns the DHCP service on

CCNA Self-Study(c) CCNA Portable Command Guide
CCNA Portable Command Guide
ISBN: 1587201585
EAN: 2147483647
Year: 2006
Pages: 261
Authors: Scott Empson

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: