Description
This article describes how to replace a FortiGate unit in the FortiManager configuration, following an RMA hardware replacement.
Solution
config system central-management
unset fmg
end
diagnose dvm device list
execute device replace sn <device name> <serial number>
Note:
The <serial number> is case-sensitive. Letters used in Fortinet product serial numbers are capitalized.
execute fgfm reclaim-dev-tunnel <device name>
Sample Configuration:
FortiGate:
config system central-management
unset fmg
end
FortiManager:
diagnose dvm device list
--- There are currently 1 devices/vdoms managed ---
TYPE OID SN HA IP NAME ADOM IPS FIRMWARE
fmg/faz enabled 158 FGVM0XXXXXXXXXXX - 10.5.60.3 FGVM0XXXXXXXXXXX root 6.00741 (regular) 5.0 MR4 (7605)
|- STATUS: db: not modified; conf: out of sync; cond: unknown; dm: autoupdated; conn: down
|- vdom:[3]root flags:1 adom:root pkg:[imported] FGVM0XXXXXXXXXXX
execute device replace sn FGVM0XXXXXXXXXXX FGVM0YYYYYYYYYYY <Device name:FGVM0XXXXXXXXXXX> <Serial number: FGVM0YYYYYYYYYYY>
Note:
Make sure to follow the syntax 'exec device replace sn <device name> <serial number> '
FMG # execute device replace sn <device_name> <FGTXXXXXXXXXXXXX>
<Enter>
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.