On an MX Series router with MPCs, when there are multiple equal-cost paths to the same destination for the active route, Junos OS uses a hash algorithm to choose one of the next-hop addresses from the forwarding table when making a forwarding decision. Whenever the set of next hops for a destination changes in any way, the next-hop address is rechosen using the hash algorithm. For GPRS tunneling protocol (GTP)-encapsulated traffic, the tunnel endpoint identifier (TEID) field changes for traffic traversing through peer routers. To implement load balancing for GTP-encapsulated traffic on the user plane (GTP-U), the TEID should be included in the hash key. You can configure GTP hashing on MX Series routers with MPCs and on MX80, to include the TEID field in hash calculations for IPv4 and IPv6 packets. To configure GTP hashing and include the GTP TEID field in hash calculations, configure the gtp-tunnel-end-point-identifier statement at the [edit forwarding-options enhanced-hash-key family] hierarchy level. GTP hashing is supported for both IPv4 and IPv6 packets received for GTP-U traffic at the MPC. For bridging and MPLS packets, GTP hashing is supported for IPv4 and IPv6 packets that are carried as payload for GTP-encapsulated traffic.
| Product / Application | Software | Introduced Release |
|---|---|---|
| MX80 | Junos OS | 12.3R2 |
| MX150 | Junos OS | 17.3R1 |
| MX204 | Junos OS | 17.4R1 |
| MX240 | Junos OS | 19.4R1 |
| MX240 | Junos OS | 12.3R2 |
| MX301 | Junos OS | 25.4R1 |
| MX304 | Junos OS | 22.2R3 |
| MX480 | Junos OS | 19.4R1 |
| MX480 | Junos OS | 12.3R2 |
| MX960 | Junos OS | 19.4R1 |
| MX960 | Junos OS | 12.3R2 |
| MX2008 | Junos OS | 15.1F7 |
| MX2010 | Junos OS | 13.2R1 |
| MX2020 | Junos OS | 13.2R1 |
| MX10003 | Junos OS | 17.3R1 |
| MX10004 | Junos OS | 22.3R1 |
| MX10008 | Junos OS | 18.2R1 |
| MX10016 | Junos OS | 19.2R1 |
| vMX | Junos OS | 14.1R5 |
| Next Generation Port Extender | Junos OS | 25.4R1 |