LDP Configuration Guidelines
The Label Distribution Protocol (LDP) is instance-aware. To configure the LDP protocol, include the
ldpstatement: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 | router-id);}keepalive-intervalseconds;keepalive-timeoutseconds;log-updown {trap disable;}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 (interface | router-id);}For a list of hierarchy levels at which you can configure these statements, see the statement summary sections.
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 Graceful Restart
- Configure LDP Received-Label Filtering
- Configure LDP Outbound-Label Filtering
- Configure LDP Transport Address Control
- Configure the LDP Egress Policy
- Configure FEC Deaggregation
- Collect LDP Statistics
- Trace LDP Protocol Traffic
- Configure Miscellaneous LDP Properties