- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-24-2023 01:32 AM
When I create a security policy it goes bottom of the list. Is there any way that I can create the security policy it will go top of the list?
I am using the below command.
set device-group devicegroup-name pre-rulebase security rules rule1 from trust source any to untrust destination any application any service any category any action allow log-start yes log-end yes
Thanks in advance...
09-24-2023 02:41 AM
Hello @ssovee ,
I don't think you'll be able to achieve this in one single command. You can achieve this in Panorama/Web GUI of the firewall because, in the background, it's doing the same thing, that is, executing multiple commands.
I hope this helps.
09-24-2023 01:56 AM
Hello @ssovee ,
If you want to move the rule using CLI try using the following command:
device# move device-group devicegroup-name pre-rulebase security rules rule1 top
I hope this helps.
09-24-2023 02:08 AM
Hello...
Thanks for your reply. I know that command. But I want a solution that whenever I create a policy it will go top. That means creating a policy and move to top at a time. Is there any way for this ?
09-24-2023 02:41 AM
Hello @ssovee ,
I don't think you'll be able to achieve this in one single command. You can achieve this in Panorama/Web GUI of the firewall because, in the background, it's doing the same thing, that is, executing multiple commands.
I hope this helps.
09-25-2023 09:46 PM
Ooo...Okay. Thank You
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!