Template Variables for Global Protect

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

Template Variables for Global Protect

L0 Member

Hello, I am wondering if it is possible to set a template variable for for a GlobalProtect tunnel interface? I am trying to configure 2 Gateways and 1 portal for the template. I have reference the Multiple Gateway document. (https://docs.paloaltonetworks.com/globalprotect/10-0/globalprotect-admin/globalprotect-quick-configs... ) I was just curious if this is possible, or does this need to be configured on each firewall hosting a Gateway. Thank you for any guidance.

2 REPLIES 2

L1 Bithead

Hi, Not sure I understand your usage case, but I'm using IP variable  with GP tunnel interface in panorama template and there no issues with this.

DDmchk_0-1636491175606.png

 

Cyber Elite
Cyber Elite

Hi @ian.whittington and @DDmchk ,

 

Here is my use case.  I use a "global" template to push my GP config out to all NGFWs.  There are 7 items that are unique to each NGFW:

 

  1. Portal interface
  2. Portal IP address*
  3. Portal external GW FQDN*
  4. Gateway interface
  5. Gateway IP address*
  6. Gateway tunnel interface
  7. Gateway IP pool*

It works great.  I could use a variable for every item marked with an *.  I cannot for the interfaces.  Because I cannot use variable, I have to override the template stack configuration for every NGFW (or HA pair).  Once overridden, some new configurations have to be added to each template stack configuration many times as opposed to the global configuration once.  If I could use variables for the interfaces, I can go back to the configure-once, push-to-all design.

 

UPDATE:  I used variables for the portal agent external gateway configuration, and then I reverted the agent section only in the template stack.  Now any agent changes are pushed to all.

Thanks,

 

Tom

Help the community: Like helpful comments and mark solutions.
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!