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

Configuring BGP EVPN VXLANv6 Example: Configuring BGP EVPN VXLAN with Dual Stack Underlay Spine 1 Spine 2 ! router ospf 1 router-id 172.16.255.1 ! router bgp 65001 bgp router-id 172.16.255.1 bgp log-neighbor-changes neighbor 172.16.255.3 remote-as 65001 neighbor 172.16.255.3 update-source Loopback0 neighbor 172.16.255.4 remote-as 65001 neighbor 172.16.255.4 update-source Loopback0 neighbor FC00:172:16:255::2 remote-as 65001 neighbor FC00:172:16:255::2 update-source Loopback0 neighbor FC00:172:16:255::4 remote-as 65001 neighbor FC00:172:16:255::4 update-source Loopback0 neighbor FC00:172:16:255::5 remote-as 65001 neighbor FC00:172:16:255::5 update-source Loopback0 !

address-family l2vpn evpn neighbor 172.16.255.3 activate neighbor 172.16.255.3 send-community both neighbor 172.16.255.3 route-reflector-client neighbor 172.16.255.4 activate neighbor 172.16.255.4 send-community both neighbor 172.16.255.4 route-reflector-client neighbor FC00:172:16:255::2 activate neighbor FC00:172:16:255::2 send-community both neighbor FC00:172:16:255::2 route-reflector-client neighbor FC00:172:16:255::4 activate neighbor FC00:172:16:255::4 send-community both neighbor FC00:172:16:255::4 route-reflector-client neighbor FC00:172:16:255::5 activate neighbor FC00:172:16:255::5 send-community both neighbor FC00:172:16:255::5 route-reflector-client exit-address-family !

ip pim rp-address 172.16.255.255 ip msdp peer 172.16.254.2 connect-source Loopback1 remote-as 65001 ip msdp cache-sa-state ! ipv6 router ospf 1 router-id 172.16.255.1 ! ipv6 pim rp-address FC00:172:16:255::255 ipv6 pim anycast-rp FC00:172:16:255::255 FC00:172:16:254::2 ! end ! router ospf 1 router-id 172.16.255.2 !

router bgp 65001 bgp router-id 172.16.255.2 bgp log-neighbor-changes neighbor 172.16.255.3 remote-as 65001 neighbor 172.16.255.3 update-source Loopback0 neighbor 172.16.255.4 remote-as 65001 neighbor 172.16.255.4 update-source Loopback0 neighbor FC00:172:16:255::1 remote-as 65001 neighbor FC00:172:16:255::1 update-source Loopback0 neighbor FC00:172:16:255::4 remote-as 65001 neighbor FC00:172:16:255::4 update-source Loopback0 neighbor FC00:172:16:255::5 remote-as 65001 neighbor FC00:172:16:255::5 update-source Loopback0 !

address-family l2vpn evpn neighbor 172.16.255.3 activate neighbor 172.16.255.3 send-community both neighbor 172.16.255.3 route-reflector-client neighbor 172.16.255.4 activate neighbor 172.16.255.4 send-community both neighbor 172.16.255.4 route-reflector-client neighbor FC00:172:16:255::1 activate neighbor FC00:172:16:255::1 send-community both neighbor FC00:172:16:255::1 route-reflector-client neighbor FC00:172:16:255::4 activate neighbor FC00:172:16:255::4 send-community both neighbor FC00:172:16:255::4 route-reflector-client neighbor FC00:172:16:255::5 activate neighbor FC00:172:16:255::5 send-community both neighbor FC00:172:16:255::5 route-reflector-client exit-address-family !

ip pim rp-address 172.16.255.255 ip msdp peer 172.16.254.1 connect-source Loopback1 remote-as 65001 ip msdp cache-sa-state ! ipv6 router ospf 1 router-id 172.16.255.2 ! ipv6 pim rp-address FC00:172:16:255::255 ipv6 pim anycast-rp FC00:172:16:255::255 FC00:172:16:254::1 ! end Configuring BGP EVPN VXLANv6 56