Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


interface (advance-policy-based-routing)


Syntax (Prior Junos OS Release 21.2R1)

Hierarchy Level


Configure link preference settings for an interface in a APBR profile.

When a list of best paths that meet the SLA requirements are available for the application path, the path selection mechanism selects a path that matches the configured link preference (link type, bandwidth, and priority). The application traffic distribution depends on the link weight configuration. Paths are the WAN links that are used for forwarding the application traffic.

You can define the link type and priority for the underlay links in the APBR profile. The link preference configuration is applied for the application traffic matching the APBR rule.


Prior to Junos OS Release 21.2R1, if any of the parameters are not configured (link-type or priority) then the path selection mechanism follows the existing behavior. That is, applications traffic is assigned to a particular overlay link based on the SLA metrics of that overlay link only.



Configure custom tag for the link selection. You can use the tags such as IP, MPLS, VOIP, DSL and so on as per the requirement. Defining a link-tag along with link-priority allows you to prioritize the link selection.

  • Default: IP


Assign the bandwidth for the link in MB. Use this option if you are configuring AMR.

  • Range: 1 through 1000000

    Default: 1 GB


Assign the priority for the link selection. If there are multiple paths available, AppQOE selects the path with the highest priority. Lower the value, higher the priority for the link.

  • Range: 1 through 255


Configure weight for the application traffic distribution. The weight assigned for a link is based on the factors such as customer preference, CoS, or bandwidth requirement.

  • Range: 1 through 255

    Default: 1

Required Privilege Level

services—To view this statement in the configuration.

services-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 21.2R1