# US 2023/0069306 A1 · Policy enforcement on multi-destination packets in a distributed tunnel fabric

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

- Number: US 2023/0069306 A1
- Document ID: US20230069306A1
- Status: Published application
- Kind: A1
- Application number: 17/411,875
- Filed: 2021-08-25
- Published: 2023-03-02
- Earliest claimed: 2021-08-25
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Rajib Majila; Venkatavaradhan Devarajan; Vinayak Joshi; Ram lakhan Patel
- Web page: https://patentgrep.com/patent/US20230069306A1

## CPC

- H04L 45/16: Multipoint routing
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 45/30: Routing of multiclass traffic
- H04L 45/42: Centralised routing
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system for policy management in a switch is provided. During operation, the system can generate, from a first policy defined for the switch, a second policy. The first policy can indicate whether a type of traffic is allowed from a source role to a destination role via an overlay tunnel. The second policy can indicate a plurality of destination roles that are allowed to receive multi-destination packets of the type of traffic from the source role via the overlay tunnel. Upon identifying a host associated with a role at a port of the switch, the system can determine whether the role belongs to the plurality of destination roles based on the second policy. If the role belongs to the plurality of allowed destination roles, the system can allow the port to forward a multi-destination packet, which is received via the overlay tunnel and associated with the type of traffic.

## Claims

### Claim 1

A method comprising:
generating, from a first policy defined for a switch, a second policy, wherein the first policy indicates whether a type of traffic is allowed from a source role to a destination role via an overlay tunnel, wherein the second policy indicates a plurality of destination roles that are allowed to receive multi-destination packets of the type of traffic from the source role via the overlay tunnel;
in response to identifying a host associated with a role at a port of the switch, determining whether the role belongs to the plurality of destination roles based on the second policy; and
in response to the role belonging to the plurality of allowed destination roles, allowing the port to forward a multi-destination packet associated with the type of traffic, wherein the multi-destination packet is received at the switch via the overlay tunnel.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, in response to the role not belonging to the plurality of allowed destination roles, refrain from changing forwarding policy for the port for the class of traffic.

### Claim 3 (depends on 1)

The method of claim 1, further comprising allocating a filter identifier for the plurality of allowed destination roles, wherein the filter identifier uniquely identifies the plurality of allowed destination roles in the second policy.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining whether the role belongs to the plurality of allowed destination roles comprises determining whether the role of the host corresponds to the filter identifier.

### Claim 5 (depends on 3)

The method of claim 3, further comprising maintaining a data structure that maps the filter identifier to the plurality of allowed destination roles.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
in response to receiving a packet from the host, determining whether the packet belongs to multi-destination traffic; and
in response to the packet belonging to multi-destination traffic, determining whether to allow the port to forward the packet based on the class of traffic.

### Claim 7 (depends on 6)

The method of claim 6, wherein, in response to the packet not belonging to multi-destination traffic, determining whether to forward the packet to a destination of the packet based on the first policy.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
determining a source role from a tunnel header encapsulating the packet; and
determining the second policy based on the source role and the class of traffic.

### Claim 9

A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method, the method comprising:
generating, from a first policy defined for a switch, a second policy, wherein the first policy indicates whether a type of traffic is allowed from a source role to a destination role via an overlay tunnel, wherein the second policy indicates a plurality of destination roles that are allowed to receive multi-destination packets of the type of traffic from the source role via the overlay tunnel;
in response to identifying a host associated with a role at a port of the switch, determining whether the role belongs to the plurality of destination roles based on the second policy; and
in response to the role belonging to the plurality of allowed destination roles, allowing the port to forward a multi-destination packet associated with the type of traffic, wherein the multi-destination packet is received at the switch via the overlay tunnel.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the method further comprises, in response to the role not belonging to the plurality of allowed destination roles, refrain from changing forwarding policy for the port for the class of traffic.

### Claim 11 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the method further comprises allocating a filter identifier for the plurality of allowed destination roles, wherein the filter identifier uniquely identifies the plurality of allowed destination roles in the second policy.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein determining whether the role belongs to the plurality of allowed destination roles comprises determining whether the role of the host corresponds to the filter identifier.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the method further comprises further comprising maintaining a data structure that maps the filter identifier to the plurality of allowed destination roles.

### Claim 14 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the method further comprises:
in response to receiving a packet from the host, determining whether the packet belongs to multi-destination traffic; and
in response to the packet belonging to multi-destination traffic, determining whether to allow the port to forward the packet based on the class of traffic.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein, in response to the packet not belonging to multi-destination traffic, determining whether to forward the packet to a destination of the packet based on the first policy.

### Claim 16 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the method further comprises:
determining a source role from a tunnel header encapsulating the packet; and
determining the second policy based on the source role and the class of traffic.

### Claim 17

A computer system, comprising:
a processor;
a non-transitory computer-readable storage medium storing instructions, which when executed by the processor causes the processor to perform a method, the method comprising:
generating, from a first policy defined for the computer system, a second policy, wherein the first policy indicates whether a type of traffic is allowed from a source role to a destination role via an overlay tunnel, wherein the second policy indicates a plurality of destination roles that are allowed to receive multi-destination packets of the type of traffic from the source role via the overlay tunnel;
in response to identifying a host associated with a role at a port of the computer system, determining whether the role belongs to the plurality of destination roles based on the second policy; and
in response to the role belonging to the plurality of allowed destination roles, allowing the port to forward a multi-destination packet associated with the type of traffic, wherein the multi-destination packet is received at the computer system via the overlay tunnel.

### Claim 18 (depends on 11)

The computer system of claim 11, wherein the method further comprises allocating a filter identifier for the plurality of allowed destination roles, wherein the filter identifier uniquely identifies the plurality of allowed destination roles in the second policy.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein determining whether the role belongs to the plurality of allowed destination roles comprises determining whether the role of the host corresponds to the filter identifier.

### Claim 20 (depends on 11)

The computer system of claim 11, wherein the method further comprises:
in response to receiving a packet from the host, determining whether the packet belongs to multi-destination traffic; and
in response to the packet belonging to multi-destination traffic, determining whether to allow the port to forward the packet based on the class of traffic.
