cisco — Example: Enabling Layer 3 External Connectivity with MPLS Layer 3 VPN through eBGP

Configuring EVPN VXLAN External Connectivity Example: Enabling Layer 3 External Connectivity with MPLS Layer 3 VPN through eBGP VTEP 1 PE Device 3 ! interface Vlan101 vrf forwarding green ip address 10.1.101.1 255.255.255.0 ! interface Vlan102 vrf forwarding green ip address 10.1.102.1 255.255.255.0 ! interface Vlan901 vrf forwarding green ip unnumbered Loopback1 ipv6 enable no autostate ! interface nve1 no ip address source-interface Loopback1 host-reachability protocol bgp member vni 10101 mcast-group 225.0.0.101 member vni 50901 vrf green member vni 10102 ingress-replication ! router ospf 1 ! router bgp 65001 !

template peer-session RR-PS remote-as 65001 update-source Loopback0 exit-peer-session ! bgp log-neighbor-changes no bgp default ipv4-unicast neighbor 172.16.255.1 inherit peer-session RR-PS ! address-family ipv4 exit-address-family ! address-family l2vpn evpn neighbor 172.16.255.1 activate neighbor 172.16.255.1 send-community both exit-address-family ! address-family ipv4 vrf green advertise l2vpn evpn redistribute connected redistribute static exit-address-family ! address-family ipv6 vrf green advertise l2vpn evpn redistribute connected redistribute static exit-address-family ! ip pim rp-address 172.16.255.255 !

end VTEP 1# _ address-family vpnv4 neighbor 172.16.255.101 activate neighbor 172.16.255.101 send-community extended neighbor 172.16.255.101 route-reflector-client exit-address-family ! address-family vpnv6 neighbor 172.16.255.101 activate neighbor 172.16.255.101 send-community extended neighbor 172.16.255.101 route-reflector-client exit-address-family ! address-family ipv4 vrf green redistribute connected exit-address-family ! address-family ipv6 vrf green redistribute connected exit-address-family ! end ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! PE device 3# _ _ Configuring EVPN VXLAN External Connectivity 36