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 Leaf-01#show running-config hostname Leaf-01 ! ip routing ! ip igmp snooping querier version 3 ip igmp snooping querier address 172.16.254.3 ip igmp snooping querier ! ipv6 unicast-routing ipv6 mld snooping querier version 2 ipv6 mld snooping querier ipv6 mld snooping ! l2vpn evpn replication-type ingress router-id Loopback1 multicast advertise ! l2vpn evpn instance 101 vlan-based encapsulation vxlan ! l2vpn evpn instance 102 vlan-based encapsulation vxlan !
vlan configuration 101 member evpn-instance 101 vni 10101 vlan configuration 102 member evpn-instance 102 vni 10102 ! interface Loopback0 ip address 172.16.255.3 255.255.255.255 ip ospf 1 area 0 ! interface Loopback1 ip address 172.16.254.3 255.255.255.255 ip ospf 1 area 0 ! interface GigabitEthernet1/0/1 no switchport ip address 172.16.13.3 255.255.255.0 ip ospf network point-to-point ip ospf 1 area 0 ! interface GigabitEthernet1/0/2 no switchport ip address 172.16.23.3 255.255.255.0 ip ospf network point-to-point ip ospf 1 area 0 ! 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 mld snooping ipv6 multicast-routing vrf green ! l2vpn evpn replication-type ingress router-id Loopback1 default-gateway advertise multicast advertise ! l2vpn evpn instance 101 vlan-based encapsulation vxlan ! l2vpn evpn instance 102 vlan-based encapsulation vxlan !
vlan configuration 101 member evpn-instance 101 vni 10101 vlan configuration 102 member evpn-instance 102 vni 10102 ! interface Loopback0 ip address 172.16.255.4 255.255.255.255 ip ospf 1 area 0 ! interface Loopback1 ip address 172.16.254.4 255.255.255.255 ip ospf 1 area 0 ! Leaf-03#show running-config hostname Leaf-03 ! ip routing ! ip igmp snooping querier version 3 ip igmp snooping querier address 172.16.254.6 ip igmp snooping querier ! ipv6 unicast-routing ipv6 mld snooping querier version 2 ipv6 mld snooping querier ipv6 mld snooping ! l2vpn evpn replication-type ingress router-id Loopback1 multicast advertise ! l2vpn evpn instance 101 vlan-based encapsulation vxlan !
l2vpn evpn instance 102 vlan-based encapsulation vxlan ! vlan configuration 101 member evpn-instance 101 vni 10101 vlan configuration 102 member evpn-instance 102 vni 10102 ! interface Loopback0 ip address 172.16.255.6 255.255.255.255 ip ospf 1 area 0 ! interface Loopback1 ip address 172.16.254.6 255.255.255.255 ip ospf 1 area 0 ! interface TenGigabitEthernet1/0/1 no switchport ip address 172.16.16.6 255.255.255.0 ip ospf network point-to-point ip ospf 1 area 0 ! interface TenGigabitEthernet1/0/2 no switchport ip address 172.16.26.6 255.255.255.0 ip ospf network point-to-point Configuring Optimized Layer 2 Overlay Multicast 28