LAG
Page 92
7710 SR OS Interface Configuration Guide
LAG and ECMP Hashing
When a requirement exists to increase the available bandwidth for a logical link that exceeds the
physical bandwidth or add redundancy for a physical link, typically one of the methods is applied;
equal cost multi-path (ECMP) or Link Aggregation (LAG). A 7710 SR can deploy both at the
same time, meaning, using ECMP of two or more Link Aggregation Groups (LAG) and/or single
links. The supports up to 16 equal cost routes in ECMP and up to 16 ports per LAG.
Different types of hashing algorithms can be employed depending whether better loadspreading or
consistent per service forwarding is required. The Alcatel-Lucent implementation supports per
flow hashing used to achieve uniform loadspreading and per service hashing designed to provide
consistent per service forwarding. The following sub-sections describe these two hashing
algorithms.
Depending on the type of traffic that needs to be distributed into an ECMP and/or LAG, different
variables are used as input to the hashing algorithm that determines the next hop selection. There
are several traffic types to consider:
•
VPLS known unicast traffic. This is hashed based on the IP source and destination
addresses, or the MAC source and destination addresses for non-IP traffic. Optionally
TCP and UDP traffic can include the source and destination port information in the hash
algorithm.
•
The hash used for LAG for VPLS services does not include the VPLS service ID. The
MAC SA/DA are hashed and then, if the Ethertype is IPv4 or IPv6, the hash is replaced
with one based on the IP source address/destination address. If Layer 4 hashing is enabled
on the ingress port, the Layer 4 source port and destination port are hashed. Packets for the
same SAP can be sprayed across different LAG members, if the result of this hash modulo
the number of LAG links is different.
•
Unicast IP traffic routed by a 7710 SR router uses the IP SA/DA or optionally TCP/UDP
port information.
•
By default, MPLS packet hashing at an LSR is based on the whole label stack, along with
the incoming port and system IP address. Note that the EXP/TTL information in each
label is not included in the hash algorithm. This method is referred to as “Label-Only
Hash” option and is enabled in CLI by entering the
lbl-only
keyword.
•
A couple of options to further hash on the header of an IP packet in the payload of the
MPLS packet are also provided.
•
The first method is referred to as the "Label-IP Hash" option and is enabled in CLI by
entering the lbl-ip keyword. In the first hash round for ECMP, the algorithm will parse
down the label stack and once it hits the bottom it checks the next nibble. If the nibble
value is 4 then it will assume it is an IPv4 packet. If the nibble value is 6 it will assume it
is an IPv6 packet. The result of the hash of the label stack, along with the incoming port
and system IP address, is fed into another hash along with source and destination address
fields in the IP packet header. Otherwise, it will just use the label stack hash calculated in
Содержание 7710 SR SONET
Страница 6: ...Page 6 7710 SR OS Interface Configuration Guide Table of Contents...
Страница 8: ...Page 8 7710 SR OS Interface Configuration Guide List of Tables...
Страница 10: ...Page 10 7710 SR OS Interface Configuration Guide List of Figures...
Страница 14: ...Preface Page 14 7710 SR OS Interface Configuration Guide...
Страница 16: ...Getting Started Page 16 7710 SR OS Interface Configuration Guide...
Страница 18: ...Page 18 7710 SR OS Interface Configuration Guide Configuration Notes on page 107...
Страница 166: ...Service Management Tasks Page 152 7710 SR OS Interface Configuration Guide...
Страница 354: ...Multi Chassis Redundancy Commands Page 328 7710 SR OS Interface Configuration Guide...
Страница 494: ...Standards and Protocols Page 494 Standards and Protocols...
Страница 496: ...Index Page 496 7710 SR OS Interface Configuration Guide...