How to Load Partial Config for Application Groups
On the Palo Alto Networks device, it is possible to merge part of a config from one device to another device.
Moving the application groups from device A and adding the application groups to the same section of the config in device B:
- Export the config from device A.
- Import the config from device A into device B.
- Log in to the CLI of device B and go into configure mode (this is simply done by typing 'configure' then press 'enter')
- Issue the following command to merge the application groups from device A to device B:
load config partial from device_A_app_group_config.xml from-xpath devices/entry/vsys/entry/application-group to-xpath /config/devices/entry/vsys/entry/application-group mode merge
Note: In a multi-vsys system, run the following command:
load config partial from device_A_app_group_config.xml mode merge from-xpath shared/application-group to-xpath /config/shared/application-group
This command will not work on a non multi-vsys system, like a PA-200.