Fortinet white logo
Fortinet white logo

CLI Reference

execute central-mgmt

execute central-mgmt

Use this command to update Central Management Service account information. This command is also used to receive configuration file updates from an attached FortiManager unit.

execute central-mgmt register-device  Register device to FortiManager from unregistered device list.
	<fmg-serial-no>   FortiManager serial number.
		<fmg-register-password>   Register password in to FortiManager.

execute central-mgmt set-mgmt-id <management_ID>   Management ID (must be entered in encrypted format) of Central Management Service.

execute central-mgmt unregister-device <FortiManager-serial-number>   Remove device from its manager's device list.

  • Use set-mgmt-id to change or initially set the management ID or your account number for Central Management Services. This account ID must be set for the service to be enabled.
  • Use register-device to register the FortiProxy unit with a specific FortiManager unit specified by serial number. You must also specify the administrator name and password that the FortiManager unit uses to log on to the FortiProxy unit.
  • Use unregister-device to remove the FortiProxy unit from the specified FortiManager unitʼs device list.
  • Use update to update your Central Management Service contract with your new management account ID. Use this command if there are any changes to your management service account.

Example

If you are registering with the Central Management Service for the first time, and your account number is 123456, you need to enter the following:

execute central-mgmt set-mgmt-id 123456

execute central-mgmt

execute central-mgmt

Use this command to update Central Management Service account information. This command is also used to receive configuration file updates from an attached FortiManager unit.

execute central-mgmt register-device  Register device to FortiManager from unregistered device list.
	<fmg-serial-no>   FortiManager serial number.
		<fmg-register-password>   Register password in to FortiManager.

execute central-mgmt set-mgmt-id <management_ID>   Management ID (must be entered in encrypted format) of Central Management Service.

execute central-mgmt unregister-device <FortiManager-serial-number>   Remove device from its manager's device list.

  • Use set-mgmt-id to change or initially set the management ID or your account number for Central Management Services. This account ID must be set for the service to be enabled.
  • Use register-device to register the FortiProxy unit with a specific FortiManager unit specified by serial number. You must also specify the administrator name and password that the FortiManager unit uses to log on to the FortiProxy unit.
  • Use unregister-device to remove the FortiProxy unit from the specified FortiManager unitʼs device list.
  • Use update to update your Central Management Service contract with your new management account ID. Use this command if there are any changes to your management service account.

Example

If you are registering with the Central Management Service for the first time, and your account number is 123456, you need to enter the following:

execute central-mgmt set-mgmt-id 123456