cisco IOS XE — Example: Configuring BGP EVPN VXLAN with IPv6 Underlay

Configuring BGP EVPN VXLANv6 Example: Configuring BGP EVPN VXLAN with IPv6 Underlay VTEP 1 VTEP 2 VTEP 3 Leaf-01# show running-config hostname Leaf-01 ! vrf definition green rd 1:1 ! address-family ipv4 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 ! address-family ipv6 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 ! ip routing ! ipv6 unicast-routing ipv6 multicast-routing ! l2vpn evpn router-id Loopback1 replication-type static default-gateway advertise ! l2vpn evpn instance 101 vlan-based encapsulation vxlan !

l2vpn evpn instance 102 vlan-based encapsulation vxlan replication-type ingress ! system mtu 9198 ! vlan configuration 101 member evpn-instance 101 vni 10101 vlan configuration 102 member evpn-instance 102 vni 10102 vlan configuration 901 member vni 50901 ! interface Loopback0 ipv6 address fc00:172:16:255::3/128 ipv6 ospf 1 area 0 ! interface Loopback1 ipv6 address fc00:172:16:254::3/128 Leaf-02# show running-config hostname Leaf-02 ! vrf definition green rd 1:1 ! address-family ipv4 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 !

address-family ipv6 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 ! ip routing ! ipv6 unicast-routing ipv6 multicast-routing ! l2vpn evpn router-id Loopback1 replication-type static default-gateway advertise ! l2vpn evpn instance 101 vlan-based encapsulation vxlan ! l2vpn evpn instance 102 vlan-based encapsulation vxlan replication-type ingress ! system mtu 9198 ! vlan configuration 101 member evpn-instance 101 vni 10101 vlan configuration 102 member evpn-instance 102 vni 10102 vlan configuration 901 member vni 50901 ! interface Loopback0 ipv6 address fc00:172:16:255::4/128 ipv6 ospf 1 area 0 !

interface Loopback1 ipv6 address fc00:172:16:254::4/128 Leaf-03# show running-config hostname Leaf-03 ! vrf definition green rd 1:1 ! address-family ipv4 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 ! address-family ipv6 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 ! ip routing ip multicast-routing ! ipv6 unicast-routing ipv6 multicast-routing ! l2vpn evpn router-id Loopback1 replication-type static default-gateway advertise ! l2vpn evpn instance 101 vlan-based encapsulation vxlan !

l2vpn evpn instance 102 vlan-based encapsulation vxlan replication-type ingress ! system mtu 9198 ! vlan configuration 101 member evpn-instance 101 vni 10101 vlan configuration 102 member evpn-instance 102 vni 10102 vlan configuration 901 member vni 50901 ! interface Loopback0 ipv6 address fc00:172:16:255::5/128 ipv6 ospf 1 area 0 ! interface Loopback1 ipv6 address Configuring BGP EVPN VXLANv6 13