Overview
This document describes how to move security rules from the CLI.
Details
The same options to move a rule in the CLI as in the WebGUI.
If only 1 vsys is being used:
> configure
# move rulebase security rules <rulename> <action>
# commit
The actions are: after, before, bottom and top.
If more than 1 vsys is being used:
> configure
# move vsys <vsys#> rulebase security rules <rulename> <action>
# commit
The actions are: after, before, bottom and top.
In the following example, there are three security policies configured:
![security-policies.PNG](/servlet/rtaImage?eid=ka14u000000c8Gp&feoid=00N0g000003VPSv&refid=0EM0g000001Aebn)
To move the 3rd policy, DMZ-Trust, to the top through the CLI enter following commands:
> configure
# move rulebase security rules DMZ-Trust top
# commit
After the commit, verify the rule has been moved to the top:
![security-policies1.PNG](/servlet/rtaImage?eid=ka14u000000c8Gp&feoid=00N0g000003VPSv&refid=0EM0g000001Aebk)
owner: ashaikh