Set variable
set template Core variable $tunnel-fwhq-local type ip-netmask 169.254.10.1/30 set template Core variable $tunnel-fwhq-remote type ip-netmask 169.254.10.2 set template Core variable $tunnel-fwhq-peer type ip-netmask 1.2.3.4
Override the variable for the other firewall in the template.
set template-stack Core_stack devices 001122334455667 variable $tunnel-fwhq-local type ip-netmask 169.254.10.2/30 set template-stack Core_stack devices 001122334455667 variable $tunnel-fwhq-remote type ip-netmask 169.254.10.1 set template-stack Core_stack devices 001122334455667 variable $tunnel-fwhq-peer type ip-netmask 5.6.7.8