Hi, An example topology using mpls L3vpns can be found at: https://github.com/FRRouting/topotests/tree/master/bgp_l3vpn_to_bgp_vrf This example uses the following topology (in customize.py) customize.py: Simple FRR/Quagga MPLS L3VPN test topology | +----+----+ | ce1 | | 99.0.0.1| CE Router +----+----+ 192.168.1. | .2 ce1-eth0 | .1 r1-eth4 +---------+ | r1 | | 1.1.1.1 | PE Router +----+----+ | .1 r1-eth0 | ~~~~~~~~~~~~~ ~~ sw0 ~~ ~~ 10.0.1.0/24 ~~ ~~~~~~~~~~~~~ |10.0.1.0/24 | | .2 r2-eth0 +----+----+ | r2 | | 2.2.2.2 | P router +--+---+--+ r2-eth2 .2 | | .2 r2-eth1 ______/ \______ / \ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~ ~~ sw2 ~~ ~~ sw1 ~~ ~~ 10.0.3.0/24 ~~ ~~ 10.0.2.0/24 ~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | / | \ _________/ | \ / \ r3-eth1 .3 | | .3 r3-eth0 | .4 r4-eth0 +----+--+---+ +----+----+ | r3 | | r4 | r4-eth5 | 3.3.3.3 | | 4.4.4.4 |-------+ PE Routers +-----------+ +---------+ | 192.168.1.1 |r3.eth4 192.168.1.1 | r4-eth4 |192.168.2.1 .2 | ceX-eth0 .2 | | .2 +-----+-----+ +----+-----+ +----+-----+ | ce2 | | ce3 | | ce4 | | 99.0.0.2 | | 99.0.0.3 | | 99.0.0.4 | CE Routers +-----+-----+ +----+-----+ +----+-----+ | | | r1, r3 and r4 all have VRFs configured, e.g., https://github.com/FRRouting/topotests/blob/master/bgp_l3vpn_to_bgp_vrf/r1/b... router bgp 5227 vrf r1-cust1 bgp router-id 192.168.1.1 neighbor 192.168.1.2 remote-as 5227 neighbor 192.168.1.2 update-source 192.168.1.1 address-family ipv4 unicast neighbor 192.168.1.2 activate neighbor 192.168.1.2 next-hop-self label vpn export 101 rd vpn export 10:1 rt vpn both 52:100 import vpn export vpn exit-address-family ! The configuration is also documented under https://github.com/FRRouting/frr/blob/master/doc/user/bgp.rst If you find this documentation inadequate, please open an issue and provide feedback. Cheers, Lou On 5/2/2018 9:45 AM, iwanyu at tencent.com (iwanyu(余清炎)) wrote:
Hi,
As said in the frrouting document,Configuration for vrf exported routes must, at a minimum, specify two parameters:RD and RTLIST. Configuration of route leaking between a unicast VRF RIB and the VPN safi RIB of the default VRF is accomplished via commands in the context of a VRF address-family.
So, where is the command “rd vpn export AS:NN|IP:nn”, I can’t find it in frrouting, please show me how can I configuration this command, thanks.