TEID Hashing for GTP-encapsulated Traffic

GTP is the GPRS (general packet radio service) tunneling protocol. The tunnel endpoint identifier (TEID) is a field in the GTP header. TEID hashing can be enabled on Layer 3 interfaces. The hash algorithm identifies the GTP-U protocol by checking the UDP destination port (2152) of an IP packet to be hashed. If the value of the port matches, the packet is assumed to be GTP-U. For GTPv1 packets, the TEID value from the expected header location is then included in the hash. For GTPv2 packets, the TEID flag value in the expected header is additionally checked to verify whether the TEID is present. If the TEID is present, it is included in the hash algorithm inputs.

TEID load balancing is configured at the router interface level using the config> router>if>teid-load-balancing command. It can also be configured at the IES or VPRN service interface level.

For LSR LDP ECMP, TEID load balancing is configured using the lbl-ip-l4-teid option in the lsr-load-balancing command at the system level or router interface level. Configuration at the router interface level overrides the system-level configuration for the specified interface.

TEID load balancing can also be configured at the service level for Epipe and VPLS services. TEID load balancing at the service level is not impacted by TEID load balancing at the router interface or service interface levels.