2/05/2019

Arista MPLS VPN Step by Step (1c) MPLS L3VPN PE/CE eBGP

Following the previous blog, in this post I will discuss the PE/CE routing option - eBGP. Here is the simplified topology


PE Configuration

router bgp 65001
   router-id 88.255.22.22
   neighbor vpnv4-rr peer-group
   neighbor vpnv4-rr remote-as 65001
   neighbor vpnv4-rr update-source Loopback88
   neighbor vpnv4-rr send-community standard extended
   neighbor vpnv4-rr maximum-routes 12000 
   neighbor 88.255.1.1 peer-group vpnv4-rr
   neighbor 88.255.2.2 peer-group vpnv4-rr
   address-family vpn-ipv4
      neighbor vpnv4-rr activate
      neighbor default encapsulation mpls next-hop-self source-interface Loopback88
   !
   vrf pe2-ebgp
      rd 200:20
      route-target import vpn-ipv4 100:20
      route-target import vpn-ipv4 200:20
      route-target export vpn-ipv4 200:20
      maximum-paths 2 ecmp 2
      neighbor 200.200.20.2 remote-as 65500
      neighbor 200.200.20.2 maximum-routes 12000 
      redistribute connected

CE configuration is as below. In my lab, I use vrf on CE router to segregate and simulate different CEs. 

router bgp 65500
   router-id 100.255.100.100
   !
   vrf ce1-ebgp
      rd 100:20
      neighbor 100.100.20.11 remote-as 65001
      ! need alllowas-in to permit remote prefix with same AS#
      neighbor 100.100.20.11 allowas-in 3
      neighbor 100.100.20.11 maximum-routes 12000 
      redistribute connected

No comments:

Post a Comment