ldp
Syntax
ldp {
auto-targeted-session {
maximum-sessions;
no-dynamic-tunnels;
no-rlfa;
teardown-delay;
{
color-import-policy [ policy-names ]
(deaggregate | no-deaggregate);
dod-request-policy
dual-transport {
inet-lsr-id ;
inet6-lsr-id;
}
egress-policy [ policy-names ];
entropy-label {
ingress-policy [ policy-names ]
explicit-null;
export [ policy-names ];
family {
inet;
inet6;
}
graceful-restart {
disable;
helper-disable;
maximum-neighbor-reconnect-time;
maximum-neighbor-recovery-time;
reconnect-time;
recovery-time;
}
igp-synchronization {
holddown-interval;
}
import [ policy-names];
interface (interface-name | all);
keepalive-interval seconds;
keepalive-timeout seconds;
l2-smart-policy;
label-withdrawal-delay;
log-updown {
trap {
disable;
}
}
longest-match {
policy {
[ policy-names];
}
}
make-before-break {
switchover-delay ;
timeout;
}
mtu-discovery;
neighbor [ neighbor];
next-hop {
merged {
policy [ policy names];
}
no-rsvp-tunneling {
policy [ policy names];
}
}
no-deaggregate;
no-forwarding;
no-mtu-discovery;
no-propagate-ttl;
oam {
bfd-liveness-detection {
detection-time {
threshold;
}
}
ecmp;
failure-action {
remove-nexthop;
remove-route;
}
holddown-interval ;
minimum-interval;
minimum-receive-interval;
multiplier;
no-adaptation;
no-router-alert-option;
transmit-interval {
minimum-interval;
threshold;
}
bfd-port-egress-policy [policy names];
fec [fec address];
ingress-policy [policy names];
lsp-ping-interval;
lsp-ping-multiplier;
periodic-traceroute {
exp;
fanout;
frequency;
paths;
retries;
source;
ttl;
wait;
}
}
p2mp {
no-rsvp-tunneling;
recursive {
route;
}
root-address [address];
}
policing {
fec [address];
}
preference preference;
rib-group;
rib-group6;
session [address];
session-group session prefix;
session-protection {
timeoute;
}
sr-mapping-client {
policy policy;
}
}
strict-targeted-hellos;
targeted-hello {
hello-interval;
hold-time;
}
traceoptions {
flag [trace flags];
file [file name];
}
track-igp-metric;
traffic-statistics {
file [file name];
interval;
no-penultimate-hop;
sensor-based-stats;
}
transport-address (address | interface | router-id);
transport-preference [ipv4 | ipv6];
upstream-label-assignment;
}
Hierarchy Level
[edit logical-systems logical-system-name protocols], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols], [edit protocols], [edit routing-instances routing-instance-name protocols]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Enable LDP routing on the router or switch.
You must include the ldp statement in the configuration
to enable LDP on the router or switch.
Default
LDP is disabled on the router.
Options
| transport-preference ipv4 | ipv6 | Select
the preferred transport for TCP connection when both IPv4 and IPv6
are enabled. If
|
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
dual-transport statement introduced in Junos OS Release
16.1 for the M320 Series, MX Series, and PTX Series.
family statement introduced in Junos OS Release 16.1
for the M320 Series, MX Series, and PTX Series.
transport-preference option introduced in Junos OS
Release 16.1 for the M320 Series, MX Series, and PTX Series.