Technical Documentation

Configuring ECMP Next Hops for RSVP and LDP LSPs for Load Balancing

The JUNOS Software supports configurations of 16, 32, or 64 equal-cost multipath (ECMP) next hops for RSVP and LDP LSPs on M10i routers with an Enhanced CFEB, and M320, M120, MX Series, and T Series routers. For networks with high-volume traffic, this provides more flexibility to load-balance the traffic over as many as 64 LSPs.

To configure the maximum limit for ECMP next hops, include the maximum-ecmp next-hops statement at the [edit chassis] hierarchy level:

[edit chassis]maximum-ecmp next-hops;

You can configure a maximum ECMP next-hop limit of 16, 32, or 64 using this statement. The default limit is 16.

The following types of routes support the ECMP maximum next-hop configuration for as many as 64 ECMP gateways:

  • Static IPv4 and IPv6 routes with direct and indirect next-hop ECMPs
  • LDP ingress and transit routes learned through associated IGP routes
  • RSVP ECMP next hops created for LSPs
  • OSPF IPv4 and IPv6 route ECMPs
  • ISIS IPv4 and IPv6 route ECMPs
  • EBGP IPv4 and IPv6 route ECMPs
  • IBGP (resolving over IGP routes) IPv4 and IPv6 route ECMPs

The enhanced ECMP limit of up to 64 ECMP next hops is also applicable for Layer 3 VPNs, Layer 2 VPNs, Layer 2 circuits, and VPLS services that resolve over an MPLS route, because the available ECMP paths in the MPLS route can also be used by such traffic.

The following FPCs on M320, T640, and T1600 routers only support 16 ECMP next hops:

  • (M320, T640, and T1600 routers only) Enhanced II FPC1
  • (M320, T640, and T1600 routers only) Enhanced II FPC2
  • (M320 and T640 routers only) Enhanced II FPC3
  • (T640 and T1600 routers only) FPC2
  • (T640 and T1600 routers only) FPC3

Note: If a maximum ECMP next-hop limit of 32 or 64 is configured on an M320, T640, or T1600 router with any of these FPCs installed, the Packet Forwarding Engines on these FPCs use only the first 16 ECMP next hops. For Packet Forwarding Engines on FPCs that support only 16 ECMP next hops, the JUNOS Software generates a system log message if a maximum ECMP next-hop limit of 32 or 64 is configured. However, for Packet Forwarding Engines on other FPCs installed on the router, a maximum configured ECMP limit of 32 or 64 ECMP next hops is applicable.

Next-hop cloning and permutations are disabled on T Series routers with Enhanced Scaling FPCs (Enhanced Scaling FPC1, Enhanced Scaling FPC2, Enhanced Scaling FPC3, and Enhanced Scaling FPC 4) that support enhanced load-balancing capability. As a result, memory utilization is reduced for a highly scaled system with a high number of next hops on ECMP or aggregated interfaces. Next-hop cloning and permutations are also disabled on T Series routers with Type-4 FPCs.

To view the details of the ECMP next hops, issue the show route command. The show route summary command also shows the current configuration for the maximum ECMP limit. To view details of the ECMP LDP paths, issue the traceroute mpls ldp command.


Published: 2010-04-26