Native Multicast in Leaf Spine Switches Multicast Origination







- Slides: 7
Native Multicast in Leaf & Spine Switches
Multicast Origination @ Ingress Leaf Incoming packet: dst. Mac: 01: 00: 5 e: 40: 10: 01 dst. IP: 224. 192. 16. 1 or 16. 2 src. Ip: any src. Mac: any Vlan: prority tagged VLAN table: In 37, Vlan/mask: 0 x 0000/0 x 1000 set. Vlan 300 Goto TMAC table: In 37 dst. Mac/Mask: 01: 00: 5 e: 00: 00/ ff: ff: 10: 00 Goto mcast routing table (id: 40) Multicast routing table cannot hash – so we loadbalance to the spines via multicast routing rules Mcast routing table: 0 x 800, vlan 300 dst. Ip: 224. 192. 16. 1 Write-action: group: 0 x 612 c 0001 Goto: ACL 0 x 800, vlan 300 dst. Ip: 224. 192. 16. 2 Write-action: group: 0 x 612 c 0002 Goto: ACL L 3 Multicast Gr Vlan = 300 Id: 0 x 612 c 0001 L 2 Interface Vlan = 300, no pop p 7 To Spine 1 Multicast VLAN tagged packets to spines L 3 Multicast Gr Vlan = 300 Id: 0 x 612 c 0002 L 2 Interface Vlan = 300, no pop p 9 To Spine 2
Multicast Transit @ Spine Possible replication at Spine to multiples dst Leaf if OLTs are spread over multiple leaves and subsciptions require replication Incoming packet: dst. Mac: 01: 00: 5 e: 40: 10: 01 dst. IP: 224. 192. 16. 1 src. Ip: any src. Mac: any Vlan: 300 VLAN table: TMAC table: In 37, vlan 300 In 37 Goto TMAC dst. Mac/Mask: 01: 00: 5 e: 00: 00/ ff: ff: 10: 00 Goto mcast routing table (id: 40) L 2 Interface Vlan = 300, no pop Mcast routing table: 0 x 800, vlan 300 dst. Ip: 224. 192. 16. 1 Write-action: group: 0 x 612 c 0001 Goto: ACL p 7 To dst leaf 1 Multicast VLAN tagged packets to dst leafs L 3 Multicast Gr Vlan = 300 Id: 0 x 612 c 0001 L 2 Interface Vlan = 300, no pop p 9 To dst leaf 2
Multicast Delivery @ Egress Leaf Possible replication at dst Leaf to multiples OLTs depending on subsciption to mcast group Incoming packet: dst. Mac: 01: 00: 5 e: 40: 10: 01 dst. IP: 224. 192. 16. 1 src. Ip: any src. Mac: any Vlan: 300 VLAN table: TMAC table: In 37, vlan 300 In 37 Goto TMAC dst. Mac/Mask: 01: 00: 5 e: 00: 00/ ff: ff: 10: 00 Goto mcast routing table (id: 40) L 2 Interface Vlan = 300, no pop Mcast routing table: 0 x 800, vlan 300 dst. Ip: 224. 192. 16. 1 Write-action: group: 0 x 612 c 0001 Goto: ACL p 7 To OLT Multicast VLAN tagged packets to OLT L 3 Multicast Gr Vlan = 300 Id: 0 x 612 c 0001 L 2 Interface Vlan = 300, no pop p 9 To OLT
Multicast over MPLS
Multicast Origination @ Ingress Leaf Multicast routing table cannot hash – so we loadbalance to the spines via multicast routing rules & we push label for dst router (like in unicast case) Incoming packet: dst. Mac: 01: 00: 5 e: 40: 10: 01 dst. IP: 224. 192. 16. 1 src. Ip: any src. Mac: any Vlan: prority tagged VLAN table: In 37, Vlan/mask: 0 x 0000/0 x 1000 setvlan 300 Goto TMAC table: In 37 dst. Mac/Mask: 01: 00: 5 e: 00: 00/ ff: ff: 10: 00 Goto mcast routing table (id: 40) L 3 VPN, 0 x 92… push-label 1060 Mcast routing table: 0 x 800, vlan 300 dst. Ip: 224. 192. 16. 1 Write-action: group: 0 x 612 c 0001 Goto: ACL Replication at src-leaf to different dst-leaf L 3 Unicast Group set. Dst. Mac- nexthop set. Src. Mac - mine set. Vlan – outgoing portvlan 4093 L 2 Interface Vlan = 4093, pop p 7 untagged packets to spine (like in unicast case) L 3 Multicast Gr Vlan = 300 Id: 0 x 612 c 0001 L 2 Interface Vlan = 4093, pop L 3 VPN, 0 x 92… push-label 1065 To Spine 1 L 3 Unicast Group set. Dst. Mac- nexthop set. Src. Mac - mine set. Vlan – outgoing portvlan 4093 p 9 To Spine 2 dst. Mac is unicast (so spine can match in mpls table)
Multicast Transit @ Spine Cannot replicate at spine (needs to be done at source) Rewrite dst. MAC from unicast to mcast Set outgoing vlan Incoming packet: dst. Mac: my router unicast mac dst. IP: 224. 192. 16. 1 or 16. 2 src. Ip: any src. Mac: any MPLS routing table Vlan: untagged (24): 0 x 8847, VLAN table: Labelid 1060 In 37, Apply-action: pop Vlan/mask: Write-action: untagged group: L 3 -unicast setvlan 4093 Goto: ACL Goto TMAC table: In 37, 0 x 8847 dst. Mac/Mask: my router unicast mac Goto mpls table(23) L 3 Unicast Group set. Dst. Mac- mcast set. Src. Mac - mine set. Vlan –vlan 300 L 2 Interface Vlan = 300, no-pop p 7 Hack: Requires the ability to set mcast-mac address in a L 3 Unicast Group. If this is possible, then the egress case is the same as in native mcast case (slide# 4) To Dst Leaf 1 Tagged packets to dst Leaf