Multiple rules editing at the same time

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

Multiple rules editing at the same time

Not applicable

How I can edit multiple rules at the same time using CLI?

5 REPLIES 5

L7 Applicator

Not sure I understand your question.  Pretty much by definition in the cli you are entering one command at a time.  So I guess you are asking about something else.

What are you trying to achieve or what task are you trying to perform on multiple rules?

Steve Puluka BSEET - IP Architect - DQE Communications (Metro Ethernet/ISP)
ACE PanOS 6; ACE PanOS 7; ASE 3.0; PSE 7.0 Foundations & Associate in Platform; Cyber Security; Data Center

Hello Steven,

I trying to change Profile Setting -> Antivirus from none to allert-all in all the rules at the same time (300 rules) instead of changing one by one. Sorry for my English...  

L5 Sessionator

Hi all,

If you download the migration Tool V3, you can do that. else, directly in the palo, it's not.

Hope help.

V.

I find a way how to do that via CLI:

  1. > set cli config-output-format set
  2. > configure
  3. # show | match "security rules.*profile-setting"
  4. copy all rules in Word change the necessary settings (I replaced "profiles vulnerability alert-all" to "profiles vulnerability alert-all virus alert-all")
  5. paste edited strings to CLI
  6. # run show config diff
  7. # commit

Glad you have it all figured out.  I've used that technique as well it works.

Steve Puluka BSEET - IP Architect - DQE Communications (Metro Ethernet/ISP)
ACE PanOS 6; ACE PanOS 7; ASE 3.0; PSE 7.0 Foundations & Associate in Platform; Cyber Security; Data Center
  • 3416 Views
  • 5 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!