Example: Configuring a Constrained-Path LSP for Which Junos OS Makes All Forwarding Decisions
On the ingress router, create a constrained-path LSP in which the Junos OS makes all the forwarding decisions. When the LSP is successfully set up, a route toward 10.1.1.1/32 is installed in the inet.3 table so that all BGP routes with matching BGP next-hop addresses can be forwarded through the LSP.
[edit]
interfaces {
so-0/0/0 {
unit 0 {
family mpls;
}
}
}
protocols {
rsvp {
interface so-0/0/0;
}
mpls {
label-switched-path to-hastings {
to 10.1.1.1;
}
interface so-0/0/0;
}
}