Fortinet black logo

Administration Guide

Replacing a managed device

Replacing a managed device

The serial number is verified before each management connection. If you replace a device, you must manually change the serial number in the FortiManager system.

You can only reinstall a device that has a Retrieve button under the Revision History tab.

Changing the serial number from the GUI

To swap a FortiGate device (standalone or HA cluster member):
  1. Go to Device & Groups > Managed FortiGate.
  2. Select a managed FortiGate device from the table, and click More > Swap Device.
    The Swap Device menu is displayed.
    Note

    When selecting a FortiGate cluster, all cluster members are displayed in the Swap Device menu.

  3. Enter the FortiGate's New Serial Number, and specify the Admin Name and Admin Password, and click OK.
  4. On the FortiGate Central Management Settings page, enter the FortiGate IP and click OK.
  5. On FortiManager, the device serial number and configuration is pushed to the new device.
Tooltip

When replacing a managed FortiGate cluster member's license on FortiOS, the device is added as a new cluster member on FortiManager. The cluster member with the old license is still listed in the Device Manager on FortiManager.

Once you have confirmed that the cluster member with the updated license has been added to FortiManager, you can manually delete the downed cluster member with the old license from the device dashboard's HA widget.

View all managed devices from the CLI

To view all devices that are managed by your FortiManager, use the following command:

diagnose dvm device list

The output lists the number of managed devices, device type, OID, device serial number, VDOMs, HA status, IP address, device name, and the ADOM to which the device belongs.

Changing the serial number from the CLI

If the device serial number was entered incorrectly using the Add Model Device wizard, you can replace the serial number from the CLI only. Use the command:

execute device replace sn <device name> <serial number>

This command is also useful when performing an RMA replacement.

Replacing a managed device

The serial number is verified before each management connection. If you replace a device, you must manually change the serial number in the FortiManager system.

You can only reinstall a device that has a Retrieve button under the Revision History tab.

Changing the serial number from the GUI

To swap a FortiGate device (standalone or HA cluster member):
  1. Go to Device & Groups > Managed FortiGate.
  2. Select a managed FortiGate device from the table, and click More > Swap Device.
    The Swap Device menu is displayed.
    Note

    When selecting a FortiGate cluster, all cluster members are displayed in the Swap Device menu.

  3. Enter the FortiGate's New Serial Number, and specify the Admin Name and Admin Password, and click OK.
  4. On the FortiGate Central Management Settings page, enter the FortiGate IP and click OK.
  5. On FortiManager, the device serial number and configuration is pushed to the new device.
Tooltip

When replacing a managed FortiGate cluster member's license on FortiOS, the device is added as a new cluster member on FortiManager. The cluster member with the old license is still listed in the Device Manager on FortiManager.

Once you have confirmed that the cluster member with the updated license has been added to FortiManager, you can manually delete the downed cluster member with the old license from the device dashboard's HA widget.

View all managed devices from the CLI

To view all devices that are managed by your FortiManager, use the following command:

diagnose dvm device list

The output lists the number of managed devices, device type, OID, device serial number, VDOMs, HA status, IP address, device name, and the ADOM to which the device belongs.

Changing the serial number from the CLI

If the device serial number was entered incorrectly using the Add Model Device wizard, you can replace the serial number from the CLI only. Use the command:

execute device replace sn <device name> <serial number>

This command is also useful when performing an RMA replacement.