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-names];import [policy-names];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;policing {fecfec-address{ingress-trafficfilter-name;transit-trafficfilter-name;}}preferencepreference;sessionaddress{authentication-keyauthentication-key;}strict-targeted-hellos;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
- Enabling and Disabling LDP
- Configuring the LDP Hello Interval
- Configuring the LDP Hold Time
- Configuring the LDP Keepalive Interval
- Configuring the LDP Keepalive Timeout
- Configuring LDP Route Preferences
- Configuring LDP Graceful Restart
- Configuring LDP Received-Label Filtering
- Configuring LDP Outbound-Label Filtering
- Configuring LDP Transport Address Control
- Configuring the LDP Egress Policy
- Configuring FEC Deaggregation
- Configuring Policers for LDP FECs
- Collecting LDP Statistics
- Tracing LDP Protocol Traffic
- Configuring Miscellaneous LDP Properties