Fortinet black logo

CLI Reference

fmprofile

fmprofile

Use these commands to perform profile related actions:

fmprofile copy-to-device

fmprofile delete-profile

fmprofile export-profile

fmprofile import-from-device

fmprofile import-profile

fmprofile list-profiles

fmprofile copy-to-device

Use this command to copy profile settings from a profile to a device.

Syntax

execute fmprofile copy-to-device <adom> <profile-id> <device_name>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

<device_name>

Enter the device ID.

fmprofile delete-profile

Use this command to delete a profile.

Syntax

execute fmprofile delete-profile <adom> <profile-id>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

fmprofile export-profile

Use this command to export profile configurations.

Syntax

execute fmprofile export-profile <adom> <profile-id> <output>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

<output>

Enter the output file name.

fmprofile import-from-device

Use this command to import profile settings from a device to a profile.

Syntax

execute fmprofile import-from-device <adom> <device_name> <profile-id>

Variable

Description

<adom>

Enter the name of the ADOM.

<device_name>

Enter the device ID.

<profile-id>

Enter the profile ID.

fmprofile import-profile

Use this command to import profile configurations.

Syntax

execute fmprofile import-profile <adom> <profile_id> <filename>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

<filename>

Enter the full path to the input file containing CLI configuration.

fmprofile list-profiles

Use this command to list all profiles in an ADOM.

Syntax

execute fmprofile list-profiles <adom_name>

Variable

Description

<adom_name>

Enter the name of the ADOM.

fmprofile

fmprofile

Use these commands to perform profile related actions:

fmprofile copy-to-device

fmprofile delete-profile

fmprofile export-profile

fmprofile import-from-device

fmprofile import-profile

fmprofile list-profiles

fmprofile copy-to-device

Use this command to copy profile settings from a profile to a device.

Syntax

execute fmprofile copy-to-device <adom> <profile-id> <device_name>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

<device_name>

Enter the device ID.

fmprofile delete-profile

Use this command to delete a profile.

Syntax

execute fmprofile delete-profile <adom> <profile-id>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

fmprofile export-profile

Use this command to export profile configurations.

Syntax

execute fmprofile export-profile <adom> <profile-id> <output>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

<output>

Enter the output file name.

fmprofile import-from-device

Use this command to import profile settings from a device to a profile.

Syntax

execute fmprofile import-from-device <adom> <device_name> <profile-id>

Variable

Description

<adom>

Enter the name of the ADOM.

<device_name>

Enter the device ID.

<profile-id>

Enter the profile ID.

fmprofile import-profile

Use this command to import profile configurations.

Syntax

execute fmprofile import-profile <adom> <profile_id> <filename>

Variable

Description

<adom>

Enter the name of the ADOM.

<profile-id>

Enter the profile ID.

<filename>

Enter the full path to the input file containing CLI configuration.

fmprofile list-profiles

Use this command to list all profiles in an ADOM.

Syntax

execute fmprofile list-profiles <adom_name>

Variable

Description

<adom_name>

Enter the name of the ADOM.