Hotfix configuration example

Network requirements

The IRF fabric in Figure 39 comprises one master device and one subordinate device. The software running on the member devices inFigure 39 has a bug. The patch file patch_xxx.bin is saved on the TFTP server. The IRF fabric and TFTP server can reach each other.

From the IRF fabric, use TFTP to download the patch files and then hotfix the software on the fabric.

Figure 40: Network diagram

Configuration procedure

  1. Configure the TFTP server:

    # Enable the TFTP server function. (Details not shown.)

    # Save the patch file patch_xxx.bin to the directory of TFTP server. (Details not shown.)

  2. Configure the IRF fabric:

    # Before upgrading the software, use the save command to save the current system configuration. (Details not shown.)

    # Examine the Flash on the switch for space insufficiency. If the Flash has no sufficient space, delete unused files on the Flash to release enough space. (Details not shown.)

    # Load the patch file patch_xxx.bin from the TFTP server to the root directory of the master's storage media.

    <Device> tftp 2.2.2.2 get patch_xxx.bin
    

    # Load the patch file patch_xxx.bin from the TFTP server to the root directory of the subordinate switch's storage media.

    <Device> tftp 2.2.2.2 get patch_xxx.bin slot2#flash:/patch_xxx.bin
    

    # Install the patch.

    <Device> system-view
    [Device] patch install flash:
    Patches will be installed. Continue? [Y/N]:y
    Do you want to continue running patches after reboot? [Y/N]:y
    Installing patches........
    Installation completed, and patches will continue to run after reboot.