FCP_FMG_AD-7.6 · Question #51
An administrator notices that CLI scripts are failing on some FortiGate devices because they use different FortiOS versions. Which two actions should the administrator take to fix the failing CLI…
The correct answer is C. Modify the CLI scripts to include conditional commands based on FortiOS version. D. Create version-specific CLI script groups and assign them to the appropriate devices. When FortiGate devices run different FortiOS versions, some CLI commands may be unsupported or behave differently across versions, causing scripts to fail. C is correct because FortiManager CLI scripts can include conditional logic (for example, checking the FortiOS version) so…
Question
An administrator notices that CLI scripts are failing on some FortiGate devices because they use different FortiOS versions. Which two actions should the administrator take to fix the failing CLI scripts? (Choose two.)
Options
- ACreate separate ADOMs for each FortiOS version.
- BDisable CLI scripts for devices using older firmware.
- CModify the CLI scripts to include conditional commands based on FortiOS version.
- DCreate version-specific CLI script groups and assign them to the appropriate devices.
How the community answered
(27 responses)- A11% (3)
- B19% (5)
- C70% (19)
Explanation
When FortiGate devices run different FortiOS versions, some CLI commands may be unsupported or behave differently across versions, causing scripts to fail. C is correct because FortiManager CLI scripts can include conditional logic (for example, checking the FortiOS version) so only compatible commands are executed on each device. D is correct because organizing version-specific CLI script groups ensures that each FortiGate device receives scripts that match its FortiOS version, preventing command incompatibility.
Topics
Community Discussion
No community discussion yet for this question.