Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


weight (Targeted Subscribers)


Hierarchy Level


Configure weight for targeted subscribers like PPPoe, demux, and conventional VLANs. The weight assigned is based on factors such as customer preference, CoS, or bandwidth requirement. The member links are then assigned based on the value of the weight. The value of the weight can range from 1 through 1000.


weight ($junos-interface-set-target-weight | weight-value)

Specify the weight for targeted subscribers. Member links for logical interfaces of aggregated Ethernet logical interfaces are assigned based on the value of the weight . When a new VLAN is added to the same aggregated Ethernet bundle, then the primary member link selected for targeting is the one with the minimum primary load and the backup link selected for targeting is the one with the minimum overall load.

When you configure the $junos-interface-set-target-weight predefined variable, the weight value is sourced from VSA 26-214 in the RADIUS Access-Accept message when a dynamic subscriber is authenticated and applies to both the interface set and all its member interfaces; you must configured targeted distribution for both the interface set and its member interfaces. If the interface set is not explicitly configured and RADIUS VSA 26-214 is not received, then the interface set weight derives from the weight assigned to the first member interface that is authorized.

  • Range: 1 through 1000

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 17.3.

$junos-interface-set target-weight option added in Junos OS Release 18.4R1.