Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configure Applications for Session Smart Routers

Applications represent traffic destinations. On the Juniper® Session Smart™ Router, applications create services in the background for SVR. Applications can be ports, protocols, prefixes, custom domains, or app names from the built-in AppID library.

Applications are the services or apps that your network users will connect to in a Juniper Mist WAN Assurance design. You can define these applications manually in the Juniper Mist™ cloud portal. You define applications by selecting the category (such as Social Media) or selecting individual applications (such as Microsoft Teams) from a list. Another option is to use the predefined list of common traffic types. You can also create a custom application to describe anything that is not otherwise available.

For users to access applications, you must first define the applications and then use application policies to permit or deny access. That is, you associate these applications with users and networks and then assign a traffic-steering policy and access rule (allow or deny).

Configure Applications

To configure applications:

  1. In the Juniper Mist portal, click Organization > WAN> Applications.
    A list of existing applications, if any, appears.
  2. Click the Add Applications button in the upper right corner.

    The Add Application window appears.

    Table 1 summarizes the options you can set in an application configuration.
    Tip: When working on configuration screens, look for the VAR indicators. Fields with this indicator allow site variables.

    The fields with this label also display the matching variables (if configured) as you start typing a specific variable in it. This field lists variables from all sites within the organization.

    The organization-wide list of variables can be viewed using GET /api/v1/orgs/:org_id/vars/search?var=*. This list is populated as variables are added under site settings.

    Table 1: Applications Options
    Fields Description
    Name Enter a unique name for the application. You can use upto 32 characters for naming the application including alphanumerics, underscores, and dashes.
    Description Enter a description of the application and context.
    Type Enter the application type:
    IP Address (For custom applications) Enter the network IP address, including prefix (if any) of the application.
    Domain Name

    Enter the domain name of the application. The domain name is used in cloud breakout profiles to generate the fully qualified domain name (FQDN). The cloud security providers use the FQDN to identify the IPsec tunnels.

    For example,

    Protocol and Port Ranges (For custom applications) Enter details about protocols, protocol numbers, and port ranges (start and end ports) that the application is using.

    Click the blue Add (+) icon to select multiple protocols.

    Traffic Type Configure the optional advanced traffic type settings that includes:
    • Traffic type—Select the type of traffic (example: voice, video, data). The portal provides a list of predefined traffic type. When you select any of the defined traffic types such as gaming or video streaming, all the below parameters will be selected automatically. If you select Custom, you can configure the following values:
    • Failover policy—Revertible or Non-revertible.
      • Revertible: Traffic automatic switches back to the primary link when the primary link recovers.
      • Non-Revertible: Requires manual intervention to revert to the primary link. When traffic switches to the secondary link due to primary link failure, it does not automatically revert back to the primary link.
    • Traffic class—Best effort, High,Medium, and Low.
      • Best Effort: No special treatment, suitable for non-critical data.
      • Medium: Prioritized over Best Effort, used for non-latency-sensitive applications.
      • High: Critical applications with low latency requirements.
      • Low: Background or non-urgent traffic
    • DSCP class—DSCP Class in the range 0-63. When you select a traffic class (Best Effort, High, Medium, or Low), the applicable default DSCP Class value is displayed as a help text. You can choose to override it. By configuring DSCP classes, you can map specific traffic types to appropriate QoS levels.
    • Maximum latency—Maximum latency in the range 0-4294967295. Setting a maximum latency threshold ensures that SD-WAN avoids links with excessive delay
    • Maximum jitter—Maximum jitter in the range 0-4294967295. By specifying a maximum jitter threshold, SD-WAN selects stable links to maintain predictable performance
    • Maximum loss—Maximum loss in the range 0-100. Configuring a maximum loss threshold helps SD-WAN avoid links with high packet loss rates.
  3. Complete the configuration as per details provided in Configure Applications with Custom Applications to configure applications with custom applications.
    If you want to create applications using predefined applications or URL categories, see the following sections:

Configure Applications with Custom Applications

Juniper Mist cloud enables you to define your own custom applications with destination IP addresses or domain names.

When defining custom applications, you can:

  • Use multiple destination IP addresses or domain names separated by a comma to define a single application.

  • Select a protocol (any, TCP, UDP, ICMP, GRE, or custom) and port range to narrow down your selection. This option enables the system to identify the destination at a granular level.

  • Define a prefix of with protocol “any” . A prefix of with protocol “any”, is resolved to any host within the Juniper Mist WAN Assurance policy.

To define custom applications:

  1. In the Juniper Mist cloud portal, under the Add Application pane, select the Type as Custom Apps.
  2. Create a custom application using IP prefixes. Refer to the details in Table 2. Use IP prefixes when configuring applications. Ensure that you keep the configuration separate for applications and application identification (which might be required at a later stage).
    Table 2: Custom Application Configuration
    Custom Application IP Address Description

    A wild card IP address. The IP address also serves as a placeholder address.

    SPOKE-LAN1 A match criterion for all IP addresses inside the corporate VPN.

    A match criterion for all IP addresses attached at the LAN-interface of the Hub1 device.


    A match criterion for all IP addresses attached at the LAN interface of the Hub2 device.


    The Juniper Mist cloud portal assigns an IP address directly or indirectly to all LAN interfaces of hubs and spokes. In the beginning, you may use only few IP prefixes such as + + You might want to create a custom application for these addresses only. But at a later stage, you might have many more interfaces. So, as a good practice, create applications with a wildcard match criteria IP prefix (such as A wildcard match allows easy extensions without a need to change the ruleset in your environment.

  3. Click Save. The Applications page displays the list of all applications you created.

Configure Applications with Predefined Applications

Juniper Mist cloud provides a list of known applications that you can use to define an Application.

To configure predefined applications:

  1. In the Mist portal, in the Add Application pane, select the Type as Apps.
  2. Click the Add (+) icon to display the list of available predefined applications.
    Figure 1: Predefined Applications Predefined Applications
  3. Select one or more applications from the drop-down menu.
  4. Click Add to save your changes.

Configure Applications with URL Categories

Juniper Mist cloud provides a list of URL categories based on types (example: shopping, sports) and grouped by severity (all, standard, strict). You can use the URL categories to define an application. URL categories offer granular filtering for application creation. You can select a single or multiple URL categories for an application.

To define URL categories:

  1. In the Mist portal, in the Add Application pane, select the Type as URL Categories.
  2. Click the Add (+) icon to display the list of available URL categories
    Figure 2: URL Categories URL Categories
  3. Select one or more URL category groups or URL categories.
  4. Click Add to save your changes.