I am working with Palo Alto devices. For most devices I worked with, local policies are a part of running configuration so when I am executing cli command "show running config" I get the running configuration and I can find "rulebase" tag inside and local policies are listed under it.
Surprisingly for me, I got one device to work with, which does not have local policies included to the configuration file. I know they are defined on the device and I can get the list of them when I am executing cli command "show running security-policy".
Do you know the reason why I can't see "rulebase" tag and local policies when I am executing "show running config" command on that device? What are the steps to include these policies to the config file? Maybe there is another command to fetch config + policies in the one output?
I would like to add that I need an xml output.