Palo Alto Configuration Using CLI

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

Palo Alto Configuration Using CLI

L1 Bithead

Hello,

 

My question is as follows:

 

If I make changes (ruleset, objects, etc.) from the command line, how do I get those changes to show up in the GUI? What if by chance someone else is working in the GUI; what happens to my changes if a save and commit is done? Or, if I perform a  save and commit?

 

Situation:

 

Brand new firewall is installed and in operation.

There are ~30 Rulesets that have to be entered of various sizes (1-4 Rules, 30 Objects/Applications), with more to come.

We would like to create a text file with the Rulesets and Objects. Then implement them using the CLI.

 

I am fairly new to Palo Alto (~3 Days) and was thinking 'there has to be a way to use a batch process to implement large rulesets.'

 

All help is appreciated.

 

Regards,

 

Jasper

2 accepted solutions

Accepted Solutions

Cyber Elite
Cyber Elite

If you make any change either in GUI or CLI then this change is done in "candidate config"

It is instantly visible on GUI aswell.

When you commit then it is placed into "running config" and it will survive reboots.

Enterprise Architect, Security @ Cloud Carib Ltd
Palo Alto Networks certified from 2011

View solution in original post

Great.

Just keep in mind that web interface shows "candidate config" that might not be active on dataplane.

So if someone does change either through CLI or GUI and forgets to commit then you see new config in interface but firewall is acting according to setup that is in running config.

Enterprise Architect, Security @ Cloud Carib Ltd
Palo Alto Networks certified from 2011

View solution in original post

3 REPLIES 3

Cyber Elite
Cyber Elite

If you make any change either in GUI or CLI then this change is done in "candidate config"

It is instantly visible on GUI aswell.

When you commit then it is placed into "running config" and it will survive reboots.

Enterprise Architect, Security @ Cloud Carib Ltd
Palo Alto Networks certified from 2011

Thank you Raido.

 

The would eliminate a lot of my problems during the implementation of the Rulesets.

 

Regards,

 

Jasper

Great.

Just keep in mind that web interface shows "candidate config" that might not be active on dataplane.

So if someone does change either through CLI or GUI and forgets to commit then you see new config in interface but firewall is acting according to setup that is in running config.

Enterprise Architect, Security @ Cloud Carib Ltd
Palo Alto Networks certified from 2011
  • 2 accepted solutions
  • 2316 Views
  • 3 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!