# US 11,451,466 B2 · Controlling route

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

- Number: US 11,451,466 B2
- Document ID: US11451466B2
- Status: Granted
- Kind: B2
- Application number: 16/606,730
- Filed: 2018-04-13
- Published: 2020-04-30
- Granted: 2022-09-20
- Earliest claimed: 2017-04-25
- Assignees: New H3C Technologies Co., Ltd.
- Applicants: New H3C Technologies Co., Ltd.
- Inventors: Yan Chen; Wei Wang
- Web page: https://patentgrep.com/patent/US11451466B2

## CPC

- H04L 45/02: Topology update or discovery
- 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/028: Dynamic adaptation of the update intervals, e.g. event-triggered updates
- H04L 45/42: Centralised routing
- H04L 45/64: using an overlay routing layer
- H04L 45/66: {Layer 2 routing, e.g. in Ethernet based MAN's}
- H04L 47/825: {Involving tunnels, e.g. MPLS}
- H04L 63/0272: {Virtual private networks}
- H04L 63/029: {Firewall traversal, e.g. tunnelling or, creating pinholes}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed are a method and a device for controlling an EVPN route. According to an example of the method, when receiving an EVPN route from a second VTEP device, a first VTEP device checks whether the EVPN route carries a role attribute. When determining that the EVPN route carries a role attribute and the carried role attribute is a specified first role attribute value, the first VTEP device controls the distribution of the EVPN route according to a set route synchronization control strategy.

## Claims

### Claim 1

A method of controlling an Ethernet Virtual Private Networks (EVPN) route, comprising:
receiving, by a first Virtual eXtensible Local Area Network Tunnel End Point (VTEP) device, an EVPN route from a second VTEP device;
checking, by the first VTEP device, whether the EVPN route carries a role attribute; and
controlling, by the first VTEP device, distribution of the EVPN route according to a set route synchronization control strategy when determining that the EVPN route carries a role attribute and the carried role attribute has a specified first role attribute value.

### Claim 2 (depends on 1)

The method according to claim 1, wherein controlling the distribution of the EVPN route according to the set route synchronization control strategy comprises:
sending, by the first VTEP device, first host information carried by the EVPN route to a server connected to the device;
receiving, by the first VTEP device, a query result returned by the server;
distributing, by the first VTEP device, the EVPN route to a VTEP device other than the second VTEP device when the query result indicates that the first host information matches a set route synchronization rule; and
prohibiting, by the first VTEP device, distributing the EVPN route to a VTEP device other than the second VTEP device when the query result indicates that the first host information does not match the set route synchronization rule.

### Claim 3 (depends on 1)

The method according to claim 1, wherein controlling the distribution of the EVPN route according to the set route synchronization control strategy comprises:
checking, by the first VTEP device, whether first host information carried by the EVPN route matches a route synchronization rule locally stored in the device;
distributing, by the first VTEP device, the EVPN route to a VTEP device other than the second VTEP device when the first host information matches the route synchronization rule; and
prohibiting, by the first VTEP device, distributing the EVPN route to a VTEP device other than the second VTEP device when the first host information does not match the set route synchronization rule.

### Claim 4 (depends on 2)

The method according to claim 2, wherein distributing the EVPN route to the VTEP device other than the second VTEP device comprises:
determining, by the first VTEP device, a network identifier in the set route synchronization rule matching the first host information carried by the EVPN route; and distributing, by the first VTEP device, the EVPN route to a VTEP device in a network corresponding to the network identifier.

### Claim 5 (depends on 1)

The method according to claim 1, wherein controlling the distribution of the EVPN route according to the set route synchronization control strategy comprises:
prohibiting, by the first VTEP device, distributing the EVPN route to a VTEP device other than the second VTEP device.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
registering, by the first VTEP device, first host information carried by the received EVPN route on a server connected to the device;
receiving, by the first VTEP device, a query request message from a third VTEP device, wherein the query request message is sent when the EVPN route is not locally present in the third VTEP device and a first host is to be accessed by a second host; the first host is a host corresponding to the first host information; the second host is a host connected to the third VTEP device; and the query request message carries the first host information;
sending, by the first VTEP device, the query request message to the server; and
distributing, by the first VTEP device, the EVPN route to the third VTEP device according to a response message returned by the server, wherein the response message is sent when the server obtains the first host information from locally registered host information in response to the query request message and the first host information matches a set route synchronization rule.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
receiving, by the first VTEP device, a query request message from a third VTEP device, wherein the query request message is sent when the EVPN route is not locally present in the third VTEP device and a first host is to be accessed by a second host; the first host is a host corresponding to first host information carried by the EVPN route; the second host is a host connected to the third VTEP device; and the query request message carries the first host information; and
distributing, by the first VTEP device, the EVPN route to the third VTEP device when determining that the first host information is present in local host information and that a route synchronization rule matching the first host information is locally present.

### Claim 8 (depends on 6)

The method according to claim 6, further comprising:
sending, by the first VTEP device, a response message to the third VTEP device;
receiving, by the first VTEP device, a reply packet sent by the third VTEP device based on the response message, wherein the reply packet carries the first host information; and
obtaining, by the first VTEP device, the first host information from the received reply packet.

### Claim 9 (depends on 3)

The method according to claim 3, wherein distributing the EVPN route to the VTEP device other than the second VTEP device comprises:
determining, by the first VTEP device, a network identifier in the route synchronization rule matching the first host information carried by the EVPN route; and distributing, by the first VTEP device, the EVPN route to a VTEP device in a network corresponding to the network identifier.

### Claim 10 (depends on 7)

The method according to claim 7, further comprising:
sending, by the first VTEP device, a response message to the third VTEP device;
receiving, by the first VTEP device, a reply packet sent by the third VTEP device based on the response message, wherein the reply packet carries the first host information; and
obtaining, by the first VTEP device, the first host information from the received reply packet.

### Claim 11

A device for controlling an Ethernet Virtual Private Networks (EVPN) route, the device being applied to a first Virtual eXtensible Local Area Network Tunnel End Point (VTEP) device and comprising:
a processor; and
a non-transitory storage medium storing machine-executable instructions, wherein by reading and executing the machine-executable instructions, the processor is caused to:
receive an EVPN route from a second VTEP device;
check whether the EVPN route carries a role attribute; and
control distribution of the EVPN route according to a set route synchronization control strategy when determining that the EVPN route carries a role attribute and the carried role attribute has a specified first role attribute value.

### Claim 12 (depends on 11)

The device according to claim 11, wherein, when controlling the distribution of the EVPN route according to the set route synchronization control strategy, the processor is further caused by the machine-executable instructions to:
send first host information carried by the EVPN route to a server connected to the device;
receive a query result returned by the server;
distribute the EVPN route to a VTEP device other than the second VTEP device when the query result indicates that the first host information matches a set route synchronization rule; and
prohibit distributing the EVPN route to a VTEP device other than the second VTEP device when the query result indicates that the first host information does not match a route synchronization rule.

### Claim 13 (depends on 11)

The device according to claim 11, wherein, when controlling the distribution of the EVPN route according to the route synchronization control strategy, the processor is further caused by the machine-executable instructions to:
check whether first host information carried by the EVPN route matches a route synchronization rule locally stored in the device;
distribute the EVPN route to a VTEP device other than the second VTEP device when the first host information matches the route synchronization rule; and
prohibit distributing the EVPN route to a VTEP device other than the second VTEP device when the first host information does not match a route synchronization rule.

### Claim 14 (depends on 12)

The device according to claim 12, wherein, when distributing the EVPN route to the VTEP device other than the second VTEP device, the processor is further caused by the machine-executable instructions to:
determine a network identifier in the route synchronization rule matching the first host information carried by the EVPN route; and
distribute the EVPN route to a VTEP device in a network corresponding to the network identifier.

### Claim 15 (depends on 11)

The device according to claim 11, wherein, when controlling the distribution of the EVPN route according to the set route synchronization control strategy, the processor is further caused by the machine-executable instructions to:
prohibit distributing the EVPN route to a VTEP device other than the second VTEP device.

### Claim 16 (depends on 11)

The device according to claim 11, wherein, the processor is further caused by the machine-executable instructions to:
register first host information carried by the EVPN route on a server connected to the device;
receive a query request message from a third VTEP device, wherein the query request message is sent when the EVPN route is not locally present in the third VTEP device and a first host is to be accessed by a second host; the first host is a host corresponding to the first host information; the second host is a host connected to the third VTEP device; and the query request message carries the first host information;
send the query request message to the server; and
distribute the EVPN route to the third VTEP device according to a response message received from the server, wherein the response message is sent when the server obtains the first host information from locally registered host information and the first host information matches a set route synchronization rule.

### Claim 17 (depends on 11)

The device according to claim 11, wherein, the processor is further caused by the machine-executable instructions to:
receive a query request message from a third VTEP device, wherein the query request message is sent when the EVPN route is not locally present in the third VTEP device and a first host is to be accessed by a second host; the first host is a host corresponding to first host information carried by the EVPN route; the second host is a host connected to the third VTEP device; and the query request message carries the first host information; and
distribute the EVPN route to the third VTEP device when determining that the first host information is present in local host information in response to the query request message and determining that a route synchronization rule matching the first host information is locally present.
