Device Management : Managing devices : Replacing a managed device
 
Replacing a managed device
The serial number will be verified before each management connection. In the event of a replaced device, it is necessary to manually change the serial number in the FortiManager system and re-deploy the configuration.
 
You can only re-install a device that has a Retrieve button under the Revision History tab. For more information, see “To re-install the configuration:”.
To change the serial number:
1. Configure the new device's IP address, gateway, admin password, and SSH/HTTPS access, and connect it to the FortiManager system. For more information, consult your device’s documentation.
2. Record the host name of the old device.
3. Use the following CLI command to replace the serial number of the old device with that of the new device:
execute device replace sn <device-id> <dev-ser-no>
Where <device-id> is the host name of the old device and <dev-ser-no> is the serial number of the new device.
To re-install the configuration:
1. In the Device Manager tab, select FortiGate, FortiSwitch, FortiCarrier, or FortiMail in the navigation pane.
2. In the content pane, select a device’s name.
3. Select Revision History for that device in the navigation pane.
The FortiManager system retrieves the current configuration of the new device as a new revision.
4. If available, select the last configuration revision that was installed to the old device and select Revert to this version. If its not available, no revisions have been saved for this device and the configuration cannot be re-installed.
A new revision is added to the Revision History.
5. In the Main Menu Bar, select Install to install the new revision.
For more information, see “Downloading and importing a configuration file”.
6. Change the serial number from that of the old device to that of the new device in the reverted configuration, using the preceding procedure.