User Tools

Site Tools


network_stuff:arista:mpls

This is an old revision of the document!


Review limitations here specially regarding next-hop-self in RR topologies.

!! PE CONFIGURATION

ip routing vrf BLUE
ip routing vrf RED
vrf instance RED
vrf instance BLUE
interface Ethernet4
   description pe1 -> c12
   mac-address 52:dc:ca:fe:03:04
   no switchport
   vrf BLUE
   ip address 10.1.12.1/24
!
router bgp 65000
   router-id 10.0.0.3
   bgp advertise-inactive
   neighbor 10.0.0.1 remote-as 65000
   neighbor 10.0.0.1 next-hop-self
   neighbor 10.0.0.1 update-source Loopback0
   neighbor 10.0.0.1 description rr1
   neighbor 10.0.0.1 send-community standard extended
   !
   address-family ipv4
      neighbor 10.0.0.1 activate
   !
   address-family vpn-ipv4
      neighbor 10.0.0.1 activate
      neighbor 10.0.0.1 encapsulation mpls next-hop-self source-interface Loopback0
   !
   vrf BLUE
      rd 1.1.1.1:200
      route-target import vpn-ipv4 200:0
      route-target export vpn-ipv4 200:0
      redistribute connected
      redistribute static
      redistribute ospf
   !
   vrf RED
      rd 1.1.1.1:100
      route-target import vpn-ipv4 100:0
      route-target export vpn-ipv4 100:0
      redistribute connected
      redistribute static
      redistribute ospf

!! ROUTE REFLECTOR:

router bgp 65000
   router-id 10.0.0.1
   bgp cluster-id 10.0.0.1
   bgp route-reflector preserve-attributes
   bgp advertise-inactive
   neighbor 10.0.0.2 remote-as 65000
   neighbor 10.0.0.2 next-hop-self
   neighbor 10.0.0.2 update-source Loopback0
   neighbor 10.0.0.2 description rr2
   neighbor 10.0.0.2 send-community standard extended
   !
   address-family ipv4
      neighbor 10.0.0.2 activate
   !
   address-family vpn-ipv4
      neighbor 10.0.0.2 activate
      neighbor 10.0.0.2 encapsulation mpls next-hop-self source-interface Loopback0
network_stuff/arista/mpls.1647887942.txt.gz · Last modified: (external edit)