# US 12,113,702 B1 · Multicasting using selective advertisement of EVPN routes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,113,702 B1
- Document ID: US12113702B1
- Status: Granted
- Kind: B1
- Application number: 18/352,857
- Filed: 2023-07-14
- Granted: 2024-10-08
- Earliest claimed: 2023-07-14
- Assignees: Arista Networks, Inc.
- Applicants: Arista Networks, Inc.
- Inventors: Swati Patel; Bharathram Pattabhiraman; Sandeep Betha
- Web page: https://patentgrep.com/patent/US12113702B1

## CPC

- H04L 45/24: Multipath
- H04L 45/44: Distributed routing
- H04L 45/66: {Layer 2 routing, e.g. in Ethernet based MAN's}
- H04L 45/74: Address processing for routing
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Advertising a Selective Provider Multicast Service Interface Auto-Discovery (S-PMSI-AD) route to advertise encapsulation of a multicast group is triggered by receiving multicast traffic for that group from a host device behind the provider edge (PE) device. Multicast traffic received from behind remote PEs will not trigger a S-PMSI-AD route. Address Resolution Protocol (ARP) is used to determine whether a host is behind a PE or not behind a PE.

## Claims

### Claim 1

A method in a network device for advertising Ethernet Virtual Private Network (EVPN) routes in a network, the method comprising:
receiving a multicast packet for a multicast group from a sender;
determining whether the sender of the multicast packet is directly connected to the network device or is not directly connected to the network device;
in response to a determination that the sender of the multicast packet is directly connected to the network device:
advertising an EVPN route that informs a plurality of edge devices on the network about the multicast group and underlay tunnel information; and
multicasting the received multicast packet to the plurality of edge devices; and
in response to a determination that the sender of the multicast packet is not directly connected to the network device, multicasting the received multicast packet to receivers that are directly connected to the network device without advertising the EVPN route to the plurality of edge devices on the network.

### Claim 2 (depends on 1)

The method of claim 1, wherein advertising the EVPN route and sending the received multicast packet to the plurality of edge devices are performed concurrently.

### Claim 3 (depends on 1)

The method of claim 1, wherein the EVPN route is a Selective Provider Multicast Service Interface Auto-discovery (S-PMSI-AD) route.

### Claim 4 (depends on 1)

The method of claim 1, wherein multicasting the received multicast packet to the plurality of edge devices includes encapsulating the multicast packet in an underlay packet and multicasting the underlay packet to the plurality of edge devices.

### Claim 5 (depends on 1)

The method of claim 1, further comprising, in addition to multicasting the received multicast packet to the plurality of edge devices, multicasting the received multicast packet to receivers that are directly connected to the network device.

### Claim 6 (depends on 1)

The method of claim 1, multicasting the received multicast packet to receivers that are directly connected to the network device is performed without encapsulating the multicast packet.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining whether the sender of the multicast packet is directly connected to the network device or is not directly connected to the network device comprises transmitting an address resolution protocol (ARP) request for an internet protocol (IP) address of the sender of the multicast packet (“sender”) to create a mapping between the IP address of the sender and a media access control (MAC) address of the sender, and a mapping of the MAC address of the sender to an interface,
wherein the sender is deemed not directly connected to the network device if the interface does not refer to a physical port of the network device, and
wherein the sender is deemed directly connected to the network device if the interface does refer to a physical port of the network device.

### Claim 8

A method in a network device for advertising Ethernet Virtual Private Network (EVPN) routes in a network, the method comprising:
receiving a multicast packet for a multicast group from a sender;
determining whether the sender of the multicast packet is directly connected to the network device or is not directly connected to the network device; and
in response to a determination that the sender of the multicast packet is not directly connected to the network device, multicasting the received multicast packet to receivers that are directly connected to the network device without informing the receivers on the network about the multicast group and underlay tunnel information, wherein the underlay tunnel information informs the receivers how the network device will encapsulate multicast packets.

### Claim 9 (depends on 8)

The method of claim 8, further comprising in response to a determination that the sender of the multicast packet is directly connected to the network device, informing a plurality of edge devices on the network about the multicast group and underlay tunnel information.

### Claim 10 (depends on 9)

The method of claim 9, wherein informing the plurality of edge devices on the network about the multicast group and underlay tunnel information includes advertising a Selective Provider Multicast Service Interface Auto-discovery (S-PMSI-AD) route to the plurality of edge devices.

### Claim 11 (depends on 9)

The method of claim 9, further comprising in response to the sender of the multicast packet being directly connected to the network device, multicasting the received multicast packet.

### Claim 12 (depends on 11)

The method of claim 11, wherein multicasting the received multicast packet in response to the sender of the multicast packet being directly connected to the network device includes multicasting the received multicast packet to the plurality of edge devices and multicasting the received multicast packet to receivers that are directly connected to the network device.

### Claim 13 (depends on 12)

The method of claim 12, wherein multicasting the received multicast packet to the plurality of edge devices includes encapsulating the multicast packet in an underlay packet and transmitting the underlay packet to the plurality of edge devices.

### Claim 14 (depends on 8)

The method of claim 8, multicasting the received multicast packet to receivers that are directly connected to the network device is performed without encapsulating the multicast packet.

### Claim 15 (depends on 8)

The method of claim 8, wherein determining whether the sender of the multicast packet is directly connected to the network device or is not directly connected to the network device comprises transmitting an address resolution protocol (ARP) request for an internet protocol (IP) address of the sender of the multicast packet (“sender”) to create a mapping between the IP address of the sender and a media access control (MAC) address of the sender, and a mapping of the MAC address of the sender to an interface,
wherein the sender is deemed not directly connected to the network device if the interface is not a reference to a physical port of the network device,
wherein the sender is deemed directly connected to the network device if the interface is a reference to a physical port of the network device.

### Claim 16

A network device comprising:
one or more computer processors; and
a computer-readable storage device comprising instructions for controlling the one or more computer processors to:
receive information containing a multicast group;
determine whether the information is a multicast packet or not a multicast packet;
in response to a determination that the information is a multicast packet, determine whether a sender of the multicast packet is behind the network device; and
in response to a determination that the sender is behind the network device, inform a plurality of edge devices about the multicast group.

### Claim 17 (depends on 16)

A network device of claim 16, wherein informing the plurality of edge devices about the multicast group includes advertising a S-PMSI-AD route to the edge devices.

### Claim 18 (depends on 16)

A network device of claim 16, wherein the plurality of edge devices are informed about the multicast group only in response to the determination that the information is a multicast packet and the determination that the sender of the multicast packet is behind the network device.

### Claim 19 (depends on 16)

A network device of claim 16, wherein the computer-readable storage device further comprises instructions for controlling the one or more computer processors to multicast the multicast packet to the plurality of edge devices in further response to the determination that the sender is behind the network device.

### Claim 20 (depends on 16)

A network device of claim 16, wherein determining whether the sender of the multicast packet is behind the network device comprises transmitting an address resolution protocol (ARP) request for an internet protocol (IP) address of the sender of the multicast packet (“sender”) to create a mapping between the IP address of the sender and a media access control (MAC) address of the sender, and a mapping of the MAC address of the sender to an interface,
wherein the sender is deemed to be not behind the network device if the interface does not reference a physical port of the network device, and
wherein the sender is deemed to be behind the network device if the interface references a physical port of the network device.
