This document describes how to move security rules from the CLI.
The same options to move a rule in the CLI as in the WebGUI.
If only 1 vsys is being used:
# move rulebase security rules <rulename> <action>
The actions are: after, before, bottom and top.
If more than 1 vsys is being used:
# move vsys <vsys#> rulebase security rules <rulename> <action>
In the following example, there are three security policies configured:
To move the 3rd policy, DMZ-Trust, to the top through the CLI enter following commands:
# move rulebase security rules DMZ-Trust top
After the commit, verify the rule has been moved to the top: