Configuring Optimized Layer 2 Overlay Multicast Example 5: Configuring Optimized Layer 2 Overlay Multicast Interworking with External Network for IPv4 VTEP1 CGW VTEP3 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 ! 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 ! interface GigabitEthernet1/0/5 switchport access vlan 102 switchport mode access ! interface GigabitEthernet1/0/10 switchport access vlan 101 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 ! ip routing ! ip 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 ! system mtu 9198 ! 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 ! interface GigabitEthernet0/0 vrf forwarding Mgmt-vrf ip address 10.62.149.182 255.255.255.0 negotiation auto ! interface GigabitEthernet1/0/1 no switchport ip address 172.16.14.4 255.255.255.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 ! 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 ip ospf 1 area 0 ! interface TenGigabitEthernet1/0/10 switchport access vlan 101 switchport mode access ! Configuring Optimized Layer 2 Overlay Multicast 112