Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring VPLS Load Balancing Based on IP and MPLS Information

 

In Junos OS Release 9.4 and later, you can configure load balancing for VPLS traffic to have the hash key include IP information and MPLS labels on the M120 and M320 routers only. In earlier Junos OS Releases, you can configure load balancing based only on Layer 2 information. In Junos OS Release 9.5 and later, you can configure load balancing for VPLS traffic based on Layer 3 IP and Layer 4 information on MX Series routers only. For more information, see Configuring VPLS Load Balancing on MX Series 5G Universal Routing Platforms.

For IPv4 traffic, only the IP source and destination addresses are included in the hash key. For MPLS and IPv4 traffic, one or two MPLS labels and IPv4 source and destination addresses are included. For MPLS Ethernet pseudowires, only one or two MPLS labels are included in the hash key.

Note

VPLS load balancing based on MPLS labels and IP information is supported only on the M120 and M320 routers. In Junos OS Release 9.5 and later, on MX Series routers only, you can configure VPLS load balancing based on IP and Layer 4 information.

To optimize VPLS flows across multiple paths based on IP and MPLS information, include the family multiservice statement at the [edit forwarding-options hash-key] hierarchy level:

To use the first MPLS label in the hash key, include the label-1 statement:

To use the second MPLS label, include both the label-1 and label-2 statements:

To use the packet’s IPv4 payload in the hash key, include the payload and ip statements:

Note

Only IPv4 is supported.

To include only Layer 3 information from the IPv4 payload, specify the layer-3-only option to the payload ip statement:

To use the first and second MPLS labels and the packet’s IP payload in the hash key, include the label-1, label-2, and payload ip statements: