Panorama Templates allow standardized Network and Device configurations, while Template Variables provide placeholders for site-specific values (like IP addresses or hostnames). When a Template Stack containing variables is pushed to managed firewalls, Panorama needs a source for the actual values to substitute for these variables.
While values are typically defined directly within the Template Stack or overridden per device, Panorama offers two additional mechanisms involving designating specific firewalls as sources for these variable values:
Configuring a Master or Primary Master Device significantly impacts how variable values are resolved and pushed to firewalls.
Panorama > Device Groups > [Select DG] > Edit Properties
). You select one firewall *managed by Panorama and belonging to that DG* to be the Master Device.
$REGIONAL_DNS
). Define the value once on the Master Device instead of repeating it in the Template Stack for each device.
Panorama > Setup > Management > Template Variables
. You select one specific firewall managed by Panorama to be the Primary Master Device.
Understanding the strict order in which Panorama looks for a variable's value is critical when Master Devices are configured:
Panorama > Managed Devices > Summary > [Select FW] > Variables
).
(Highest Priority)
It's crucial to understand that the concept of a "Master Device" in Panorama is entirely separate from User-ID functions like Group Mapping or IP-Address-to-User Mapping .
Master Device (Device Group or Primary):
User-ID Mapping (IP-User & User-Group):
Device > User Identification
(or equivalent Panorama sections for central management). This includes Server Monitoring, Group Mapping Settings, User-ID Agent connections, etc.
Do not confuse the "Master Device" used for Template Variable resolution with any concept related to User-ID mapping collection or distribution. They are entirely separate features addressing different aspects of firewall configuration:
While a firewall designated as a Master Device *might* also be involved in User-ID (e.g., running the Integrated Agent), its role as a Master Device *only* relates to providing values for Template Variables, not for sourcing User-ID data for other firewalls.
For the PCNSE exam, understand:
1. What is the primary purpose of designating a "Master Device" within a Panorama Device Group?
2. Where is the "Master Device" setting configured for a Device Group in Panorama?
3. What is the highest priority source Panorama checks when determining the value for a Template Variable for a specific firewall?
4. If a value for variable
$DNS_SERVER
is set in the Template Stack, AND a different value exists on the Device Group's Master Device, which value will a NON-master device in that group receive (assuming no device-specific override)?
5. What is the purpose of the globally configured "Primary Master Device"?
6. Where is the global "Primary Master Device" configured in Panorama?
7. What is a potential risk of configuring a Master Device for a Device Group?
8. In which scenario is configuring a Master Device MOST beneficial?
9. True or False: The Master Device setting defined within a Device Group overrides the globally configured Primary Master Device setting for variable lookup within that specific Device Group.
10. If a variable value is defined ONLY in the Template Variable's default setting and nowhere else (no device override, no stack value, no master devices configured), what happens during a commit/push?