Configure LDP
The Label Distribution Protocol (LDP) is instance-aware. It can be configured for the master instance at the
[edit protocols ldp]hierarchy level, or for a routing instance at the[edit routing instances routing-instance-name protocols]hierarchy level.[edit]ldp {explicit-null;(deaggregate | no-deaggregate);egress-policypolicy-name;export [policy-name];import [policy-name];graceful-restart {disable;helper-disable;maximum-recovery-timevalue;recovery-timevalue;}interfaceinterface-name{apply-groups;disable;hello-intervalseconds;hold-timeseconds;transport-address (interface | loopback);}keepalive-intervalseconds;keepalive-timeoutseconds;no-forwarding;preferencepreference;sessionaddress{authentication-keyauthentication-key;}traceoptions {apply-groups;filefilename<replace> <sizesize> <filesnumber> <no-stamp><(world-readable | no-world-readable)>;flagflag<flag-modifier> <disable>;}track-igp-metric;traffic-statistics { filefilename<replace> <sizesize> <filesnumber> <(world-readable | no-world-readable)>; intervalinterval;}transport-address (router-id | loopback);}This chapter describes the minimum required LDP configuration and discusses the following configuration tasks:
- Minimum LDP Configuration
- Enable LDP
- Configure the LDP Hello Interval
- Configure the LDP Hold Time
- Configure the LDP Keepalive Interval
- Configure the LDP Keepalive Timeout
- Configure LDP Route Preferences
- Configure LDP Ultimate-Hop Popping
- Configure LDP Graceful Restart
- Configure LDP Received Label Filtering
- Configure LDP Outbound Label Filtering
- Enable LDP over RSVP-Established LSPs
- Configure LDP Transport Address Control
- Configure the LDP Egress Policy
- Configure FEC Deaggregation
- Configure the TCP MD5 Signature for LDP Session
- Trace LDP Protocol Traffic
- Collect LDP Statistics
- Configure LDP to Use the IGP Route Metric
- Configure the no-forwarding Statement
- Multiple-Instance LDP and Carrier-of-Carriers VPNs
For an LDP configuration example, see Example: LDP Configuration.