Why didn’t the script make any changes to the managed device?

An administrator has configured the following CLI script on FortiManager, which failed to apply any changes to the managed device after being executed.

Why didn’t the script make any changes to the managed device?
A . Commands that start with the # sign are not executed.
B . CLI scripts will add objects only if they are referenced by policies.
C . Incomplete commands are ignored in CLI scripts.
D . Static routes can only be added using TCL scripts.

Answer: A

Explanation:

https://help.fortinet.com/fmgr/50hlp/56/5-6-2/FortiManager_Admin_Guide/1000_Device%20Manager/2400_Scripts/1000_Script%20sa mples/0200_CLI%20scripts+.htm#Error_Messages

A sequence of FortiGate CLI commands, as you would type them at the command line. A comment line starts with the number sign (#). A comment line will not be executed.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments