cisco — Example 2: Configuring Optimized Layer 2 Overlay Multicast with Ingress Replication for IPv4 and IPv6

Configuring Optimized Layer 2 Overlay Multicast Example 2: Configuring Optimized Layer 2 Overlay Multicast with Ingress Replication for IPv4 and IPv6 VTEP1 CGW VTEP 3 ! 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 exit-address-family ! address-family ipv6 vrf green redistribute connected redistribute static advertise l2vpn evpn exit-address-family ! ip pim vrf green rp-address 10.1.255.4 ipv6 pim vrf green rp-address 2001:10:1:255::4 ! end Configuring Optimized Layer 2 Overlay Multicast 30