- Read Me First
- MPLS Label Distribution Protocol
- MPLS LDP Session Protection
- MPLS LDP Autoconfiguration
- MPLS LDP IGP Synchronization
- MPLS LDP Inbound Label Binding Filtering
- MPLS LDP Local Label Allocation Filtering
- MPLS LDP MD5 Global Configuration
- MPLS LDP Lossless MD5 Session Authentication
- MPLS LDP VRF-Aware Static Labels
- MPLS LDP Entropy Label Support
MPLS LDP Entropy
Label Support
Load balancing is an important tool for engineering traffic across an MPLS network. The MPLS LDP Entropy Label Support feature describes methods of improving load balancing across MPLS networks using entropy labels.
- Finding Feature Information
- Information About MPLS LDP Entropy Label Support
- How to Configure MPLS LDP Entropy Label Support
- Additional References for MPLS LDP Entropy Label Support
- Feature Information for MPLS LDP Entropy Label Support
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About MPLS LDP Entropy Label Support
- Overview of MPLS LDP Entropy Label
- Benefits of MPLS LDP Entropy Label Support
- LDP Entropy Label Capability Signaling
Overview of MPLS LDP Entropy Label
Prior to the MPLS LDP Entropy Label Support feature, at each MPLS hop, a deep packet inspection (DPI) is performed to determine the load balancing. With the introduction of MPLS LDP Entropy Label Support feature, at the ingress interface where MPLS is encapsulated, a DPI is performed to generate an entropy label. At the transit node, there is no need for DPI. The load balancing is done on the entropy label.
The entropy label provides ways of improving load balancing by eliminating the need for DPI at transit Label Switching Routers (LSRs). To eliminate DPI, the ingress LSR of an MPLS label switched path extracts the appropriate keys from a given packet, inputs them to the load balancing function, places the result in an additional label termed entropy label, and as a part of the MPLS label stack, the LSR pushes onto that packet. The transit LSRs use the label stack of the MPLS packet to perform load balancing.
If the transit LSR does not support LDP Entropy Label Capability (ELC), the transit LSR will propagate the label mapping message with the ELC flag so that the ingress LSR will add the entropy label. Any transit LSRs that do not support entropy label will ignore the entropy label and will load balance based on traditional DPI techniques.
Benefits of MPLS LDP Entropy Label Support
Each transit LSR along the path of a given LSP has to try to infer the underlying protocol within an MPLS packet to extract appropriate keys for load balancing. If the transit LSR is unable to infer the MPLS packet’s protocol, it will use the topmost (or all) MPLS labels in the label stack as keys for the load-balancing function. The result may be an extremely inequitable distribution of traffic across equal cost paths exiting a LSR. This is because MPLS labels are fairly coarse-grained forwarding labels that describe a next hop, or provide some demultiplexing or forwarding function, and do not describe the packet’s underlying protocol.
For example, an ingress LSR, a Provider Edge (PE) device has detailed knowledge of a packet’s contents, typically through a priority configuration of the encapsulations that are expected at a given Provider Edge-Customer Edge interface (IPv4, IPv6, VPLS, etc.), thus ensuring a more even distribution of load balancing for a given flow instead of overloading any particular path. The entropy label is protocol independent, it provides a unified way of load balancing without looking into the protocol header.
LDP Entropy Label Capability Signaling
Entropy Label Capability (ELC) is signaled from egress provider-edge (PE) device to ingress PE device. The egress LSR for a FEC initiates ELC by adding ELC Type Length Value (TLV), if configured, in the label mapping message that it sends to the peers. The presence of the ELC TLV in a label mapping message indicates to ingress LSRs that the egress LSR can process entropy labels for the associated LDP tunnel.
If the entire downstream peers have signaled entropy capability, ELC is propagated, else, it is not added in the label mapping message, and regular load balancing is used.
By configuring entropy labels, ingress LSR enables pushing of Entropy Label Indicator (ELI)/Entropy Label (EL). The ELI/EL value is pushed onto the label stack, if EL is enabled and downstream LSP is EL capable. The LDP processes the ELC TLV and sets EL capability flag accordingly for each LSP.
At the transit and egress LSR, LDP signals ELC, which indicates the ability to process entropy labels to upstream peers if ELC is received from downstream peers for all the next hops in a route.
How to Configure MPLS LDP Entropy Label Support
Enabling MPLS LDP Entropy Label Support
1.
enable
2.
configure
terminal
3.
mpls
ip
4.
mpls ldp entropy-label [label-value]
5.
end
DETAILED STEPS
Verifying MPLS LDP Entropy Label Support
1.
enable
2.
show mpls ldp
bindings [ip-address |
mask] [detail]
3.
show mpls infrastructure
lfd lte [label-value]
4.
show mpls
forwarding-table
[label-value]
5.
ping mpls
ipv4 [ip-address |
mask]
entropy-label [label-value]
6.
traceroute
mpls [ip-address |
mask]
entropy-label [label-value] [verbose]
7.
traceroute mpls multipath [ip-address |
mask]
entropy-label [label-value] [verbose]
DETAILED STEPS
Additional References for MPLS LDP Entropy Label Support
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Cisco IOS Multiprotocol Label Switching commands |
RFCs
RFC |
Title |
---|---|
RFC 6790 |
The Use of Entropy Labels in MPLS Forwarding |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for MPLS LDP Entropy Label Support
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
MPLS LDP Entropy Label Support |
Cisco IOS XE Release 3.17S |
The MPLS LDP Entropy Label Support describes ways of improving load balancing across MPLS networks using the concept of entropy labels. The following commands were introduced or modified: mpls ldp entropy-label, ping mpls, show mpls forwarding-table, show mpls infrastructure lfd lte, show mpls ldp bindings, traceroute mpls, traceroute mpls multipath. |