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 and re-deploy the configuration.
You can only reinstall a device that has a Retrieve button under the Revision History tab. |
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.