The Label Distribution Protocol (LDP) is instance-aware. To configure the LDP protocol, include the ldp statement:
-
ldp {
-
explicit-null;
- (deaggregate | no-deaggregate);
-
egress-policy policy-name;
-
export [ policy-names ];
-
import [ policy-names ];
-
-
graceful-restart {
-
disable;
-
helper-disable;
-
maximum-neighbor-recovery-time value;
-
recovery-time value;
- }
-
-
interface interface-name {
- apply-groups;
-
disable;
-
hello-interval seconds;
-
hold-time seconds;
-
transport-address (interface | router-id);
- }
-
keepalive-interval seconds;
-
keepalive-timeout seconds;
-
-
log-updown {
- trap disable;
- }
-
no-forwarding;
-
-
policing {
-
- fec fec-address {
- ingress-traffic filter-name;
- transit-traffic filter-name;
- }
- }
-
preference preference;
-
-
session address {
-
authentication-key authentication-key;
- }
-
strict-targeted-hellos;
-
-
traceoptions {
- apply-groups;
- file filename <replace> <size size> <files number> <no-stamp>
<world-readable | no-world-readable>;
- flag flag <flag-modifier> <disable>;
- }
-
track-igp-metric;
-
-
traffic-statistics {
- file filename <replace> <size size> <files number> <world-readable
| no-world-readable>;
- interval interval;
- }
-
transport-address (interface | router-id);
- }
For a list of hierarchy levels at which you can configure these statements, see the statement summary sections.
By default, LDP is disabled.
This chapter describes the minimum required LDP configuration and discusses the following configuration tasks: