fmpolicy
Use these commands to perform policy and object related actions:
fmpolicy check-upgrade-object
Use this command to check/upgrade objects by syntax.
Syntax
execute fmpolicy check-upgrade-object manual {checking | fixing} {basic | auto | misc | full}
execute fmpolicy check-upgrade-object report
execute fmpolicy check-upgrade-object reset
Variable |
Description |
---|---|
<action> |
Enter the auto upgrade action:
|
{checking | fixing} |
|
{basic | auto | misc | full} |
|
fmgpolicy clone-adom-object
Use this command to clone an ADOM object.
Syntax
execute fmpolicy clone-adom-object <src-adom> <category> <key> <target-adom> <new-key>
Variable |
Description |
---|---|
<arc-adom> |
Enter the name of the source ADOM. |
<category> |
Enter the name of the category in the ADOM. |
<key> |
Enter the name of the object key. |
<target-adom> |
Enter the name of the target ADOM. |
<new-key> |
Enter the name of the new key. |
fmpolicy copy-adom-object
Use this command to set the policy to copy an ADOM object.
Syntax
execute fmpolicy copy-adom-object <adom> <category> <key> <device> <vdom>
Variable |
Description |
---|---|
<adom> |
Enter the name of the ADOM. |
<category> |
Enter the name of the category in the ADOM. |
<key> |
Enter the name of the object key. |
<device> |
Enter the name of the device. |
<vdom> |
Enter the name of the VDOM. |
fmpolicy install-config
Use this command to install the configuration for an ADOM.
Syntax
execute fmpolicy install-config <adom> <device_id> <revname>
Variable |
Description |
---|---|
<adom> |
Enter the name of the ADOM. |
<device_id> |
Enter the device id of the ADOM. |
<revname> |
Enter the revision name. |
fmpolicy print-adom-database
Use this command to display the device database configuration for an ADOM.
Syntax
execute fmpolicy print-adom-database <adom_name> <output_filename>
fmpolicy print-adom-object
Use this command to display the device objects.
Syntax
execute fmpolicy print-adom-object <adom_name>
execute fmpolicy print-adom-object <adom_name> <category> {all | list} <output>
execute fmpolicy print-adom-object Global <category> {all | list} <output>
Variable |
Description |
---|---|
<adom_name> |
Enter the name of the ADOM or “Global”. |
<category> |
Enter the category name. |
{all | list} |
|
<output> |
Output file name (output dump to file: [ |
fmpolicy print-adom-package
Use this command to display the package for an ADOM.
Syntax
execute fmpolicy print-adom-package <adom> <package_name> <category_name> <object_name> <output>
execute fmpolicy print-adom-package Global <package_name> <category_name> {all | list} <output>
Variable |
Description |
---|---|
<adom> |
Enter the name of the ADOM or “Global”. |
<package_name> |
Enter the package name ID. |
<category_name> |
Enter the category name. |
{all | list} |
|
<object_name> |
Show object by name. Enter |
<output> |
Output file name (output dump to file: [ |
fmpolicy print-device-database
Use this command to print the device database configuration.
Syntax
execute fmpolicy print-device-database <device_name> <output>
Variable |
Description |
---|---|
<device_name> |
Enter the name of the device. |
<output> |
Output file name (output dump to file: [ |
fmpolicy print-device-object
Use this command to display the device objects.
Syntax
execute fmpolicy print-device-object <device_name> <vdom> <category> {<key> | list | all} <output>
Variable |
Description |
---|---|
<device_name> |
Enter the name of the device. |
<vdom> |
Enter the VDOM name. |
<category> |
Enter the category name. |
{<key> | list | all} |
|
<output> |
Output file name (output dump to file: [ |
fmpolicy print-prov-templates
Use this command to print provisioning templates.
Syntax
execute fmpolicy print-prov-templates <adom> <prov> <package> <category> {<key> | list | all} <output>
Variable |
Description |
---|---|
<adom> |
Enter the name of the ADOM. |
<prov> |
Enter the provisioning template name:
|
<package> |
Enter the package name. |
<category> |
Enter the category name. |
{<key> | list | all} |
|
<output> |
Output file name (output dump to file: [ |
fmpolicy print-prov-database
Use this command to print provisioning databases.
Syntax
execute fmpolicy print-prov-database <adom> <output>
Variable |
Description |
---|---|
<adom> |
Enter the name of the ADOM. |
<output> |
Output file name (output dump to file: [ |
fmpolicy promote-adom-object
Use this command to promote an ADOM object.
Syntax
execute fmpolicy promote-adom-object <adom> <category> <key> <new-key>
Variable |
Description |
---|---|
<adom> |
Enter the name of the source ADOM. |
<category> |
Enter the name of the category in the ADOM. |
<key> |
Enter the name of the object key. |
<new-key> |
Enter the name of the new key. |
fmpolicy upload-print-log
Use this command to upload print logs.
Syntax
execute fmpolicy upload-print-log
Variable |
Description |
---|---|
<IP> |
Enter IP address. |
<port> |
Enter port number. |
<path> |
Enter path. |
<user> |
Enter user. |
<passwd. |
Enter password. |