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.

cluster-move-dev

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

Syntax

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

Variable

Description

<device>

Enter the device name.

<member>

Enter the new member's serial number.

cluster-move-group

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

Syntax

execute 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 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

fgfm

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

cluster-move-dev

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

Syntax

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

Variable

Description

<device>

Enter the device name.

<member>

Enter the new member's serial number.

cluster-move-group

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

Syntax

execute 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 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.