Can a firewall hostname be setup as a variable in a Template?

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

Can a firewall hostname be setup as a variable in a Template?

L1 Bithead

Setting up a bunch of new firewalls and would like to push the host names down as a variable in a template.

 

Doesn't look like hostname is a variable type.   Am I missing something?

1 ACCEPTED SOLUTION

Accepted Solutions

Cyber Elite
Cyber Elite

Thank you for the post @RHuss1

 

I do not think you are missing anything. Only configuration values mentioned in this article can be set as a variable: https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-web-interface-help/panorama-web-interface/panor... The hostname is not on the list. I do not believe there is a way around it. You will likely have to create a template for each Firewall to configure name.

 

Kind Regards

Pavel

Help the community: Like helpful comments and mark solutions.

View solution in original post

1 REPLY 1

Cyber Elite
Cyber Elite

Thank you for the post @RHuss1

 

I do not think you are missing anything. Only configuration values mentioned in this article can be set as a variable: https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-web-interface-help/panorama-web-interface/panor... The hostname is not on the list. I do not believe there is a way around it. You will likely have to create a template for each Firewall to configure name.

 

Kind Regards

Pavel

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!