Purpose
Command or Action
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
0000.0009.0a05.08661.7574.6f69.6e73.7461.6c6c.5f64.686370
Uploads the text file to the device.
copy tftp flash filename.txt
Example:
Step 8
Device(config)#
copy tftp flash image.bin
Uploads the tar file for the new image to the device.
copy tftp flash imagename.bin
Example:
Step 9
Device(config)#
copy tftp flash image.bin
Returns to global configuration mode.
exit
Example:
Step 10
Device(dhcp-config)#
exit
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
63
Performing Device Setup Configuration
Configuring DHCP Auto-Image Update (Configuration File and Image)