[Contents] [Prev] [Next] [Index] [Report an Error]


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-policy policy-name;
    export [ policy-name ];
    import [ policy-name ];
    graceful-restart {
        disable;
        helper-disable;
        maximum-recovery-time value;
        recovery-time value;
    }
    interface interface-name {
        apply-groups;
        disable;
        hello-interval seconds;
        hold-time seconds;
        transport-address (interface | loopback);
    }
    keepalive-interval seconds;
    keepalive-timeout seconds;
    no-forwarding;
    preference preference; 
    session address {
        authentication-key authentication-key;
    }
    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 (router-id | loopback);
}

By default, LDP is disabled.

This chapter describes the minimum required LDP configuration and discusses the following configuration tasks:

For an LDP configuration example, see Example: LDP Configuration.


[Contents] [Prev] [Next] [Index] [Report an Error]