Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
EVPN User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Entropy Labels

date_range 20-Dec-24

An entropy label is a special label that enhances a network device’s ability to load-balance traffic across equal-cost multipath (ECMP) paths or link aggregation groups (LAGs). When you configure an entropy label at the ingress device, the transit device use the label to determine a path in place of performing a deep packet inspection (DPI). If the transit device does not support LDP Entropy Label Capability (ELC), the transit device ignores the entropy label and continues to propagate the packet using traditional DPI for load balancing. The entropy label is popped at the penultimate hop device.

An entropy label can be any label value between 16 to 1048575 (regular 20-bit label range). Since this range overlaps with the existing regular label range, a special label called entropy label indicator (ELI) is also inserted in the label stack before the entropy label. IANA assigned ELI label a value of 7. This distinguish entropy labels from other service labels.

To configure entropy labels, include the entropy label at the [edit protocols ldp] hierarchy on the ingress device and include the configured policy in the routing policy.

content_copy zoom_out_map
protocols {
    ldp {
        entropy-label {
            ingress-policy policy-name; 
        }
    }
}
content_copy zoom_out_map
policy-options {
    policy-statement policy-name {
        term Add-Entropy-label {
            from {
                route-filter route exact; 
                }
            then accept; 
        }
    }
}

To enable a penultimate hop device to pop the entropy label, include the load-balance-label-capability statement at the [edit forwarding-option] hierarchy.

content_copy zoom_out_map
forwarding-options {
    load-balance-label-capability;
}
footer-navigation