Hi,
You're not seeing the BGP route because you do not advertise it to your peer.
set protocols bgp group ISP export pol-CUST
set policy-options prefix-list pre-CUST 10.1.0.0/24
set policy-options prefix-list pre-CUST 10.1.1.0/24
set policy-options prefix-list pre-CUST 10.1.2.0/24
set policy-options prefix-list pre-CUST 10.1.3.0/24
Your prefix list referenced in the policy does not match 192.168.200.0/30.
For LDP Egress policy you need to make sure that you include in your policy the prefix you want to advertise and also the Lo0 address. This policy needs to accept all the FECs you want to share.
Also for this to work you need to have the 192.168.200.0/30 in your IGP as passive because you're not doing BGP NHS and because how LDP works.
------------------------------
Bandiu Alin-Filip-Gabriel
------------------------------
Original Message:
Sent: 02-21-2024 22:36
From: xine32
Subject: LDP MPLS Policy export not working as expected
Hi,
I'm currenly studdying for the JNCIS-SP exam. I'm using Juniper V-LAB to test my knowledge. For this lab I used the topology named "Intra-AS BGP-CT" which is preety simple 5 VMX router connected in one line to each others.
I have attached to this post my own topology and router configuration. I start each lab session by erasing the current router configuration and paste mine to do my lab session.
I have configured on PE1 a policy export to reinsert the network 192.168.200.0/30 in the MPLS topology. But it doesn't seem to work as I expect. Using "show route 192.168.200.0/30 advertising-protocol bgp 192.168.2.4 " is currently provide no output. On PE2 I don't get any route for 192.168.200.0/30 as I expect.
I also include the traceoption output for flag "route, address & policy" been set.
Thank you
------------------------------
Xine
------------------------------