Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
Device# configure terminal
Creates a name for the DHCP server address
pool and enter DHCP pool configuration mode.
ip dhcp pool poolname
Example:
Step 2
Device(config)# ip dhcp pool pool1
Specifies the name of the 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
Device(dhcp-config)# default-router
10.10.10.1
Specifies the IP address of the TFTP server.option 150 address
Example:
Step 6
Device(dhcp-config)# option 150
10.10.10.1
Specifies the path to the text file that describes
the path to the image file.
option 125 hex
Example:
Step 7
Device(dhcp-config)# option 125 hex
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
56
Performing Device Setup Configuration
Configuring DHCP Auto-Image Update (Configuration File and Image)