Hi all,
We have 2 MX10003 with MPiBGP between them (ospf, ldp, bfd, ibgp) .
JunOS version : Junos: 23.4R1.9
We have some VRFs in the MXs and we have a static route +bfd to Net1 in MX1 vrf1.
The static routes have bfd and it is UP/Active in the MX 1 vrf1.
We configured export policy in the MPiBGP peering to advertise this static route, but it´s not working. I mean MX 1 is not advertising the static route for Net1.
(Net1) <-----static+bfd----- (VRF1) MX 1 <------MPiBGP (mpls, ldp, ospf, bgp)---->MX2(VRF1) (Net1 is unknown in the vrf1 )
This is the policy and bgp config in one MX:
set policy-options policy-statement NEXT-HOP-SELF term 1 then next-hop self
set policy-options policy-statement SEND-STATIC term 1 from protocol static
set policy-options policy-statement SEND-STATIC term 1 from protocol direct
set policy-options policy-statement SEND-STATIC term 1 from community TEST
set policy-options policy-statement SEND-STATIC term 1 then next-hop self
set policy-options policy-statement SEND-STATIC term 1 then accept
set protocols bgp group MP-iBGP type internal
set protocols bgp group MP-iBGP neighbor 169.254.0.2 description DUR-DGW02
set protocols bgp group MP-iBGP neighbor 169.254.0.2 local-address 169.254.0.1
set protocols bgp group MP-iBGP neighbor 169.254.0.2 family inet-vpn unicast
set protocols bgp group MP-iBGP neighbor 169.254.0.2 family inet6-vpn unicast
set protocols bgp group MP-iBGP neighbor 169.254.0.2 family route-target
set protocols bgp group MP-iBGP neighbor 169.254.0.2 export NEXT-HOP-SELF
set protocols bgp group MP-iBGP neighbor 169.254.0.2 export SEND-STATIC
set protocols bgp group MP-iBGP neighbor 169.254.0.2 peer-as 64669
set protocols bgp group MP-iBGP neighbor 169.254.0.2 local-as 64669
set protocols bgp group MP-iBGP neighbor 169.254.0.2 bfd-liveness-detection minimum-interval 100
set protocols bgp group MP-iBGP neighbor 169.254.0.2 bfd-liveness-detection multiplier 3
set protocols bgp group MP-iBGP vpn-apply-export
set protocols bgp precision-timers
set protocols bgp graceful-restart
Thanks a lot,
Iván Garrido
------------------------------
IVAN GARRIDO
------------------------------