NSE4 · Question #196
The ordering of firewall policies is very important. Policies can be re-ordered within the FortiGate Web Config and also using the CLI. The command used in the CLI to perform this function is ________
The correct answer is D. move. In the FortiGate CLI, the move command is used within the firewall policy configuration section to change the order in which policies are evaluated.
Question
The ordering of firewall policies is very important. Policies can be re-ordered within the FortiGate Web Config and also using the CLI. The command used in the CLI to perform this function is __________.
Options
- Aset order
- Bedit policy
- Creorder
- Dmove
How the community answered
(26 responses)- A8% (2)
- B4% (1)
- C4% (1)
- D85% (22)
Why each option
In the FortiGate CLI, the `move` command is used within the firewall policy configuration section to change the order in which policies are evaluated.
`set order` is not a standard FortiGate CLI command for reordering policies.
`edit policy` is used to enter the configuration mode for a specific policy, not to reorder it.
`reorder` is not the correct command syntax for changing policy order in FortiGate CLI.
To reorder firewall policies in the FortiGate CLI, the `move` command is used within the `config firewall policy` context. This command allows administrators to specify a policy ID and its new position relative to other policies (e.g., `move <policy_id> before <another_policy_id>`).
Concept tested: FortiGate CLI policy management
Source: https://docs.fortinet.com/document/fortigate/7.4.0/cli-reference/611634/firewall-policy
Topics
Community Discussion
No community discussion yet for this question.