Configure Sites and Variables for Session Smart Routers
A site is a subset of your organization in the Juniper Mist™ cloud. You need a unique site for each physical (or logical) location in the network. Users with required privileges can configure and modify sites. The configuration changes in the sites are automatically applied to (or at least available to) all your Juniper® Session Smart™ Routers included in the site.
Site variable provide simplicity and flexibility for deployment at a large scale.
Site variables are configured on a per-site basis. When planning a network design, you can create standard templates for specific WAN edges devices and use variables in templates or the WAN edge configuration page.
Site variables provide a way to use tags (such as “WAN1_PUBIP”) to represent real values (such as 192.168.200.254) so that the value can vary according to the context where you use the variable. For example, for Site 1 you can define WAN1_PUBIP to be 192.168.200.254, while for Site 2 the value you give WAN1_PUBIP is 192.168.1.10. You can then use the tag to replace the IP address for Juniper Mist cloud configurations such as in the WAN edge template. That is, when you attach the template to different sites, Juniper Mist cloud uses the appropriate IP address automatically in each site when the configuration is rendered and pushed to the device.
You can also define entire IP subnets of the first three octets in variables, leaving minimal configuration at each device.
You can define the site variable by using double brackets to format the variable name. Example: {{SPOKE_LAN1_PFX}}
To configure sites: