Fortinet white logo
Fortinet white logo

CLI Reference

central-mgmt

central-mgmt

Update Central Management Service account information. Also used receive configuration file updates from an attached FortiManager unit.

Syntax

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 of Central Management Service.
        {management id}   Management ID (must be entered in encrypted format).

execute central-mgmt unregister-device  Remove device from its manager's device list.
        {fmg-serial-no}   FortiManager serial number.

set-mgmt-id is used 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.

register-device registers the FortiGate 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 FortiGate unit.

unregister-device removes the FortiGate unit from the specified FortiManager unit’s device list.

update is used to update your Central Management Service contract with your new management account ID. This command is to be used 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 would enter the following:

execute central-mgmt set-mgmt-id 123456

central-mgmt

central-mgmt

Update Central Management Service account information. Also used receive configuration file updates from an attached FortiManager unit.

Syntax

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 of Central Management Service.
        {management id}   Management ID (must be entered in encrypted format).

execute central-mgmt unregister-device  Remove device from its manager's device list.
        {fmg-serial-no}   FortiManager serial number.

set-mgmt-id is used 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.

register-device registers the FortiGate 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 FortiGate unit.

unregister-device removes the FortiGate unit from the specified FortiManager unit’s device list.

update is used to update your Central Management Service contract with your new management account ID. This command is to be used 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 would enter the following:

execute central-mgmt set-mgmt-id 123456