redistribute static route into VRF

10.14.10   |  
‎10-14-2010 06:15 PM


   can someone help me with a JUNOS cfg similar to this Cisco cfg


 I have a L3VPN setup:  PE1 ----- PE2


on PE1 I have the below cfg.  What is a similar cfg for JUNOS, how can I redistribute static routes under VRF to send

it across to the other PE. Thanks


 ip vrf red

rd 3:3

route-target export 3:4

route-target import 4:5


router bgp 1

neigh PE2 remote 1

addr vpnv4

neigh PE2 activate

addr ipv4 vrf red

redistribute static


ip route vrf red null0



Re: redistribute static route into VRF

10.15.10   |  
‎10-15-2010 04:37 AM



Configuring a Simple Full-Mesh VPN Topology chapter of JUNOS Software VPNs Configuration Guide should help you. To redistribute static routes you need to configure VPN export policy (vrf-export).


Follow carefully the example. Of course, one can use LDP instead of RSVP.



Re: redistribute static route into VRF

05.23.17   |  
‎05-23-2017 01:33 AM

how to redistribute DIRECT route into VRF?


Re: redistribute static route into VRF

[ Edited ]
05.23.17   |  
‎05-23-2017 01:46 PM




 BTW- did you read the doc that jtb pointed you to? It has example, you just need to modify it to suite your environment, so don't add a community, don't use protocol bgp and ospf in the policy, instead use protocol direct, and replace the RI with your own RI.

example shown should help. Instead of using all the protocols such bgp, use from protocol direct

[KUDOS PLEASE! If you think I earned it!
If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]