I'm trying to create an LDP egress-policy and advertise some labels.
The thing is I want these prefixes to be advertised along with a label.
R4
root@vMX-4# show protocols ldp
egress-policy LDP_IMPORT;
explicit-null;
interface ge-0/0/1.47;
interface lo0.0;
root@vMX-4# show policy-options policy-statement LDP_IMPORT
term 1 {
from {
route-filter 10.200.1.3/32 exact;
route-filter 10.200.1.6/32 exact;
route-filter 10.200.1.8/32 exact;
route-filter 10.200.1.4/32 exact;
}
then accept;
R4 neighbor receives these routes via LDP but without any label
root@vMX-7# run show route table inet.3 protocol ldp
inet.3: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.200.1.1/32 *[LDP/9] 00:05:03, metric 1
> to 10.200.2.24 via ge-0/0/1.17
10.200.1.3/32 *[LDP/9] 00:00:23, metric 1
> to 10.200.2.24 via ge-0/0/1.17, Push 300192
to 10.200.2.22 via ge-0/0/1.47, Push 0
10.200.1.4/32 *[LDP/9] 00:00:02, metric 1
> to 10.200.2.22 via ge-0/0/1.47, Push 0
10.200.1.6/32 *[LDP/9] 00:00:23, metric 1
to 10.200.2.24 via ge-0/0/1.17, Push 300224
> to 10.200.2.22 via ge-0/0/1.47, Push 0
10.200.1.8/32 *[LDP/9] 00:00:23, metric 1
to 10.200.2.24 via ge-0/0/1.17, Push 300208
> to 10.200.2.22 via ge-0/0/1.47, Push 0
Ignore "push 0", it comes along with explicit-null.
My questions is how do I advertise there prefixes along with an LDP label.
Thank you!