Users Guide

Table Of Contents
DHCP server automatic address allocation
OS10(config)# ip dhcp server
OS10(config-dhcp)# pool Dell
OS10(config-dhcp-Dell)# default-router 20.1.1.1
OS10(config-dhcp-Dell)# network 20.1.1.0/24
OS10(config-dhcp-Dell)# range 20.1.1.2 20.1.1.8
Show running configuration
OS10(conf-dhcp-Dell)# do show running-configuration
...
!
ip dhcp server
!
pool Dell
network 20.1.1.0/24
default-router 20.1.1.1
range 20.1.1.2 20.1.1.8
Address lease time
Use the lease {days [hours] [minutes] | infinite} command to configure an address lease time. The default is
24 hours.
OS10(config)# ip dhcp server
OS10(conf-dhcp)# pool Dell
OS10(conf-dhcp-Dell)# lease 36
Default gateway
Ensure the IP address of the default router is on the same subnet as the client.
1. Enable DHCP server-assigned dynamic addresses on an interface in CONFIGURATION mode.
ip dhcp server
2. Create an IP address pool and provide a name in DHCP mode.
pool name
3. Enter the default gateway(s) for the clients on the subnet in order of preference in DHCP<POOL> mode.
default-router address
Change default gateway name
OS10(config)# ip dhcp server
OS10(conf-dhcp)# pool Dell
OS10(conf-dhcp-Dell)# default-router 20.1.1.1
Enable the DHCP server
Use the ip dhcp server command to enable DHCP server-assigned dynamic addresses on an interface in CONFIGURATION
mode. The DHCP server is disabled by default.
OS10(config)# ip dhcp server
OS10(conf-dhcp)# no disable
System management
205