cisco — Example 6: Configuring Optimized Layer 2 Overlay Multicast Interworking with External Network for IPv4 and IPv6

Configuring Optimized Layer 2 Overlay Multicast Example 6: Configuring Optimized Layer 2 Overlay Multicast Interworking with External Network for IPv4 and IPv6 VTEP1 CGW VTEP3 interface nve1 no ip address source-interface Loopback1 host-reachability protocol bgp member vni 10101 ingress-replication member vni 10102 ingress-replication ! router ospfv3 2 ! address-family ipv6 unicast vrf green redistribute connected redistribute bgp 65001 exit-address-family ! router ospf 2 vrf green redistribute connected redistribute bgp 65001 ! router ospf 1 router-id 172.16.255.4 !

router bgp 65001 bgp log-neighbor-changes no bgp default ipv4-unicast neighbor 172.16.255.1 remote-as 65001 neighbor 172.16.255.1 update-source Loopback0 neighbor 172.16.255.2 remote-as 65001 neighbor 172.16.255.2 update-source Loopback0 ! address-family ipv4 exit-address-family ! address-family l2vpn evpn neighbor 172.16.255.1 activate neighbor 172.16.255.1 send-community both neighbor 172.16.255.2 activate neighbor 172.16.255.2 send-community both exit-address-family ! address-family ipv4 vrf green advertise l2vpn evpn redistribute static redistribute connected redistribute ospf 2 match internal external 1 external 2 exit-address-family ! ip pim vrf green rp-address 192.168.255.255 !

ipv6 pim vrf green rp-address 2001:192:168:255::255 Configuring Optimized Layer 2 Overlay Multicast 142