Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Exception for Junos LDP aggregation



Article ID: KB29088 KB Last Updated: 19 Aug 2020Version: 2.0

This article describes an exception to Junos LDP aggregation behavior, and provides a command for disabling the behavior.


Junos allocates a single label to all IP routes when the following conditions are met:

  • All IP routes have the same next hop, and
  • The label advertised for these routes advertised by the next-hop router is also the same.

There is an exception to this behavior when the corresponding route has a back-up next hop. If, for instance, an LDP tunnel is configured and the label-switched path (LSP) link-protection is configured, the LDP routes will have a back-up next hop. In this case, Junos will not aggregate the label. Nonetheless, when the back-up next hop is gone, LDP will then aggregate the label.


When the back-up next hop is gone, Junos will aggregate the label for routes. This may cause an LDP label change.

In addition, when the back-up next hop is back up again, Junos will deaggregate the label again, which may cause the label to change again.


Disable the exception to this aggregation behavior. Configure the command below:

set protocols ldp deaggregate

Modification History:
2020-08-19: Updated related link.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search