Create security policy & move to top at a time

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create security policy & move to top at a time

L2 Linker

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...

1 accepted solution

Accepted Solutions

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.

Don't forget to Like if you find this post helpful

View solution in original post

4 REPLIES 4

L2 Linker

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.

 

Don't forget to Like if you find this post helpful

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 ?

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.

Don't forget to Like if you find this post helpful

L2 Linker

Ooo...Okay. Thank You

  • 1 accepted solution
  • 1490 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!