SUMMARY STEPS
1.
configure terminal
2.
ip dhcp pool poolname
3.
boot filename
4.
network network-number mask prefix-length
5.
default-router address
6.
option 150 address
7.
exit
8.
tftp-server flash
:
filename.text
9.
interface interface-id
10.
no switchport
11.
ip address address mask
12.
end
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
Device#
configure terminal
Creates a name for the DHCP server address pool, and
enters DHCP pool configuration mode.
ip dhcp pool poolname
Example:
Step 2
Device(config)#
ip dhcp pool pool
Specifies the name of the configuration file that is used as
a boot image.
boot filename
Example:
Step 3
Device(dhcp-config)#
boot config-boot.text
Specifies the subnet network number and mask of the
DHCP address pool.
network network-number mask prefix-length
Example:
Step 4
The prefix length specifies the number of bits
that comprise the address prefix. The prefix is
an alternative way of specifying the network
mask of the client. The prefix length must be
preceded by a forward slash (/).
Note
Device(dhcp-config)#
network 10.10.10.0
255.255.255.0
Specifies the IP address of the default router for a DHCP
client.
default-router address
Example:
Step 5
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
60
Performing Device Setup Configuration
Configuring DHCP Autoconfiguration (Only Configuration File)