Troubleshooting Tip: Unreg_Dev_Opt command overwrites the Fgfm-Deny-Unknown command
| Description | This article describes why FortiManager is unable to add FortiGate even when Fgfm-Deny-Unknown is disabled. |
| Scope | FortiManager. |
| Solution | It is not possible to add FortiGate into FortiManager, and it shows as follows in the fgfm debug:
diagnose debug application fgfmsd 255 diagnose debug enable ... ... FGFMs(probing...): __get_handler:1057: sn matchedFGFMs(probing...): __get_handler: serialno in peer cert is <FGVM4VTMXXXXXXXX>
The 'Unregistered device ignored' error is usually due to fgfm-deny-unknown enable in FortiManager:
show system global set fgfm-deny-unknown enable end
However, in certain cases, the fgfm-deny-unknown command is already disabled, but FortiManager still shows the 'Unregistered device ignored'.
Further checking shows the following setting in FortiManager:
show system admin setting set unreg_dev_opt ignore end
The command unreg_dev_opt ignore will overwrite the fgfm-deny-unknown disable command. Hence, FortiManager is not able to add the FortiGate.
After changing the following settings, FortiManager can add the FortiGate:
config system admin setting set unreg_dev_opt add_allow_service end |
