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 Spine Switch 1 Spine Switch 2 External Device Spine-01#show running-config hostname Spine-01 ! ip routing ! interface Loopback0 ip address 172.16.255.1 255.255.255.255 ip ospf 1 area 0 ! interface Loopback1 ip address 172.16.254.1 255.255.255.255 ip ospf 1 area 0 ! interface GigabitEthernet1/0/1 no switchport ip address 172.16.13.1 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.14.1 255.255.255.0 ip ospf network point-to-point ip ospf 1 area 0 !

interface GigabitEthernet1/0/4 no switchport ip address 172.16.16.1 255.255.255.0 ip ospf network point-to-point ip ospf 1 area 0 ! router ospf 1 router-id 172.16.255.1 ! router bgp 65001 bgp router-id 172.16.255.1 bgp log-neighbor-changes no bgp default ipv4-unicast neighbor 172.16.255.2 remote-as 65001 neighbor 172.16.255.2 update-source Loopback0 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 172.16.255.6 remote-as 65001 neighbor 172.16.255.6 update-source Loopback0 ! address-family ipv4 exit-address-family Spine-02#show running-config hostname Spine-02 !

ip routing ! interface Loopback0 ip address 172.16.255.2 255.255.255.255 ip ospf 1 area 0 ! interface Loopback1 ip address 172.16.254.2 255.255.255.255 ip ospf 1 area 0 ! interface GigabitEthernet1/0/1 no switchport ip address 172.16.23.2 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.24.2 255.255.255.0 ip ospf network point-to-point ip ospf 1 area 0 ! interface GigabitEthernet1/0/4 no switchport ip address 172.16.26.2 255.255.255.0 ip ospf network point-to-point ip ospf 1 area 0 ! router ospf 1 router-id 172.16.255.2 !

router bgp 65001 bgp router-id 172.16.255.2 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.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 172.16.255.6 remote-as 65001 neighbor 172.16.255.6 update-source Loopback0 ! address-family ipv4 exit-address-family EXT1#show running-config hostname EXT ! ip multicast-routing distributed ! ipv6 unicast-routing ipv6 multicast-routing ! bridge-domain 103 bridge-domain 104 !

interface Loopback255 ip address 192.168.255.255 255.255.255.255 ip pim sparse-mode ip ospf 2 area 0 ipv6 address 2001:192:168:255::255/128 ipv6 ospf 2 area 0 ! interface GigabitEthernet0/0/0 ip address 192.168.1.2 255.255.255.0 ip pim sparse-mode ip ospf network point-to-point ip ospf 2 area 0 negotiation auto ipv6 address 2001:192:168:1::2/64 ipv6 ospf 2 area 0 ipv6 ospf network point-to-point ! interface GigabitEthernet0/0/3 no ip address negotiation auto service instance 103 ethernet encapsulation dot1q 103 rewrite ingress tag pop 1 symmetric bridge-domain 103 ! service instance 104 ethernet encapsulation dot1q 104 rewrite ingress tag pop 1 symmetric bridge-domain 104 ! !

interface BDI103 ip address 192.168.103.1 255.255.255.0 ip pim sparse-mode ip ospf 2 area 0 ipv6 address 2001:192:168:103::1/64 ipv6 ospf 2 area 0 ! interface BDI104 ip address 192.168.104.1 255.255.255.0 Configuring Optimized Layer 2 Overlay Multicast 145