Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Upgrading Software by Using Automatic Software Download

    The automatic software download feature uses the Dynamic Host Configuration Protocol (DHCP) message exchange process to download and install software packages. You configure the automatic software download feature on switches that act as DHCP clients. You must enable automatic software download on a switch before the software upgrade can occur.

    You configure a path to a software package file on the DHCP server. The server communicates the path to the software package file through DHCP server messages.

    If you enable automatic software download, the DHCP client switch compares the software package name in the DHCP server message with the name of the software package that booted the switch. If the software packages are different, the DHCP client switch downloads and installs the software package specified in the DHCP server message.

    Before you upgrade software by using automatic software download, ensure that you have configured DHCP services for the switch, including configuring a path to a boot server and a boot file.

    To configure a path to a boot server and a boot file:

    1. Configure the name of the boot server advertised to DHCP clients. The client uses a boot file located on the boot server to complete DHCP setup. This configuration is equivalent to DHCP option 66:
      [edit system services dhcp]
      user@switch# set boot-server (address | hostname)
    2. Set the boot file advertised to DHCP clients. After the client receives an IP address and the boot file location from the DHCP server, the client uses the boot image stored in the boot file to complete the DHCP setup. This configuration is equivalent to DHCP option 67:
      [edit system services dhcp]
      user@switch# set boot-file filename

    To enable automatic software download on a switch that acts as a DHCP client:

    [edit chassis]
    user@switch# set auto-image-upgrade

    After automatic software download is enabled on your DHCP client switch and after DHCP services are enabled on your network, an automatic software download can occur at any time as part of the DHCP message exchange process.

    If an automatic software download occurs, you see the following message on the switch:

    Auto-image upgrade started
    On successful installation system will reboot automatically

    The switch reboots automatically to complete the upgrade.

    Modified: 2017-09-13