!
source-interface Loopback40
anycast source-interface Loopback41
ingress-replication protocol bgp
l2vpn
bridge group bg1
bridge-domain bd2
evi 40
member vni 40002
evpn
interface nve 40
ethernet-segment
identifier type 0 28.28.28.00.00.40.00.00.13
bgp route-target 200:40000 stitching
evpn evi 40
bgp route-target 200:40000 stitching
router bgp 100
bgp router-id 192.168.0.4
address-family l2vpn evpn
!
neighbor 15.15.15.5 -------> TOR ebgp neighbor
remote-as 200
ebgp-multihop 255
address-family l2vpn evpn
import stitching-rt re-originate
route-policy pass-all in
encapsulation-type vxlan
route-policy pass-all out
next-hop-self
advertise l2vpn evpn re-originated stitching-rt
neighbor 192.168.0.2 ---------> DCI BGP neighor
remote-as 100
update-source Loopback0
address-family l2vpn evpn
import re-originate stitching-rt
advertise l2vpn evpn re-originated
/* ToR Configuration */
interface nve 40
member vni 40002
host-reachability protocol bgp
source-interface loopback 40
anycast source-interface Loopback41
ingress-replication protocol bgp
evpn
router bgp
rd auto
route-target import auto
route-target import 200:40000
route-target export 200:40000
router bgp 200
bgp router-id 10.5.41.41
address-family l2vpn evpn
maximum-paths 8
maximum-paths ibgp 8
neighbor 192.168.0.4 -----------> DCI neighbour: ebgp
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
564
EVPN Features
Running Configuration