cisco — Enabling Layer 3 External Connectivity with MPLS Layer 3 VPN

Leaf-01# ! ip prefix-list EVPN-TO-GL seq 5 permit 10.1.101.0/24 le 32 ip prefix-list EVPN-TO-GL seq 10 permit 10.1.102.0/24 le 32 ! ip prefix-list GL-TO-EVPN seq 5 permit 192.168.255.0/24 le 32 ! route-map RM-GL-TO-EVPN permit 10 match ip address prefix-list GL-TO-EVPN ! route-map RM-EVPN-TO-GL permit 10 match ip address prefix-list EVPN-TO-GL ! vrf definition green description green VRF definition rd 1:1 ! address-family ipv4 import ipv4 unicast map RM-GL-TO-EVPN allow-evpn export ipv4 unicast map RM-EVPN-TO-GL allow-evpn route-target export 1:1 route-target import 1:1 route-target export 1:1 stitching route-target import 1:1 stitching exit-address-family ! !

interface Loopback100 ip address 192.168.255.1 255.255.255.255 ip ospf 1 area 0 ! 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 ! Enabling Layer 3 External Connectivity with MPLS Layer 3 VPN The following figure shows a sample topology that illustrates Layer 3 external connectivity with an MPLS Layer 3 VPN network: Configuring EVPN VXLAN External Connectivity Enabling Layer 3 External Connectivity with MPLS Layer 3 VPN Configuring EVPN VXLAN External Connectivity 10