Fortinet white logo
Fortinet white logo

CLI Reference

fgfm

fgfm

Use these commands to reclaim a management tunnel or resync the FGFM (FortiGate to FortiManager) status to device manager.

fgfm cluster-move-dev

Use this command to move a device to other cluster member.

Syntax

execute fgfm cluster-move-dev <device> <member>

Variable

Description

<device>

Enter the device name.

<member>

Enter the new member's serial number.

fgfm cluster-move-group

Use this command to move a device group to other cluster member.

Syntax

execute fgfm cluster-move-group <adom> <group> <member>

Variable

Description

<adom>

Enter the ADOM name.

<group>

Enter the group name.

<member>

Enter the new member's serial number.

fgfm migrate-license

Use this command to migrate the FortiManager license.

Syntax

execute fgfm migrate-license <new-sn>

Variable

Description

<new-sn>

Enter the FortiManager's new serial number.

fgfm reclaim-dev-tunnel

Use this command to reclaim a management tunnel. The device name is optional.

Syntax

execute fgfm reclaim-dev-tunnel <device_name> force [admin] [password]

Variable

Description

<device_name>

Enter the device name.

force

Optionally, force the tunnel to be reclaimed

[admin]

Optionally, enter the administrator name.

[password]

Optionally, enter the administrator password.

fgfm resync-dev-status

Use this command to resync FGFM status to device manager. The device name is optional.

Syntax

execute fgfm resync-dev-status <device_name>

Variable

Description

<device_name>

Optionally, enter the device name.

fgfm verify-migrate-license

Use this command to verify the migrated FortiManager license.

Syntax

execute fgfm verify-migrate-license

fgfm

fgfm

Use these commands to reclaim a management tunnel or resync the FGFM (FortiGate to FortiManager) status to device manager.

fgfm cluster-move-dev

Use this command to move a device to other cluster member.

Syntax

execute fgfm cluster-move-dev <device> <member>

Variable

Description

<device>

Enter the device name.

<member>

Enter the new member's serial number.

fgfm cluster-move-group

Use this command to move a device group to other cluster member.

Syntax

execute fgfm cluster-move-group <adom> <group> <member>

Variable

Description

<adom>

Enter the ADOM name.

<group>

Enter the group name.

<member>

Enter the new member's serial number.

fgfm migrate-license

Use this command to migrate the FortiManager license.

Syntax

execute fgfm migrate-license <new-sn>

Variable

Description

<new-sn>

Enter the FortiManager's new serial number.

fgfm reclaim-dev-tunnel

Use this command to reclaim a management tunnel. The device name is optional.

Syntax

execute fgfm reclaim-dev-tunnel <device_name> force [admin] [password]

Variable

Description

<device_name>

Enter the device name.

force

Optionally, force the tunnel to be reclaimed

[admin]

Optionally, enter the administrator name.

[password]

Optionally, enter the administrator password.

fgfm resync-dev-status

Use this command to resync FGFM status to device manager. The device name is optional.

Syntax

execute fgfm resync-dev-status <device_name>

Variable

Description

<device_name>

Optionally, enter the device name.

fgfm verify-migrate-license

Use this command to verify the migrated FortiManager license.

Syntax

execute fgfm verify-migrate-license