Fortinet black logo

FortiVoice Phone System Administration Guide

Testing firmware before installing it

Copy Link
Copy Doc ID 48a91edf-3e2c-11eb-96b9-00505692583a:49740
Download PDF

Testing firmware before installing it

You can test a new firmware image by temporarily running it from memory, without saving it to disk. By keeping your existing firmware on disk, if the evaluation fails, you do not have to re-install your previous firmware. Instead, you can quickly revert to your existing firmware by simply rebooting the FortiVoice unit.

To test a new firmware image

  1. Connect your management computer to the FortiVoice console port using an RJ-45 to DB-9 serial cable or a null-modem cable.
  2. Initiate a connection from your management computer to the CLI of the FortiVoice unit. Requires login as “admin” or an administrator with read and write privileges to the system configuration?
  3. Connect port1 of the FortiVoice unit directly or to the same subnet as a TFTP server.
  4. Copy the new firmware image file to the root directory of the TFTP server.
  5. Verify that the TFTP server is currently running, and that the FortiVoice unit can reach the TFTP server.

    To use the FortiVoice CLI to verify connectivity, enter the following command:

    execute ping 192.168.2.99

    where 192.168.2.99 is the IP address of the TFTP server.

  6. Enter the following command to restart the FortiVoice unit:

    execute reboot

  7. As the FortiVoice units starts, a series of system startup messages are displayed.

    Press any key to display configuration menu........

    Caution

    You have only 3 seconds to press a key. If you do not press a key soon enough, the FortiVoice unit reboots and you must log in and repeat the execute reboot command.

  8. Immediately press a key to interrupt the system startup.

    If you successfully interrupt the startup process, the following messages appears:

    [G]: Get firmware image from TFTP server.

    [F]: Format boot device.

    [B]: Boot with backup firmware and set as default.

    [I]: Configuration and information.

    [Q]: Quit menu and continue to boot with default firmware.

    [H]: Display this list of options.

    Enter G,F,B,I,Q,or H:

  9. Type G to get the firmware image from the TFTP server.

    The following message appears:

    Enter TFTP server address [192.168.2.99]:

  10. Type the IP address of the TFTP server and press Enter.

    The following message appears:

    Enter Local Address [192.168.2.99]:

  11. Type a temporary IP address that can be used by the FortiVoice unit to connect to the TFTP server.

    The following message appears:

    Enter File Name [image.out]:

  12. Type the firmware image file name and press Enter.

    The FortiVoice unit downloads the firmware image file from the TFTP server and displays a message similar to the following:

    Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]

  13. Type R.

    The FortiVoice image is loaded into memory and uses the current configuration, without saving the new firmware image to disk.

  14. To verify that the new firmware image has been loaded, log in to the CLI and type:

    get system status

  15. Test the new firmware image.
    • If the new firmware image operates successfully, you can install it to disk, overwriting the existing firmware, using the procedure Installing firmware.
    • If the new firmware image does not operate successfully, reboot the FortiVoice unit to discard the temporary firmware and resume operation using the existing firmware.

Testing firmware before installing it

You can test a new firmware image by temporarily running it from memory, without saving it to disk. By keeping your existing firmware on disk, if the evaluation fails, you do not have to re-install your previous firmware. Instead, you can quickly revert to your existing firmware by simply rebooting the FortiVoice unit.

To test a new firmware image

  1. Connect your management computer to the FortiVoice console port using an RJ-45 to DB-9 serial cable or a null-modem cable.
  2. Initiate a connection from your management computer to the CLI of the FortiVoice unit. Requires login as “admin” or an administrator with read and write privileges to the system configuration?
  3. Connect port1 of the FortiVoice unit directly or to the same subnet as a TFTP server.
  4. Copy the new firmware image file to the root directory of the TFTP server.
  5. Verify that the TFTP server is currently running, and that the FortiVoice unit can reach the TFTP server.

    To use the FortiVoice CLI to verify connectivity, enter the following command:

    execute ping 192.168.2.99

    where 192.168.2.99 is the IP address of the TFTP server.

  6. Enter the following command to restart the FortiVoice unit:

    execute reboot

  7. As the FortiVoice units starts, a series of system startup messages are displayed.

    Press any key to display configuration menu........

    Caution

    You have only 3 seconds to press a key. If you do not press a key soon enough, the FortiVoice unit reboots and you must log in and repeat the execute reboot command.

  8. Immediately press a key to interrupt the system startup.

    If you successfully interrupt the startup process, the following messages appears:

    [G]: Get firmware image from TFTP server.

    [F]: Format boot device.

    [B]: Boot with backup firmware and set as default.

    [I]: Configuration and information.

    [Q]: Quit menu and continue to boot with default firmware.

    [H]: Display this list of options.

    Enter G,F,B,I,Q,or H:

  9. Type G to get the firmware image from the TFTP server.

    The following message appears:

    Enter TFTP server address [192.168.2.99]:

  10. Type the IP address of the TFTP server and press Enter.

    The following message appears:

    Enter Local Address [192.168.2.99]:

  11. Type a temporary IP address that can be used by the FortiVoice unit to connect to the TFTP server.

    The following message appears:

    Enter File Name [image.out]:

  12. Type the firmware image file name and press Enter.

    The FortiVoice unit downloads the firmware image file from the TFTP server and displays a message similar to the following:

    Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]

  13. Type R.

    The FortiVoice image is loaded into memory and uses the current configuration, without saving the new firmware image to disk.

  14. To verify that the new firmware image has been loaded, log in to the CLI and type:

    get system status

  15. Test the new firmware image.
    • If the new firmware image operates successfully, you can install it to disk, overwriting the existing firmware, using the procedure Installing firmware.
    • If the new firmware image does not operate successfully, reboot the FortiVoice unit to discard the temporary firmware and resume operation using the existing firmware.