Related Topics
Configuring DHCP Autoconfiguration (Only Configuration File), on page 1570
Example: Configuring DHCP Auto-Image Update
Switch#
configure terminal
Switch(config)#
ip dhcp pool pool1
Switch(dhcp-config)#
network 10.10.10.0 255.255.255.0
Switch(dhcp-config)#
boot config-boot.text
Switch(dhcp-config)#
default-router 10.10.10.1
Switch(dhcp-config)#
option 150 10.10.10.1
Switch(dhcp-config)#
option 125 hex 0000.0009.0a05.08661.7574.6f69.6e73.7461.6c6c.5f64.686370
Switch(dhcp-config)#
exit
Switch(config)#
tftp-server flash:config-boot.text
Switch(config)#
tftp-server flash:image_name
Switch(config)#
tftp-server flash:boot-config.text
Switch(config)#
tftp-server flash: autoinstall_dhcp
Switch(config)#
interface gigabitethernet1/0/4
Switch(config-if)#
ip address 10.10.10.1 255.255.255.0
Switch(config-if)#
end
Related Topics
Configuring DHCP Auto-Image Update (Configuration File and Image), on page 1572
Example: Configuring a Switch to Download Configurations from a DHCP Server
This example uses a Layer 3 SVI interface on VLAN 99 to enable DHCP-based autoconfiguration with a
saved configuration:
Switch#
configure terminal
Switch(config)#
boot host dhcp
Switch(config)#
boot host retry timeout 300
Switch(config)#
banner config-save ^C Caution - Saving Configuration File to NVRAM May Cause
You to No longer Automatically Download Configuration Files at Reboot^C
Switch(config)#
vlan 99
Switch(config-vlan)#
interface vlan 99
Switch(config-if)#
no shutdown
Switch(config-if)#
end
Switch#
show boot
BOOT path-list:
Config file:
flash:/config.text
Private Config file:
flash:/private-config.text
Enable Break:
no
Manual Boot:
no
HELPER path-list:
NVRAM/Config file
buffer size:
32768
Timeout for Config
Download:
300 seconds
Config Download
via DHCP:
enabled (next boot: enabled)
Switch#
Related Topics
Configuring the Client to Download Files from DHCP Server, on page 1576
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1585
Configuration Examples for Performing Switch Setup
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......