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.
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.