Panorama Template Stacks provide a powerful way to apply layered configurations to groups of firewalls. However, this layering often leads to situations where the same configuration setting (e.g., a specific DNS server, an interface MTU, an NTP server address) is defined in multiple Templates within the same Stack .
PAN-OS uses a clear precedence rule to resolve these conflicts: the value defined in the template placed later (higher up) in the stack order takes precedence and effectively overrides the value(s) defined in template(s) placed earlier (lower down) in the stack.
Understanding and utilizing this override mechanism is key to building modular and maintainable configurations.
For the PCNSE exam, regarding template overrides: