<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.5.1//EN" "ep-patent-document-v1-5-1.dtd">
<!--This XML data has been generated under the supervision of the European Patent Office -->
<ep-patent-document id="EP17900752B9W1" file="EP17900752W1B9.xml" lang="en" country="EP" doc-number="3582449" kind="B9" correction-code="W1" date-publ="20220302" status="c" dtd-version="ep-patent-document-v1-5-1">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIROMKCYALTRBGCZEEHUPLSK..HRIS..MTNORS..SM..................</B001EP><B005EP>J</B005EP><B007EP>BDM Ver 2.0.14 (4th of August) -  2999001/0</B007EP></eptags></B000><B100><B110>3582449</B110><B120><B121>CORRECTED EUROPEAN PATENT SPECIFICATION</B121></B120><B130>B9</B130><B132EP>B1</B132EP><B140><date>20220302</date></B140><B150><B151>W1</B151><B155><B1551>de</B1551><B1552>Ansprüche EN</B1552><B1551>en</B1551><B1552>Claims EN</B1552><B1551>fr</B1551><B1552>Revendications EN</B1552></B155></B150><B190>EP</B190></B100><B200><B210>17900752.1</B210><B220><date>20171117</date></B220><B240><B241><date>20190913</date></B241><B242><date>20201126</date></B242></B240><B250>zh</B250><B251EP>en</B251EP><B260>en</B260></B200><B300><B310>201710151473</B310><B320><date>20170314</date></B320><B330><ctry>CN</ctry></B330></B300><B400><B405><date>20220302</date><bnum>202209</bnum></B405><B430><date>20191218</date><bnum>201951</bnum></B430><B450><date>20220105</date><bnum>202201</bnum></B450><B452EP><date>20210719</date></B452EP><B480><date>20220302</date><bnum>202209</bnum></B480></B400><B500><B510EP><classification-ipcr sequence="1"><text>H04L  12/46        20060101AFI20191114BHEP        </text></classification-ipcr></B510EP><B520EP><classifications-cpc><classification-cpc sequence="1"><text>H04L  12/4633      20130101 FI20201120BHEP        </text></classification-cpc><classification-cpc sequence="2"><text>H04L  12/4641      20130101 LI20201120BHEP        </text></classification-cpc></classifications-cpc></B520EP><B540><B541>de</B541><B542>ROUTENVERARBEITUNG IN EINEM VXLAN</B542><B541>en</B541><B542>ROUTE PROCESSING IN A VXLAN</B542><B541>fr</B541><B542>TRAITEMENT DES ROUTES DANS UN VXLAN</B542></B540><B560><B561><text>CN-A- 104 702 476</text></B561><B561><text>CN-A- 105 591 868</text></B561><B561><text>CN-A- 105 991 432</text></B561><B561><text>US-A1- 2015 003 458</text></B561><B561><text>US-A1- 2016 134 513</text></B561><B561><text>US-A1- 2016 248 601</text></B561><B561><text>US-A1- 2017 019 331</text></B561><B562><text>SAJASSI (EDITOR) CISCO J DRAKE (EDITOR) JUNIPER N BITAR NOKIA R SHEKHAR JUNIPER J UTTARO AT&amp;T W HENDERICKX NOKIA A: "A Network Virtualization Overlay Solution using EVPN; draft-ietf-bess-evpn-overlay-07.txt", A NETWORK VIRTUALIZATION OVERLAY SOLUTION USING EVPN; DRAFT-IETF-BESS-EVPN-OVERLAY-07.TXT, INTERNET ENGINEERING TASK FORCE, IETF; STANDARDWORKINGDRAFT, INTERNET SOCIETY (ISOC) 4, RUE DES FALAISES CH- 1205 GENEVA, SWITZERLAND, 30 November 2016 (2016-11-30), pages 1-28, XP015116866, [retrieved on 2016-11-30]</text></B562><B565EP><date>20191120</date></B565EP></B560></B500><B600><B620EP><parent><cdoc><dnum><anum>21209223.3</anum></dnum><date>20211119</date></cdoc></parent></B620EP></B600><B700><B720><B721><snm>WANG, Haibo</snm><adr><str>Huawei Administration Building
Bantian
Longgang District</str><city>Shenzhen
Guangdong 518129</city><ctry>CN</ctry></adr></B721><B721><snm>CHEN, Dapeng</snm><adr><str>Huawei Administration Building
Bantian
Longgang District</str><city>Shenzhen
Guangdong 518129</city><ctry>CN</ctry></adr></B721><B721><snm>ZHUANG, Shunwan</snm><adr><str>Huawei Administration Building
Bantian
Longgang District</str><city>Shenzhen
Guangdong 518129</city><ctry>CN</ctry></adr></B721></B720><B730><B731><snm>Huawei Technologies Co., Ltd.</snm><iid>100970540</iid><irf>P2019,1041 EP N</irf><adr><str>Huawei Administration Building 
Bantian</str><city>Longgang District
Shenzhen, Guangdong 518129</city><ctry>CN</ctry></adr></B731></B730><B740><B741><snm>Epping - Hermann - Fischer</snm><iid>101426474</iid><adr><str>Patentanwaltsgesellschaft mbH 
Schloßschmidstraße 5</str><city>80639 München</city><ctry>DE</ctry></adr></B741></B740></B700><B800><B840><ctry>AL</ctry><ctry>AT</ctry><ctry>BE</ctry><ctry>BG</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>CZ</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>EE</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>HR</ctry><ctry>HU</ctry><ctry>IE</ctry><ctry>IS</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LT</ctry><ctry>LU</ctry><ctry>LV</ctry><ctry>MC</ctry><ctry>MK</ctry><ctry>MT</ctry><ctry>NL</ctry><ctry>NO</ctry><ctry>PL</ctry><ctry>PT</ctry><ctry>RO</ctry><ctry>RS</ctry><ctry>SE</ctry><ctry>SI</ctry><ctry>SK</ctry><ctry>SM</ctry><ctry>TR</ctry></B840><B860><B861><dnum><anum>CN2017111608</anum></dnum><date>20171117</date></B861><B862>zh</B862></B860><B870><B871><dnum><pnum>WO2018166233</pnum></dnum><date>20180920</date><bnum>201838</bnum></B871></B870></B800></SDOBI>
<description id="desc" lang="en"><!-- EPO <DP n="1"> -->
<heading id="h0001"><b>TECHNICAL FIELD</b></heading>
<p id="p0001" num="0001">This application relates to the field of communications technologies, and in particular, to a route processing method, a device, and a system. More specifically, this application relates to a Virtual Extensible Local Area Network (VXLAN) technology that has an Ethernet virtual private network (EVPN) control plane.</p>
<heading id="h0002"><b>BACKGROUND</b></heading>
<p id="p0002" num="0002">A VXLAN is a technology in which a layer 2 packet is encapsulated by using a layer 3 protocol. The VXLAN technology relates to a packet in a MAC-in-UDP format. Specifically, an Ethernet frame based on a Media Access Control (MAC) protocol is encapsulated in a User Datagram Protocol (UDP) packet. Further, the UDP packet is encapsulated in an Internet Protocol (IP) packet, and the IP packet may be transmitted in a layer 3 network. Therefore, the Ethernet frame is transmitted in the layer 3 network. In the VXLAN technology, a VXLAN network identifier (VNI) is used to identify a VXLAN segment. Different VXLAN segments are corresponding to different VNIs. Different VXLAN segments are isolated from each other. Two virtual machines (VM) in a same VNI do not need to use a VXLAN layer 3 gateway (VXLAN L3 Gateway) during communication with each other. Two VMs separately in different VNIs need to communicate with each other by using the VXLAN layer 3 gateway. A VNI field includes 24 bits. One management domain may include a maximum of 2<sup>16</sup> VXLAN segments. A virtual extensible local area network tunnel endpoint (VXLAN Tunnel Endpoint, VTEP) may be integrated into a network virtualization edge (NVE) device, and used as an edge device in a VXLAN. The NVE device transmits traffic of the VXLAN through a VXLAN tunnel. The VXLAN tunnel is a logical point-to-point tunnel between two NVE devices.</p>
<p id="p0003" num="0003">An EVPN is a layer 2 virtual private network (VPN) technology. The EVPN connects customer sites in different regions by using an IP/Multiprotocol Label Switching (MPLS) bearer network. This is, these customer sites are in a same local area network (LAN).</p>
<p id="p0004" num="0004">In an application scenario, the VXLAN does not have a control plane. The VXLAN performs VTEP discovery and remote host-address learning by using a data plane through<!-- EPO <DP n="2"> --> multicast-based flooding. As a result, a larger amount of flooding traffic exists in a data center network. The EVPN based on the Border Gateway Protocol (BGP) and MPLS may be used to implement the control plane of the VXLAN. In this specification, the VXLAN scenario with an EVPN control plane is named as an EVPN VXLAN.</p>
<p id="p0005" num="0005">In an EVPN VXLAN application scenario, two NVE devices are directly connected to each other by using a physical link. For example, two NVE devices are connected to each other by using a peer link. However, an EVPN application scenario is limited by the manner in which two NVE devices are directly connected to each other by using a physical link, and there is a problem of low reliability and complex deployment.</p>
<p id="p0006" num="0006"><patcit id="pcit0001" dnum="US2016134513A1"><text>US2016/134513A1</text></patcit> relates generally to multi-destination data forwarding, specifically in a joint TRILL Fabric and VXLAN/IP Fabric data centers.</p>
<p id="p0007" num="0007">The document "A Network Virtualization Overlay Solution using EVPN (draft-ietf-bess-evpn-overlay-07)" describes how Ethernet VPN (EVPN) [RFC7432] can be used as an Network Virtualization Overlay (NVO) solution and explores the various tunnel encapsulation options over IP and their impact on the EVPN control-plane and procedures. In particular, the following encapsulation options are analyzed: VXLAN, NVGRE, and MPLS over GRE.</p>
<heading id="h0003"><b>SUMMARY</b></heading>
<p id="p0008" num="0008">The present invention is defined in the appended independent claims to which reference should be made. Advantageous features are set out in the appended dependent claims.<!-- EPO <DP n="3"> --></p>
<heading id="h0004"><b>BRIEF DESCRIPTION OF DRAWINGS</b></heading>
<p id="p0009" num="0009">
<ul id="ul0001" list-style="none" compact="compact">
<li><figref idref="f0001">FIG. 1</figref> is a schematic structural diagram of an EVPN VXLAN according to an embodiment of this application;</li>
<li><figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref> are a flowchart of a route processing method according to an embodiment of this application;</li>
<li><figref idref="f0004">FIG. 3</figref> is a schematic structural diagram of another EVPN VXLAN according to an embodiment of this application;</li>
<li><figref idref="f0005">FIG. 4</figref> is a schematic structural diagram of still another EVPN VXLAN according to an<!-- EPO <DP n="4"> --> embodiment of this application;</li>
<li><figref idref="f0006">FIG. 5</figref> is a schematic diagram of a format of a VXLAN packet according to an embodiment of this application;</li>
<li><figref idref="f0007">FIG. 6</figref> is a schematic diagram of a format of a VXLAN attribute according to an embodiment of this application;</li>
<li><figref idref="f0008">FIG. 7</figref> is a schematic diagram of a format of a VTEP VNI attribute according to an embodiment of this application;</li>
<li><figref idref="f0009">FIG. 8</figref> is a schematic diagram of a format of a MAC-VLAN attribute according to an embodiment of this application;</li>
<li><figref idref="f0010">FIG. 9</figref> is a schematic structural diagram of still another EVPN VXLAN according to an embodiment of this application;</li>
<li><figref idref="f0011">FIG. 10</figref> is a schematic structural diagram of still another EVPN VXLAN according to an embodiment of this application;</li>
<li><figref idref="f0012">FIG. 11</figref> is a schematic structural diagram of a first NVE device according to an embodiment of this application;</li>
<li><figref idref="f0012">FIG. 12</figref> is a schematic diagram of a hardware structure of a first NVE device according to an embodiment of this application;</li>
<li><figref idref="f0013">FIG. 13</figref> is a schematic diagram of a hardware structure of another first NVE device according to an embodiment of this application; and</li>
<li><figref idref="f0014">FIG. 14</figref> is a schematic diagram of a hardware structure of still another first NVE device according to an embodiment of this application.</li>
</ul></p>
<heading id="h0005"><b>DESCRIPTION OF EMBODIMENTS</b></heading>
<p id="p0010" num="0010">Embodiments of this application provide a route processing method, a device, and a system, to be applied to an EVPN VXLAN application scenario. An EVPN application scenario is not limited by a restriction condition that a physical direct link needs to be used as a link between NVE devices. This helps extend the EVPN application scenario and also helps improve reliability and reduce deployment complexity.</p>
<p id="p0011" num="0011">The following provides detailed descriptions by using specific embodiments separately.</p>
<p id="p0012" num="0012">For an EVPN technology in this application, refer to descriptions of the Internet Engineering Task Force (IETF) Request for Comments (RFC) 7432.</p>
<p id="p0013" num="0013">In the embodiments of this application, the expression "a device includes a VTEP address" or the expression "a VTEP address in a device" means that a VTEP address is stored in a device.<!-- EPO <DP n="5"> --> The expression "a device includes a common VTEP address" or the expression "a common VTEP address in a device" means that a common VTEP address is stored in a device. The device may be an NVE device, a provider edge (PE) device, or a VTEP.</p>
<p id="p0014" num="0014"><figref idref="f0001">FIG. 1</figref> is a schematic structural diagram of an EVPN VXLAN according to an embodiment of this application. The EVPN VXLAN is a VXLAN having an EVPN control plane. The EVPN VXLAN includes an NVE device set, and the NVE device set includes at least two NVE devices. As shown in <figref idref="f0001">FIG. 1</figref>, the NVE device set includes a first NVE device, a second NVE device, and a third NVE device. It should be understood that in this application, a quantity of NVE devices included in the NVE device set is not limited, and there may be two, three or more NVE devices. Any two NVE devices in the NVE device set are a pair of BGP peers. In an EVPN scenario, the BGP peer may also be referred to as an EVPN peer. <figref idref="f0001">FIG. 1</figref> is used as an example. The first NVE device and the second NVE device are a pair of BGP peers, the first NVE device and the third NVE device are a pair of BGP peers, and the second NVE device and the third NVE device are a pair of BGP peers. "A pair of BGP peers" may be understood as that one device is a BGP peer of the other device. For example, that the first NVE device and the second NVE device are a pair of BGP peers may be understood as that the first NVE device is a BGP peer of the second NVE device, or understood as that the second NVE device is a BGP peer of the first NVE device. The BGP peer may also be referred to as a BGP neighbor. Correspondingly, the EVPN peer may also be referred to as an EVPN neighbor. In this application, for ease of description, the BGP peer is used in all subsequent embodiments. The BGP peer is established by using an open message specified in the BGP, and the established BGP peer is maintained by using a keepalive message. For implementation of the OPEN message and the KEEPALIVE message, refer to related descriptions of the IETF RFC 2858 and the IETF RFC 1771. In addition, a route reflector (RR) may be deployed on each of two end devices that establish the BGP peer, so that establishment of the BGP peer is completed by using the RRs. An NVE device included in an NVE device set may also be referred to as a PE device. Unless otherwise specified in this application, the NVE device is equivalent to the PE device. In descriptions of this application, a device included in an NVE device set is named as an NVE device. Actually, the NVE device included in the NVE device set may also be referred to as a PE device. Correspondingly, the NVE device set may also be referred to as a PE device set.</p>
<p id="p0015" num="0015">The EVPN VXLAN further includes a PE device. As shown in <figref idref="f0001">FIG. 1</figref>, the PE device is outside the NVE device set. The PE device and each NVE device in the NVE device set may form a pair of BGP peers. <figref idref="f0001">FIG. 1</figref> is used as an example. The PE device is a BGP peer of each of the first NVE device, the second NVE device, and the third NVE device. The PE device may be<!-- EPO <DP n="6"> --> a physical device, or may be a logical device including a plurality of physical devices. In addition, the PE device may be connected to another network device. For example, the PE device is connected to one or more customer edge (CE) devices.</p>
<p id="p0016" num="0016">The EVPN VXLAN further includes at least one CE device. <figref idref="f0001">FIG. 1</figref> shows three CE devices as an example: a first CE device, a second CE device, and a third CE device. The first CE device is multi-homed to the first NVE device, the second NVE device, and the third NVE device, that is, the first CE device communicates with the first NVE device, the second NVE device, and the third NVE device separately. The second CE device is dual-homed to the first NVE device and the second NVE device, that is, the second CE device communicates with the first NVE device and the second NVE device separately. The third CE device is single-homed to the second NVE device, that is, the third CE device communicates with the second NVE device. In addition, it should be understood that multi-homing may be dual-homing. As shown in the foregoing specification, the two expressions coexist to distinguish between quantities of NVE devices connected to the CE devices.</p>
<p id="p0017" num="0017">In the EVPN VXLAN, the CE device and the NVE device are connected to each other by using an Ethernet link. In addition, all Ethernet links connected to a same CE device form an Ethernet segment (ES). <figref idref="f0001">FIG. 1</figref> is used as an example. The first CE device is multi-homed to the first NVE device, the second NVE device, and the third NVE device by using three Ethernet links. The three Ethernet links form an ES, and the ES is represented by an ES 1 in <figref idref="f0001">FIG. 1</figref>. An Ethernet segment identifier (ESI) is used to identify a corresponding ES. <figref idref="f0001">FIG. 1</figref> is used as an example. ESI values of ESs 1 of the three Ethernet links that connect the first CE device to the first NVE device, the second NVE device, and the third NVE device are a same value. ESI values of ESs 2 of two Ethernet links that connect the second CE device to the first NVE device and the second NVE device are a same value. The ESI value of the ES 1 and the ESI value of the ES 2 are unequal, and both are non-zero values. An ESI value of an ES 3 is zero. The ESI includes a type field and an ESI value field, and the type field is used to indicate a generation manner of the ESI. Two commonly used generation manners are a type 0 and a type 1. The type 0 indicates that the ESI is generated through manual configuration, and the type 1 indicates that the ESI is generated by using the Link Aggregation Control Protocol (LACP) running between an NVE device and a CE device. A value of the ESI value field ranges from 0 to 0×FF, and "0x" represents hexadecimal. For generation and setting of the ES and the ESI, refer to descriptions of Chapter 5 of the RFC 7432.</p>
<p id="p0018" num="0018">In the EVPN VXLAN shown in <figref idref="f0001">FIG. 1</figref>, the NVE device and the PE device each may be a router or a layer 3 switch. The CE device may be a router, a switch, or a host. The NVE device,<!-- EPO <DP n="7"> --> the PE device, and the CE device in this embodiment of this application are corresponding devices defined in the RFC 7432. When the CE device is a router or a switch, the CE device may be connected to one or more hosts. The host may be a physical device or a VM. The EVPN VXLAN shown in <figref idref="f0001">FIG. 1</figref> may be applied to a plurality of scenarios. For example, the EVPN VXLAN is applied to a mobile bearer network, and a typical mobile bearer network is an Internet Protocol radio access network (IP RAN). In the mobile bearer network, the first CE device, the second CE device, and the third CE device may be base transceiver stations (BTS); the PE device may be connected to a base station controller (BSC) or a radio network controller (RNC); the first NVE device, the second NVE device, and the third NVE device may be cell site gateways (CSG); and the PE device may be a radio network controller site gateway (RSG). For another example, the EVPN VXLAN is applied to a fixed network. In the fixed network, the first CE device, the second CE device, and the third CE device may be user-side stations; the first NVE device, the second NVE device, and the third NVE device may be digital subscriber line access multiplexers (DSLAM); and the PE device may be a broadband access server (BAS).</p>
<p id="p0019" num="0019">In the EVPN VXLAN shown in <figref idref="f0001">FIG. 1</figref>, a VXLAN tunnel is established between the PE device and the NVE device set. For the PE device, the NVE device set is like a single NVE device, that is, all the NVE devices in the NVE device set are virtualized as a single NVE device. In a possible implementation scenario, actual traffic forwarded from the PE device to the first NVE device, the second NVE device, and the third NVE device is carried on a plurality of physical links (shown as dashed lines in <figref idref="f0001">FIG. 1</figref> that separately connect the PE device to the first NVE device, the second NVE device, and the third NVE device) from the PE device to the first NVE device, the second NVE device, and the third NVE device. In another possible implementation scenario, a router is included between the PE device and the NVE device set. The router performs IP forwarding to implement a traffic offloading function. The PE device is connected to the router by using a physical link. The router is connected to the first NVE device, the second NVE device, and the third NVE device by using a plurality of physical links. In the foregoing two possible implementation scenarios, physical links from the PE device to a plurality of NVE devices in the NVE device set are virtualized as a single VXLAN tunnel. Therefore, when sending a packet to the NVE device set, the PE device considers the NVE device set as a single NVE device. To achieve the foregoing objective, the NVE device set includes a common VTEP. The common VTEP includes a common VTEP address. The common VTEP address is used to identify the common VTEP. The common VTEP address may be an IP address. In addition, the common VTEP is deployed on each NVE device in the NVE device set. In this way, each NVE device in the NVE device set includes the common VTEP. The NVE<!-- EPO <DP n="8"> --> devices in the NVE device set include a same VTEP, and the NVE devices in the NVE device set include a same VTEP address. Therefore, in this application, a set including NVE devices that include a same VTEP is referred to as an NVE device set. After receiving an inclusive multicast Ethernet tag (IMET) route sent by each NVE device in the NVE device set, the PE device determines that only one VTEP address (the common VTEP address) exists at a transmit end of the IMET route. Therefore, for the PE device, the NVE device set is like an NVE device. The PE device establishes a VXLAN tunnel by using the common VTEP as an endpoint of the VXLAN tunnel. <figref idref="f0001">FIG. 1</figref> is used as an example. A value of the common VTEP address of the NVE device set is 9.9.9.9. The common VTEP including the common VTEP address is deployed on each of the first NVE device, the second NVE device, and the third NVE device. The PE device may establish a VXLAN tunnel from the PE device to the NVE device set based on the received IMET route from the NVE device. For a specific implementation of establishing the VXLAN tunnel, refer to descriptions of a subsequent embodiment of this application. In addition, from a perspective of the PE device, the NVE device set is a virtual NVE device. Use of "set" in the technical term "NVE device set" constitutes no limitation to this application. For example, "group" may be used to replace "set", that is, "NVE device group".</p>
<p id="p0020" num="0020">In the NVE device set, a VXLAN tunnel is established between NVE devices. That is, a VXLAN tunnel is established between each pair of BGP peers in the NVE device set. <figref idref="f0001">FIG. 1</figref> is used as an example. A first VXLAN tunnel is established between the first NVE device and the second NVE device. A second VXLAN tunnel is established between the second NVE device and the third NVE device. A third VXLAN tunnel is established between the first NVE device and the third NVE device. To achieve the foregoing objective, each NVE device in the NVE device set further includes a VTEP, and the VTEP includes a VTEP address. In addition, the VTEP address is unique in the EVPN VXLAN. The VTEP address is used to identify a VTEP in a corresponding NVE device. The VTEP address may be an IP address. Further, the common VTEP address of the NVE device set is different from an endpoint address of a VXLAN tunnel between any two NVE devices in the NVE device set. <figref idref="f0001">FIG. 1</figref> is used as an example. The first NVE device includes the common VTEP mentioned above, and a value of the common VTEP address included in the common VTEP is 9.9.9.9. The first NVE device further includes a first VTEP, and a value of a first VTEP address included in the first VTEP is 1.1.1.1. The second NVE device includes the common VTEP mentioned above, and the value of the common VTEP address is 9.9.9.9. The second NVE device further includes a second VTEP, and a value of a second VTEP address included in the second VTEP is 2.2.2.2. The third NVE device includes the common VTEP mentioned above, and the value of the common VTEP address is 9.9.9.9. The<!-- EPO <DP n="9"> --> third NVE device further includes a third VTEP, and a value of a third VTEP address included in the third VTEP is 3.3.3.3. An NVE device in the NVE device set may establish a VXLAN tunnel from the NVE device to a BGP peer of the NVE device based on a VTEP address and the common VTEP address by using an IMET route. For a specific implementation of establishing the VXLAN tunnel, refer to descriptions of a subsequent embodiment of this application.</p>
<p id="p0021" num="0021">In the foregoing implementation, in an EVPN VXLAN application scenario, an NVE device set including at least two NVE devices includes a common VTEP address. The common VTEP address is used to identify a common VTEP, and the common VTEP is deployed on each NVE device in the NVE device set. In addition, each NVE device in the NVE device set includes a VTEP address, and the VTEP address is used to identify a VTEP included in a corresponding NVE device. An NVE device in the NVE device set establishes a VXLAN tunnel from the NVE device to a BGP peer of the NVE device based on a VTEP address and the common VTEP address by using an IMET route. Therefore, in the EVPN VXLAN application scenario, NVE devices in the NVE device set are interconnected through a VXLAN tunnel, so that a link between NVE devices in the NVE device set is not limited to a physical direct link. The VXLAN tunnel is used to implement interconnection between the NVE devices, so that even if a switching node exists between the NVE devices in the NVE device set, implementation of the EVPN VXLAN is not affected. When the NVE device in the NVE device set is deployed, the NVE device is not affected by a deployment region and distance, thereby improving deployment flexibility. Further, a link between the NVE devices in the NVE device set is not limited to a physical direct link, thereby helping improve deployment flexibility.</p>
<p id="p0022" num="0022"><figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref> are a flowchart of a route processing method according to an embodiment of this application. The method shown in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref> may be applied to the EVPN VXLAN shown in <figref idref="f0001">FIG. 1</figref>. That is, the method shown in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref> may be applied to the VXLAN having an EVPN control plane shown in <figref idref="f0001">FIG. 1</figref>. The EVPN VXLAN includes a first NVE device and a second NVE device. The first NVE device and the second NVE device are a pair of BGP peers. For an implementation of establishing a BGP peer, refer to descriptions of the foregoing embodiment. Details are not described herein again. <figref idref="f0002">FIG. 2A</figref> shows an NVE device set, and the first NVE device and the second NVE device are included in the NVE device set. It should be understood that in an actual application scenario, from a perspective of a PE device, the NVE device set is a single virtual NVE device. The first NVE device and the second NVE device each include a common VTEP. For ease of description, the expression of the NVE device set is used in this embodiment of this application. <figref idref="f0002">FIG. 2A</figref> shows two NVE devices. It should be understood that in an actual application scenario, a quantity of<!-- EPO <DP n="10"> --> NVE devices in the NVE device set may be greater than 2. When the quantity of NVE devices in the NVE device set can be greater than 2, any two NVE devices in the NVE device set can implement the route processing method shown in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref>. The method shown in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref> include S101 to S104, and may further include S105.</p>
<p id="p0023" num="0023">S101. The second NVE device sends a second IMET route to the first NVE device.</p>
<p id="p0024" num="0024">S102. The first NVE device receives the second IMET route from the second NVE device, where an originating router's IP address field in the second IMET route includes a common VTEP address, the second IMET route further includes a second VTEP address, and the common VTEP address included in the originating router's IP address field in the second IMET route is different from the second VTEP address.</p>
<p id="p0025" num="0025">Based on the descriptions of the scenario shown in <figref idref="f0001">FIG. 1</figref> in the foregoing embodiment, the NVE device set includes a common VTEP, the common VTEP includes a common VTEP address, and the VTEP address may be an IP address. The common VTEP is deployed on each NVE device in the NVE device set. With reference to <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref>, the common VTEP is deployed on each of the first NVE device and the second NVE device. Optionally, the common VTEP address may be deployed in the common VTEP on each NVE device in the NVE device set in a static configuration manner. In this way, based on the common VTEP address, from the perspective of the PE device, the NVE device set may be virtualized as a single NVE device.</p>
<p id="p0026" num="0026">An NVE device in the NVE device set further includes a VTEP, the VTEP includes a VTEP address, and the VTEP address may be an IP address. With reference to <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref>, the first NVE device further includes a first VTEP, and the first VTEP includes a first VTEP address. The second NVE device further includes a second VTEP, and the second VTEP includes a second VTEP address. The first VTEP address and the second VTEP address are unique in the EVPN VXLAN, and neither a value of the first VTEP address nor a value of the second VTEP address is equal to a value of the common VTEP address. Based on the foregoing, the NVE device in the NVE device set includes both the common VTEP address and a VTEP address of the NVE device. For example, the common VTEP address and the VTEP address are stored in a memory of the NVE device, so that a processor of the NVE device can access the common VTEP address and the VTEP address.</p>
<p id="p0027" num="0027">The second NVE device sends the second IMET route to the first NVE device. An IMET route mentioned in the RFC 7432 is used as the IMET route used in this embodiment of this application, and the IMET route mentioned in the RFC 7432 is extended in this embodiment of this application. For a format and a function of the IMET route, refer to descriptions of the RFC 7432. Specifically, the second NVE device may send the second IMET route to the first NVE<!-- EPO <DP n="11"> --> device in the following manner. The second NVE device may send an update message to the first NVE device. The update message carries a multiprotocol reachable network layer reachability information (MP_REACH_NLRI) attribute, and a full name of the NLRI is network layer reachability information. The MP_REACH_NLRI attribute includes an EVPN NLRI field and a next hop field. The EVPN NLRI field is used to carry the second IMET route. For definitions of the update message and the MP_REACH_NLRI attribute, refer to descriptions of the RFC 4760. For a definition of the EVPN NLRI field, refer to descriptions of Chapter 7 of the RFC 7432.</p>
<p id="p0028" num="0028">The second IMET route includes the originating router's IP address field. In this embodiment of this application, both a value of the next hop field and a value of an originating router's IP address in the second IMET route are set to a common VTEP address 9.9.9.9. After the second IMET route is advertised to another NVE device in the NVE device set and the PE device (shown in <figref idref="f0001">FIG. 1</figref>) outside the NVE device set, it is ensured that the second NVE device can receive a packet transmitted by the PE device and the another NVE device.</p>
<p id="p0029" num="0029">In this embodiment of this application, the IMET route mentioned in the RFC 7432 is further extended, so that the IMET route can carry a VTEP address of an NVE device that sends the IMET route. For example, a management IP address (or referred to as a device IP address) of the NVE device may be used as the VTEP address. In this setting, the second IMET route carries both the common VTEP address 9.9.9.9 and a second VTEP address 1.1.1.1.</p>
<p id="p0030" num="0030">In a solution, a new attribute is extended in this embodiment of this application to carry the VTEP address. As shown in <figref idref="f0007">FIG. 6</figref>, a VXLAN attribute is extended in this embodiment of this application to carry the VTEP address. A type field and a sub type field are used to indicate a type of the VXLAN attribute, and specific values of the type field and the sub type field each may be set according to a requirement of a standard organization. A flag field may be used to indicate whether the VTEP address in the VXLAN attribute is allowed to be read. For example, if the flag field is 0, it indicates that the VTEP address in the VXLAN attribute is not allowed to be read; or if the flag field is 1, it indicates that the VTEP address in the VXLAN attribute is allowed to be read. It should be understood that the foregoing functions of the flag field are used as an example, and a function of the flag field may correspondingly change based on a use scenario. A VTEP address field is used to carry a value of the VTEP address. A reserved field is used to implement further extension. The VXLAN attribute may be carried in the IMET route as an attribute, so as to implement the solution in this embodiment of this application. The second IMET route is used as an example. The second IMET route carries the VXLAN attribute, and the VXLAN attribute includes the second VTEP address.</p>
<p id="p0031" num="0031">The second IMET route may further carry a VNI, and the VNI is used to indicate a BD to<!-- EPO <DP n="12"> --> which the second NVE device belongs. More specifically, the VNI is used to indicate a BD to which a port used by the second NVE device to send the second IMET route belongs. In this application, the BD may be referred to as a broadcast domain (BD) or a bridge domain (BD). The VNI may be carried in a provider multicast service interface (PMSI) tunnel attribute of the second IMET route. The PMSI tunnel attribute includes an MPLS label field, and the MPLS label field is used to carry the VNI.</p>
<p id="p0032" num="0032">In this embodiment of this application, the VNI may be configured in two forms: a common VTEP VNI and a VTEP VNI. The common VTEP VNI is used to bind to the common VTEP address, and the VTEP VNI is used to bind to the VTEP address. With reference to <figref idref="f0001">FIG. 1</figref>, the common VTEP address is used as an endpoint address of a VXLAN tunnel established between the PE device and the NVE device set. Therefore, the VXLAN tunnel established between the PE device and the NVE device set is corresponding to the common VTEP VNI. The VTEP address is used as an endpoint address of a VXLAN tunnel established between the NVE devices in the NVE device set. Therefore, the VXLAN tunnel established between the NVE devices is corresponding to the VTEP VNI. In this embodiment of this application, the common VTEP VNI and the VTEP VNI may be set to be the same, or may be set to be different.</p>
<p id="p0033" num="0033">If the common VTEP VNI and the VTEP VNI are set to be the same, the VXLAN tunnel established between the PE device and the NVE device set and the VXLAN tunnel established between the NVE devices in the NVE device set are corresponding to a same BD. When the common VTEP VNI and the VTEP VNI are set to be the same, VNI information may be carried according to the foregoing implementation. To be specific, the VNI is carried in the MPLS label field included in the PMSI tunnel attribute, and the VNI is used to indicate both the common VTEP VNI and the VTEP VNI. The VNI carried in the MPLS label field included in the PMSI tunnel attribute is used in both a process of establishing the VXLAN tunnel between the PE device and the NVE device set and a process of establishing the VXLAN tunnel between the NVE devices in the NVE device set.</p>
<p id="p0034" num="0034">If the common VTEP VNI and the VTEP VNI are set to be different, the VXLAN tunnel established between the PE device and the NVE device set and the VXLAN tunnel established between the NVE devices in the NVE device set are corresponding to different BDs. For example, the VXLAN tunnel established between the PE device and the NVE device set is corresponding to a BD 1, and the VXLAN tunnel established between the NVE devices in the NVE device set is corresponding to a BD 2. That "the common VTEP VNI and the VTEP VNI are set to be different" described above means that a same VTEP VNI is used for all VXLAN tunnels established between the NVE devices in the NVE device set, and the VTEP VNI is<!-- EPO <DP n="13"> --> different from the common VTEP VNI. When the common VTEP VNI and the VTEP VNI are set to be different, VNI information may be carried according to the following implementation. The common VTEP VNI is carried in the MPLS label field included in the PMSI tunnel attribute. In addition, a new attribute is extended in this embodiment of this application to carry the VTEP VNI. As shown in <figref idref="f0008">FIG. 7</figref>, a VTEP VNI attribute is extended in this embodiment of this application to carry the VTEP VNI. A type field and a sub type field are used to indicate a type of the VTEP VNI attribute, and specific values of the type field and the sub type field each may be set according to a requirement of a standard organization. A flag field may be used to indicate whether the VTEP VNI in the VTEP VNI attribute is allowed to be read. For example, if the flag field is 0, it indicates that the VTEP VNI in the VTEP VNI attribute is not allowed to be read; or if the flag field is 1, it indicates that the VTEP VNI in the VTEP VNI attribute is allowed to be read. It should be understood that the foregoing functions of the flag field are used as an example, and a function of the flag field may correspondingly change based on a use scenario. A VTEP VNI field is used to carry a value of the VTEP VNI. A reserved field is used to implement further extension. The VTEP VNI attribute may be carried in an IMET route as an attribute. When receiving an IMET route advertised by an NVE device in the NVE device set, the PE device establishes a VXLAN tunnel based on the common VTEP VNI, and does not parse the VTEP VNI attribute, so as to ignore the VTEP VNI. Correspondingly, after receiving an IMET route advertised by another NVE device, the NVE device in the NVE device set preferably establishes a VXLAN tunnel based on the VTEP VNI in the VTEP VNI attribute. If the NVE device in the NVE device set determines that the VTEP VNI attribute does not exist in the received IMET route, the NVE device establishes a corresponding VXLAN tunnel by using the common VTEP VNI carried in the MPLS label field included in the PMSI tunnel attribute.</p>
<p id="p0035" num="0035">Further, the VXLAN tunnels established between the NVE devices in the NVE device set may use different VTEP VNIs. For example, in <figref idref="f0001">FIG. 1</figref>, the first VXLAN tunnel uses a VTEP VNI 1 and is corresponding to a BD 21, the second VXLAN tunnel uses a VTEP VNI 2 and is corresponding to a BD 22, and the third VXLAN tunnel uses a VTEP VNI 3 and is corresponding to a BD 23. In this way, a plurality of VNIs are allowed to be configured for the NVE device, so that the NVE device can establish VXLAN tunnels corresponding to different BDs. In this embodiment of this application, to make the technical solution easier to understand, the common VTEP VNI and the VTEP VNI are set to be the same, and the VNI may be used to represent the common VTEP VNI and the VTEP VNI in subsequent descriptions. It should be understood that in this embodiment of this application, in addition to setting the common VTEP VNI and the VTEP VNI to be the same, the common VTEP VNI and the VTEP VNI may be set<!-- EPO <DP n="14"> --> to be different. Further, different VTEP VNIs may be set, and this embodiment of this application is implemented with reference to the foregoing descriptions.</p>
<p id="p0036" num="0036">A route distinguisher (RD) field in the second IMET route is used to indicate an EVPN instance (EVI) corresponding to the second NVE device. An Ethernet tag field in the second IMET route may be set to a virtual local area network identifier (VLAN ID or VID) corresponding to a MAC address included in a CE device connected to the second NVE device or set to a BD corresponding to the second NVE device. An IP address length field in the second IMET route is used to indicate a length of the originating router's IP address.</p>
<p id="p0037" num="0037">The PMSI tunnel attribute of the second IMET route further includes a tunnel type field, and the tunnel type field is used to indicate a type of an established tunnel. In this embodiment of this application, a value of the tunnel type field is set to 6, and this is used to identify that a type of an established tunnel is ingress replication. The second IMET route further includes a VXLAN tunnel attribute, and a format of the VXLAN tunnel attribute is similar to the attribute format shown in <figref idref="f0007">FIG. 6</figref> or <figref idref="f0008">FIG. 7</figref>. A difference lies in that the VTEP address field in <figref idref="f0007">FIG. 6</figref> or the VTEP VNI field in <figref idref="f0008">FIG. 7</figref> is replaced with a VXLAN tunnel type field. The VXLAN tunnel type field is used to indicate that an established tunnel is a VXLAN tunnel. A value of the VXLAN tunnel type field is specifically determined by a standard organization. For example, the value of the VXLAN tunnel type field is 8. For an implementation in which the first NVE device establishes a VXLAN tunnel by using the second IMET route, refer to subsequent descriptions of this embodiment. The PMSI tunnel attribute of the second IMET route further includes a tunnel identifier field. In this embodiment of this application, the common VTEP address may be filled in the tunnel identifier field.</p>
<p id="p0038" num="0038">S103. The first NVE device determines whether the common VTEP address included in the originating router's IP address field in the second IMET route is the same as a common VTEP address stored in the first NVE device.</p>
<p id="p0039" num="0039">The first NVE device can send, to a BGP peer of the first NVE device, an IMET route whose originating router's IP address field carries the common VTEP address stored in the first NVE device. The common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device.</p>
<p id="p0040" num="0040">The second NVE device can advertise the second IMET route to the outside, and the first NVE device and the second NVE device are a pair of BGP peers. Therefore, the first NVE device can receive the second IMET route.</p>
<p id="p0041" num="0041">After receiving the second IMET route, the first NVE device parses the second IMET route to obtain the common VTEP address included in the originating router's IP address field in the<!-- EPO <DP n="15"> --> second IMET route. The first NVE device determines whether the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device. In this embodiment of this application, the first NVE device and the second NVE device each include the common VTEP. Therefore, the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device. When advertising an IMET route to the outside, the first NVE device adds the common VTEP address stored in the first NVE device to an originating router's IP address field in the IMET route. To be specific, the common VTEP address stored in the first NVE device is the common VTEP address in the common VTEP included in the first NVE device. If the first NVE device determines that the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, the first NVE device may determine that the first NVE device and the second NVE device belong to a same NVE device set.</p>
<p id="p0042" num="0042">S104. When the first NVE device determines that the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, the first NVE device establishes a VXLAN tunnel from the first NVE device to the second NVE device based on the second VTEP address in the second IMET route.</p>
<p id="p0043" num="0043">Based on the foregoing result of determining, the first NVE device can establish the VXLAN tunnel from the first NVE device to the second NVE device based on the second VTEP address. Specifically, the first NVE device continues to parse the second IMET route to obtain the second VTEP address in the second IMET route, and establishes the VXLAN tunnel from the first NVE device to the second NVE device by using the second VTEP address as a destination endpoint address of the VXLAN tunnel.</p>
<p id="p0044" num="0044">In a possible implementation, with reference to the descriptions of S101 and S102, the second VTEP address is carried in a VXLAN attribute. Based on the foregoing result of determining, that is, the first NVE device determines that the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, the first NVE device checks whether the second IMET route carries the VXLAN attribute. If the first NVE device determines that the second IMET route carries the VXLAN attribute, the first NVE device obtains the second VTEP address in the VXLAN attribute, and establishes the VXLAN tunnel from the first NVE device to the second NVE device by using the second VTEP address as the destination endpoint address of the<!-- EPO <DP n="16"> --> VXLAN tunnel.</p>
<p id="p0045" num="0045">For example, based on that the value of the tunnel type field in the PMSI tunnel attribute of the second IMET route is 6, the first NVE device determines that the type of the established tunnel is ingress replication. The first NVE device parses the VXLAN tunnel attribute of the second IMET route to obtain a value of the VXLAN tunnel type field in the VXLAN tunnel attribute, so as to determine that the established tunnel is a VXLAN tunnel. After determining that the established tunnel is a VXLAN tunnel, the first NVE device generates a VXLAN tunnel table and a VXLAN tunnel ingress replication table. The VXLAN tunnel table includes a tunnel identifier, a source endpoint address, and a destination endpoint address. The tunnel identifier is used to identify a VXLAN tunnel. The source endpoint address is the first VTEP address included in the first NVE device, for example, 1.1.1.1. The destination endpoint address is the second VTEP address obtained from the second IMET route, for example, 2.2.2.2. The VXLAN tunnel ingress replication table includes a VNI and a BGP peer address. Based on the foregoing descriptions, the VNI may be obtained from the MPLS label field included in the PMSI tunnel attribute or from the VTEP VNI attribute. The BGP peer address is the second VTEP address obtained from the second IMET route, for example, 2.2.2.2. Therefore, the first NVE device establishes the VXLAN tunnel from the first NVE device to the second NVE device.</p>
<p id="p0046" num="0046">If the first NVE device determines that a VTEP address included in an originating router's IP address field in a received IMET route is different from the common VTEP address stored in the first NVE device, the first NVE device may determine that the first NVE device and a device that sends the IMET route do not belong to a same NVE device set. The first NVE device establishes, based on the VTEP address included in the originating router's IP address field in the received IMET route, a VXLAN tunnel from the first NVE device to the device that sends the IMET route, instead of establishing the VXLAN tunnel based on a VTEP address in a VXLAN attribute. Similarly, for details, refer to a process of establishing a VXLAN tunnel between a PE device and an NVE device set described in a subsequent embodiment.</p>
<p id="p0047" num="0047">If the first NVE device determines that the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, but cannot further find the second VTEP address or the VXLAN attribute, the first NVE device discards the second IMET route, and returns an error message to the second NVE device. Further, optionally, the first NVE device may feed back the error message to a network management device of the EVPN VXLAN. This setting helps improve reliability of establishing a VXLAN tunnel.</p>
<p id="p0048" num="0048">Optionally, S105. The first NVE device sends a first IMET route to the second NVE device,<!-- EPO <DP n="17"> --> where an originating router's IP address field in the first IMET route carries the common VTEP address stored in the first NVE device, the first IMET route further includes a first VTEP address, the first VTEP address is used by the second NVE device to establish the VXLAN tunnel from the second NVE device to the first NVE device, and the common VTEP address stored in the first NVE device is different from the first VTEP address.</p>
<p id="p0049" num="0049">For an implementation process in which the first NVE device sends the first IMET route to the second NVE device, and an implementation of the first IMET route, refer to the descriptions of S101 and S102 in this embodiment. Details are not described herein again.</p>
<p id="p0050" num="0050">After receiving the first IMET route, the second NVE device may establish the VXLAN tunnel from the second NVE device to the first NVE device based on the first IMET route. For an implementation process in which the second NVE device establishes the VXLAN tunnel from the second NVE device to the first NVE device based on the first IMET route, refer to the descriptions of S103 and S104 in this embodiment. Details are not described herein again.</p>
<p id="p0051" num="0051">It should be understood that the descriptions of the foregoing embodiment constitute no limitation on a sequence of an execution process in S105 and execution processes in S101 to S104. For example, S105 may be performed before S101, S105 and S101 may be simultaneously triggered, or S105 may be performed after S101.</p>
<p id="p0052" num="0052">Through the foregoing process, the VXLAN tunnel can be established between the first NVE device and the second NVE device, and endpoint addresses of two ends of the VXLAN tunnel are the first VTEP address and the second VTEP address.</p>
<p id="p0053" num="0053">In the foregoing implementation, in an EVPN VXLAN application scenario, an NVE device set including at least two NVE devices includes a common VTEP address. The common VTEP address is used to identify a common VTEP, and the common VTEP is deployed on each NVE device in the NVE device set. In addition, each NVE device in the NVE device set includes a VTEP address, and the VTEP address is used to identify a VTEP included in a corresponding NVE device. An NVE device in the NVE device set establishes a VXLAN tunnel between the NVE devices in the NVE device set based on a VTEP address and the common VTEP address by using an IMET route. Therefore, in the EVPN VXLAN application scenario, NVE devices in the NVE device set are interconnected through a VXLAN tunnel, so that a link between NVE devices in the NVE device set is not limited to a physical direct link. The VXLAN tunnel is used to implement interconnection, so that even if a switching node exists between the NVE devices in the NVE device set, implementation of the EVPN VXLAN is not affected. In addition, when the NVE device in the NVE device set is deployed, the NVE device is not affected by a deployment region and distance, thereby reducing deployment complexity. Further, an<!-- EPO <DP n="18"> --> interconnection link between the NVE devices in the NVE device set is no longer affected by a physical direct link, thereby helping improve deployment flexibility.</p>
<p id="p0054" num="0054">Optionally, based on the descriptions of <figref idref="f0001">FIG. 1</figref> in the foregoing embodiment, the EVPN VXLAN further includes a PE device. The PE device and the first NVE device are a pair of BGP peers, the PE device and the second NVE device are a pair of BGP peers, and the PE device and the third NVE device are a pair of BGP peers. A process of establishing a VXLAN tunnel between the PE device and the NVE device set is described below by using <figref idref="f0001">FIG. 1</figref> as an example. The route processing method further includes the following steps.</p>
<p id="p0055" num="0055">S201. The first NVE device sends the first IMET route to the PE device.</p>
<p id="p0056" num="0056">S202. The second NVE device sends the second IMET route to the PE device.</p>
<p id="p0057" num="0057">S203. The third NVE device sends the third IMET route to the PE device.</p>
<p id="p0058" num="0058">Based on the descriptions of <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref> in the foregoing embodiment, as NVE devices in the NVE device set, the first NVE device, the second NVE device, and the third NVE device advertise IMET routes to respective BGP peers of the devices. To be specific, the first NVE device advertises the first IMET route to a BGP peer of the first NVE device, the second NVE device advertises the second IMET route to a BGP peer of the second NVE device, and the third NVE device advertises the third IMET route to a BGP peer of the third NVE device. For implementations of the first IMET route, the second IMET route, and the third IMET route, refer to descriptions of the foregoing embodiment. Details are not described herein again.</p>
<p id="p0059" num="0059">S204. The PE device receives the first IMET route, the second IMET route, and the third IMET route.</p>
<p id="p0060" num="0060">S205. The PE device establishes a VXLAN tunnel from the PE device to the NVE device set based on the first IMET route, the second IMET route, and the third IMET route.</p>
<p id="p0061" num="0061">Because the PE device is a BGP peer of each NVE device in the NVE device set, the PE device can receive the first IMET route, the second IMET route, and the third IMET route. S204 and S205 may be implemented in two possible manners.</p>
<p id="p0062" num="0062">In one possible implementation, after receiving the IMET routes sent by all the BGP peers, the PE device establishes a VXLAN tunnel. After receiving the three IMET routes, the PE device parses the three IMET routes separately to obtain common VTEP addresses included in originating router's IP address fields in the three IMET routes. If the PE device determines that the common VTEP addresses included in the originating router's IP address fields in the three IMET routes are the same, the PE device may determine that the NVE devices that send the three IMET routes belong to a same NVE device set. The PE device randomly selects an IMET route from the three IMET routes, and the PE device establishes, by using the common VTEP address<!-- EPO <DP n="19"> --> included in the selected IMET route as a destination endpoint address of a VXLAN tunnel, the VXLAN tunnel from the PE device to a common VTEP including the common VTEP address.</p>
<p id="p0063" num="0063">In the other possible implementation, after receiving any IMET route in the three IMET routes, the PE device establishes a VXLAN tunnel. For example, after receiving the first IMET route sent by the first NVE device, the first PE device parses the first IMET route to obtain a common VTEP address included in an originating router's IP address field in the first IMET route. The PE device establishes, by using the common VTEP address included in the first IMET route as a destination endpoint address of a VXLAN tunnel, the VXLAN tunnel from the PE device to a common VTEP including the common VTEP address. After the VXLAN tunnel is established, when the PE device receives the second IMET route sent by the second NVE device or the third IMET route sent by the third NVE device, and determines that a common VTEP address included in an originating router's IP address field in the second IMET route or the third IMET route is the same as the common VTEP address used to establish the VXLAN tunnel, the PE device no longer establishes the VXLAN tunnel from the PE device to the common VTEP including the common VTEP address.</p>
<p id="p0064" num="0064">In the foregoing two implementations, for a specific implementation of establishing a VXLAN tunnel, refer to the descriptions of the foregoing embodiments. Details are not described herein again. In the foregoing two implementations, the common VTEP addresses included in the originating router's IP address fields in the three IMET routes are the same. After the PE device receives IMET routes having a same common VTEP address, the PE device considers that only one VTEP corresponding to the common VTEP address exists at a peer end of the PE device. Therefore, the PE device establishes a VXLAN tunnel for the common VTEP address only once, instead of establishing a VXLAN tunnel for the common VTEP address stored in each NVE device in an NVE device set. In this way, a VXLAN tunnel that is from the PE device to the common VTEP including the common VTEP address and that is established by the PE device by using the common VTEP address as the destination endpoint address of the VXLAN tunnel may be referred to as a VXLAN tunnel from the PE device to the NVE device set.</p>
<p id="p0065" num="0065">Optionally, the three IMET routes each include a VNI. For establishment of a VXLAN tunnel, the VNI is the common VTEP VNI described above. After determining that the three IMET routes include the same common VTEP address, the PE device further determines that the three IMET routes include a same common VTEP VNI, so as to establish the VXLAN tunnel from the PE device to the NVE device set. For explanations of the common VTEP VNI, refer to the corresponding descriptions of the foregoing embodiments. Details are not described herein again.<!-- EPO <DP n="20"> --></p>
<p id="p0066" num="0066">S206. The PE device sends an IMET route to each of the first NVE device, the second NVE device, and the third NVE device, where a next hop field and an originating router's IP address field that is in the IMET route each include a VTEP address of the PE device, and the VTEP address of the PE device is used to identify a VTEP included in the PE device.</p>
<p id="p0067" num="0067">The PE device may advertise the IMET route to a BGP peer of the PE device. For a format and basic usage of the IMET route, refer to descriptions of the RFC 7432. For example, in this embodiment of this application, a value of the VTEP address included in the VTEP of the PE device is set to 4.4.4.4. An example in which the first NVE device receives the IMET route sent by the PE device is used as an example below for description. It should be understood that the second NVE device and the third NVE device may perform a same processing process.</p>
<p id="p0068" num="0068">S207. The first NVE device receives the IMET route from the PE device.</p>
<p id="p0069" num="0069">S208. The first NVE device establishes a VXLAN tunnel from the first NVE device to the PE device based on the VTEP address from the PE device, where the VTEP address of the PE device is not the same as a common VTEP address stored in the first NVE device.</p>
<p id="p0070" num="0070">After receiving the IMET route sent by the PE device, the first NVE device parses the IMET route to obtain the VTEP address of the PE device that is carried in the originating router's IP address field in the IMET route, and establishes the VXLAN tunnel from the first NVE device to the PE device by using the VTEP address as a destination endpoint address of the VXLAN tunnel. Optionally, the IMET route further includes a common VTEP VNI. The first NVE device obtains the common VTEP VNI, and establishes a VXLAN tunnel that is corresponding to the common VTEP VNI and that is from the first NVE device to the PE device.</p>
<p id="p0071" num="0071">Optionally, after obtaining the VTEP address of the PE device, the first NVE device may perform a similar determining process as S103 and S104. To be specific, if the first NVE device determines that the VTEP address of the PE device is different from the common VTEP address stored in the first NVE device, the first NVE device may determine that the first NVE device and the PE device do not belong to a same NVE device set. The first NVE device establishes the VXLAN tunnel from the first NVE device to the PE device by using the common VTEP address as a source endpoint address, instead of establishing the VXLAN tunnel from the first NVE device to the PE device by using a first VTEP address as the source endpoint address.</p>
<p id="p0072" num="0072">Based on S207 and S208, the second NVE device establishes a VXLAN tunnel from the second NVE device to the PE device, and the third NVE device establishes a VXLAN tunnel from the third NVE device to the PE device. With reference to the foregoing, the three VXLAN tunnels established to the PE device by the first NVE device, the second NVE device, and the third NVE device are the same, that is, source endpoint addresses of the three VXLAN tunnels<!-- EPO <DP n="21"> --> each are the common VTEP address, destination endpoint addresses of the three VXLAN tunnels each are the VTEP address of the PE device, and the three VXLAN tunnels each are corresponding to the common VTEP VNI. Correspondingly, the PE device establishes a VXLAN tunnel from the PE device to the NVE device set, a source endpoint address is the VTEP address of the PE device, and a destination endpoint address is the common VTEP address. In this way, the PE device considers that only one NVE device exists at the peer end. Actually, the NVE device is the NVE device set. In addition, the first NVE device, the second NVE device, and the third NVE device can still send traffic through the VXLAN tunnels respectively established to the PE device.</p>
<p id="p0073" num="0073">Based on the foregoing embodiment, this embodiment of this application may be applied to a network scenario in which more than two NVE devices form an NVE device set. Using <figref idref="f0001">FIG. 1</figref> as an example, the NVE device set includes three NVE devices. According to the method shown in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref>, a first VXLAN tunnel is established between the first NVE device and the second NVE device, a second VXLAN tunnel is established between the second NVE device and the third NVE device, and a third VXLAN tunnel is established between the first NVE device and the third NVE device. In this way, according to the technical solution in this application, a network scenario in which one CE device is connected to three or more NVE devices may be implemented, that is, the CE device is multi-homed to three or more NVE devices. Using <figref idref="f0001">FIG. 1</figref> as an example, the first CE device is multi-homed to the first NVE device, the second NVE device, and the third NVE device. The foregoing implementation is an all-active redundancy mode of the EVPN VXLAN. To be specific, a plurality of NVE devices are connected to at least one CE device by using ESs, and the plurality of NVE devices form a device set in the active-active redundancy mode and are all used to forward traffic. In comparison, in an existing all-active redundancy mode of the EVPN VXLAN, a dual-active redundancy mode is used, and a CE device can be dual-homed to a maximum of two NVEs. In addition, the two NVE devices are directly connected to each other by using a physical link. For example, the two NVE devices are connected to each other by using a peer link. Therefore, a further beneficial effect of this embodiment of this application lies in that the active-active redundancy mode supports more NVE devices, thereby helping improve reliability of the EVPN VXLAN and flexibility of network deployment.</p>
<p id="p0074" num="0074"><figref idref="f0004">FIG. 3</figref> is a schematic structural diagram of another EVPN VXLAN according to an embodiment of this application. <figref idref="f0004">FIG. 3</figref> shows the following: After a VXLAN tunnel between NVE devices in an NVE device set is established by using the technical solution provided in the foregoing embodiments, a designated forwarder (DF) is elected, and broadcast, unknown unicast,<!-- EPO <DP n="22"> --> and multicast (BUM) traffic are forwarded. <figref idref="f0004">FIG. 3</figref> shows three CE devices as an example: a first CE device, a second CE device, and a third CE device. The first CE device is multi-homed to the first NVE device, the second NVE device, and the third NVE device, that is, the first CE device communicates with the first NVE device, the second NVE device, and the third NVE device separately. The second CE device is dual-homed to the first NVE device and the second NVE device, that is, the second CE device communicates with the first NVE device and the second NVE device separately. The third CE device is single-homed to the second NVE device, that is, the third CE device communicates with the second NVE device. An example in which BUM traffic is forwarded from a PE device to the first CE device, the second CE device, and the third CE device is used to describe <figref idref="f0004">FIG. 3</figref>.</p>
<p id="p0075" num="0075">The first CE device is multi-homed to the first NVE device, the second NVE device, and the third NVE device by using a plurality of Ethernet links, and therefore the plurality of Ethernet links form an ES, as shown by an ES 1 in <figref idref="f0004">FIG. 3</figref>. ESI values of ESs 1 of three Ethernet links that connect the first CE device to the first NVE device, the second NVE device, and the third NVE device are a same value. The first NVE device, the second NVE device, and the third NVE device separately send Ethernet segment (ES) routes to respective BGP peers of the devices, and the ES routes are used for DF election. The ES route includes an RD field, an ESI field, an IP address length field, and an originating router's IP address field. Definitions of the fields are similar to that of the foregoing IMET route. Details are not described herein again. In addition, for a format and basic usage of the ES route, refer to descriptions of Chapter 7.4 and Chapter 8.5 of the RFC 7432. Using the first CE device in <figref idref="f0004">FIG. 3</figref> as an example, the first NVE device receives ES routes from the second NVE device and the third NVE device. The first NVE device determines, based on the ES routes received from the second NVE device and the third NVE device, the first NVE device as a DF in the ES that includes the plurality of Ethernet links. Likewise, the second NVE device is determined as a non-designated forwarder (NDF) in the ES that includes the plurality of Ethernet links, and the third NVE device is determined as an NDF in the ES that includes the plurality of Ethernet links. As shown in <figref idref="f0004">FIG. 3</figref>, the ES 1 between the first CE device and the first NVE device is a DF, the ES 1 between the first CE device and the second NVE device is an NDF, and the ES 1 between the first CE device and the third NVE device is an NDF. The second CE device is dual-homed to the first NVE device and the second NVE device by using two Ethernet links, and the two Ethernet links form an ES, as shown by an ES 2 in <figref idref="f0004">FIG 3</figref>. ESI values of ESs 2 of the two Ethernet links that connect the second CE device to the first NVE device and the second NVE device are a same value. Likewise, the second NVE device is determined as a DF in the ES that includes the two Ethernet links, and the first NVE<!-- EPO <DP n="23"> --> device is determined as an NDF in the ES that includes the two Ethernet links. The third CE device is single-homed to the second NVE device, and therefore has no DF election process.</p>
<p id="p0076" num="0076">The NVE device may send the ES route to a BGP peer of the NVE device in the following manner. The NVE device may send an update message to the BGP peer of the NVE device, and the update message carries an MP_REACH_NLRI attribute. The MP_REACH_NLRI attribute includes an EVPN NLRI field and a next hop field. The EVPN NLRI field is used to carry the ES route.</p>
<p id="p0077" num="0077">The PE device sends BUM traffic to an NVE device set based on a VXLAN tunnel. Specifically, the PE device sends a VXLAN packet to the NVE device set according to a hash rule, and the VXLAN packet carries the BUM traffic. Optionally, the VXLAN packet further carries a BUM mark, and the BUM mark is used to identify that traffic carried in the VXLAN packet is the BUM traffic. In a possible implementation, the BUM mark may be carried in a VXLAN header in the VXLAN packet.</p>
<p id="p0078" num="0078">An example in which the VXLAN packet is hashed to the second NVE device is used for description. In this embodiment and a subsequent embodiment, to distinguish between the VXLAN packet transmitted between the PE device and the NVE device set and a VXLAN packet transmitted between NVE devices in the NVE device set, the VXLAN packet transmitted between the PE device and the NVE device set is named as a PE VXLAN packet. The second NVE device receives the PE VXLAN packet from the PE device, parses the PE VXLAN packet, and may determine, based on the BUM mark carried in the PE VXLAN packet, that traffic carried in the PE VXLAN packet is BUM traffic. The second NVE device forwards the BUM traffic to a CE device that has a connection relationship with the second NVE device, and the second NVE device further forwards the BUM traffic to another NVE device in the NVE device set.</p>
<p id="p0079" num="0079">That the second NVE device forwards the BUM traffic to a CE device that has a connection relationship with the second NVE device includes the following: The second NVE device determines that the ES 2 between the second NVE device and the second CE device is in a DF state, and the second NVE device transmits the BUM traffic to an outbound interface that connects the second NVE device and the ES 2, and sends the BUM traffic to the second CE device by using the ES 2. The second NVE device determines that the ES 1 between the second NVE device and the first CE device is in an NDF state, and the second NVE device does not transmit the BUM traffic to an outbound interface that connects the second NVE device and the ES 1, so that the second NVE device avoids sending the BUM traffic to the first CE device by using the ES 1. In addition, the second NVE device determines that an ES 3 between the second<!-- EPO <DP n="24"> --> NVE device and the third CE device does not have a DF or an NDF state, and directly sends the BUM traffic to the third CE device by using the ES 3.</p>
<p id="p0080" num="0080">That the second NVE device forwards the BUM traffic to another NVE device in the NVE device set includes the following: The second NVE device parses the PE VXLAN packet from the PE device to obtain the BUM traffic. The second NVE device determines that the BUM traffic is from the PE device, encapsulates the BUM traffic as a VXLAN packet, sends the VXLAN packet to the first NVE device through a first VXLAN tunnel, and sends the VXLAN packet to the second NVE device through a second VXLAN tunnel.</p>
<p id="p0081" num="0081">After receiving the VXLAN packet through the first VXLAN tunnel, the first NVE device can determine that the BUM traffic in the VXLAN packet is received through the first VXLAN tunnel, and no longer forwards the BUM traffic to a third VXLAN tunnel connected to the first NVE device. As shown in <figref idref="f0004">FIG. 3</figref>, after receiving the VXLAN packet through the first VXLAN tunnel, the first NVE device parses the VXLAN packet to obtain the BUM traffic, and no longer forwards the BUM traffic to the third NVE device through a third VXLAN tunnel. To be specific, the first NVE device avoids forwarding the BUM traffic to the third NVE device through the VXLAN tunnel from the first NVE device to the third NVE device, based on that the BUM traffic is received through the first VXLAN tunnel. A beneficial effect based on the foregoing lies in that the BUM traffic is prevented from being dual-transmitted.</p>
<p id="p0082" num="0082">After receiving the VXLAN packet through the first VXLAN tunnel, the first NVE device parses the VXLAN packet to obtain the BUM traffic, and further sends the BUM traffic to a CE device connected to the first NVE device. As shown in <figref idref="f0004">FIG. 3</figref>, the first NVE device determines that the ES 1 between the first NVE device and the first CE device is in a DF state, and the first NVE device transmits the BUM traffic to an outbound interface that connects the first NVE device and the ES 1, and sends the BUM traffic to the first CE device by using the ES 1. The first NVE device determines that the ES 2 between the first NVE device and the second CE device is in an NDF state, and the first NVE device does not send the BUM traffic to an outbound interface that connects the first NVE device and the ES 2, so that the first NVE device avoids sending the BUM traffic to the second CE device by using the ES 2.</p>
<p id="p0083" num="0083">After receiving the VXLAN packet through the second VXLAN tunnel, the third NVE device parses the VXLAN packet to obtain the BUM traffic. In one aspect, the third NVE device avoids forwarding the BUM traffic to the first NVE device through the third VXLAN tunnel. In another aspect, the third NVE device determines that the ES 1 between the third NVE device and the first CE device is in an NDF state, and the third NVE device does not transmit the BUM traffic to an outbound interface that connects the third NVE device and the ES 1, so that the third<!-- EPO <DP n="25"> --> NVE device avoids sending the BUM traffic to the first CE device by using the ES 1.</p>
<p id="p0084" num="0084">In the foregoing implementation, not only BUM traffic can be normally forwarded through a VXLAN tunnel between NVE devices, but also forwarding of the BUM traffic to a VXLAN tunnel between other NVE devices can be avoided, so as to avoid dual transmission of the BUM traffic.</p>
<p id="p0085" num="0085">Likewise, a processing of forwarding BUM traffic from a CE device to a PE device and another CE device is an inverse process of the foregoing implementation. Therefore, forwarding of the BUM traffic may be completed by referring to the foregoing manner. For example, BUM traffic is forwarded from the second CE device to the PE device, the first CE device, and the third CE device. The BUM traffic arrives at the second NVE device by using the ES 2 between the second NVE device and the second CE device. The second NVE device encapsulates the BUM traffic as a PE VXLAN packet, and forwards the PE VXLAN packet to the PE device through a VXLAN tunnel between the second NVE device and the PE device. The second NVE device further encapsulates the BUM traffic as a VXLAN packet, and forwards the VXLAN packet to the first NVE device and the third NVE device through the first VXLAN tunnel and the second VXLAN tunnel respectively. The second NVE device further directly forwards the BUM traffic to the third CE device by using the ES 3, but avoids forwarding the BUM traffic to the first CE device by using the ES 1 between the second NVE device and the first CE device. After receiving the BUM traffic from the second NVE device, the first NVE device avoids forwarding the BUM traffic to the third NVE device through the third VXLAN tunnel, and avoids forwarding the BUM traffic to the PE device through the VXLAN tunnel. The first NVE device forwards the BUM traffic to the first CE device by using the ES 1, but avoids forwarding the BUM traffic to the second CE device by using the ES 2. After receiving the BUM traffic from the second NVE device, the third NVE device avoids forwarding the BUM traffic to the first NVE device through the third VXLAN tunnel, avoids forwarding the BUM traffic to the first CE device by using the ES 1, and further avoids forwarding the BUM traffic to the PE device through the VXLAN tunnel.</p>
<p id="p0086" num="0086">In the foregoing enumerated process in which the BUM traffic is forwarded from the second CE device to the PE device, the first CE device, and the third CE device, the BUM traffic sent by the second CE device arrives at the second NVE device by using the ES 2 between the second NVE device and the second CE device. However, in an actual scenario, the BUM traffic sent by the second CE device may arrive at the first NVE device by using the ES 2 between the first NVE device and the second CE device, because the second CE device does not care about a DF state or an NDF state of a communication link. As shown in <figref idref="f0005">FIG. 4</figref>, when the second CE device<!-- EPO <DP n="26"> --> forwards the BUM traffic to the first NVE device by using the ES 2, the first NVE device encapsulates the BUM traffic as a VXLAN packet, and forwards the VXLAN packet to the second NVE device through the first VXLAN tunnel. Because the ES 2 between the second NVE device and the second CE device is in a DF state, the second NVE device forwards the BUM traffic to the second CE device by using the ES 2, as shown by a dashed line arrow between the second NVE device and the second CE device in <figref idref="f0005">FIG. 4</figref>. In this way, the second CE device, the first NVE device, and the second NVE device form a BUM traffic loop. It should be understood that to more clearly present a loop problem, a BUM traffic forwarding line shown in <figref idref="f0005">FIG. 4</figref> is only a part at which a loop occurs, and <figref idref="f0005">FIG. 4</figref> does not show an entire forwarding line of the BUM traffic in the EVPN VXLAN.</p>
<p id="p0087" num="0087">A method for resolving the problem of the BUM traffic loop including the second CE device, the first NVE device, and the second NVE device is specifically described below with reference to <figref idref="f0005">FIG. 4</figref>. The second CE device is dual-homed to the first NVE device and the second NVE device by using two Ethernet links, and the two Ethernet links form an ES, as shown by an ES 2 in <figref idref="f0005">FIG 4</figref>. ESI values of ESs 2 of the two Ethernet links that connect the second CE device to the first NVE device and the second NVE device are a same value. The second NVE device determines, based on an ES route received from the first NVE device, the second NVE device as a DF in the ES that includes the two Ethernet links.</p>
<p id="p0088" num="0088">S301. The second NVE device sends an Ethernet Auto-Discovery per Ethernet segment (Ethernet A-D per ES) route to the first NVE device, where the Ethernet A-D per ES route carries an ESI label allocated by the second NVE device to an Ethernet link between the second CE device and the second NVE device.</p>
<p id="p0089" num="0089">S302. The first NVE device receives the Ethernet A-D per ES route.</p>
<p id="p0090" num="0090">Because the first NVE device and the second NVE device are a pair of BGP peers, the second NVE device can send the Ethernet A-D per ES route to the first NVE device. The Ethernet A-D per ES route is an Ethernet Auto-Discovery route. For a format and basic usage of the Ethernet Auto-Discovery route, refer to descriptions of Chapter 7.1 and Chapter 8.2 of the RFC 7432. The Ethernet A-D per ES route may carry an ESI label extended community attribute, and the ESI label extended community attribute may carry the ESI label. After receiving the Ethernet A-D per ES route, the first NVE device may determine, based on an ESI included in the Ethernet A-D per ES route, that the second CE device is not only connected to the first NVE device, but also connected to the second NVE device. In addition, the first NVE device may determine, based on the ESI label carried in the Ethernet A-D per ES route, a value of the ESI label allocated by the second NVE device to the Ethernet link between the second CE device and<!-- EPO <DP n="27"> --> the second NVE device.</p>
<p id="p0091" num="0091">The NVE device may send the Ethernet A-D per ES route to a BGP peer of the NVE device in the following manner. The NVE device may send an update message to the BGP peer of the NVE device, and the update message carries an MP_REACH_NLRI attribute. The MP_REACH_NLRI attribute includes an EVPN NLRI field and a next hop field. The EVPN NLRI field is used to carry the Ethernet A-D per ES route.</p>
<p id="p0092" num="0092">S303. The first NVE device sends a VXLAN packet to the second NVE device through the first VXLAN tunnel, where an original Ethernet payload in the VXLAN packet includes BUM traffic, the VXLAN packet carries the ESI label, and the BUM traffic is from the CE device.</p>
<p id="p0093" num="0093">S304. The second NVE device receives, through the first VXLAN tunnel, the VXLAN packet sent by the first NVE device.</p>
<p id="p0094" num="0094">As shown in <figref idref="f0005">FIG. 4</figref>, when the second CE device forwards the BUM traffic to the first NVE device by using the ES 2, after receiving the BUM traffic, the first NVE device determines an ESI of an ES 1 between the second CE device and the first NVE device, and may further determine that the second CE device is not only connected to the first NVE device, but also connected to the second NVE device. Therefore, the first NVE device encapsulates the BUM traffic as a VXLAN packet. The original Ethernet payload in the VXLAN packet includes the BUM traffic, and the VXLAN packet carries the ESI label. In other words, the VXLAN packet sent by the first NVE device to the second NVE device through the first VXLAN tunnel not only includes the BUM traffic, but also carries the ESI label allocated by the second NVE device to the Ethernet link between the second CE device and the second NVE device. For a definition of the original Ethernet payload, refer to descriptions of the RFC 7348.</p>
<p id="p0095" num="0095">Optionally, the VXLAN packet may carry the ESI label based on a format shown in <figref idref="f0006">FIG. 5</figref>. As shown in <figref idref="f0006">FIG. 5</figref>, the VXLAN packet includes a VXLAN tunnel part and the original Ethernet payload, the VXLAN tunnel part includes an outer Eth header (Ethernet header), an outer IP header, an outer UDP header, and a VXLAN header, and the original Ethernet payload carries the BUM traffic. The VXLAN packet further includes the ESI label, and the ESI label is encapsulated between the VXLAN header in the VXLAN packet and the original Ethernet payload. In addition, the VXLAN header carries indication information, and the indication information is used to indicate that the VXLAN packet carries the ESI label.</p>
<p id="p0096" num="0096">S305. The second NVE device avoids forwarding the BUM traffic to the CE device by using an ES between the second CE device and the second NVE device, based on that the VXLAN packet carries the ESI label.</p>
<p id="p0097" num="0097">The second NVE device parses the VXLAN packet to obtain the ESI label carried in the<!-- EPO <DP n="28"> --> VXLAN packet, and may determine, based on the value of the ESI label, that the ESI label is the ESI label allocated by the second NVE device to the Ethernet link between the second CE device and the second NVE device. The second NVE device no longer transmits the BUM traffic to an outbound interface that connects the second NVE device and the ES 2, so as to avoid forwarding the BUM traffic to the CE device by using the ES between the second CE device and the second NVE device.</p>
<p id="p0098" num="0098">The foregoing method is explained and described by using the loop shown in <figref idref="f0005">FIG. 4</figref> as an example. It should be understood that the foregoing method is not limited to resolving only the problem of the BUM traffic loop including the second CE device, the first NVE device, and the second NVE device, and can be used to resolve all loop problems generated in an EVPN VXLAN application scenario according to the foregoing method.</p>
<p id="p0099" num="0099">In the foregoing implementation, a format of the VXLAN packet is extended, so that the VXLAN packet can carry the ESI label, thereby resolving a loop problem generated in a process of forwarding the BUM traffic.</p>
<p id="p0100" num="0100">The EVPN VXLAN in this embodiment of this application may be further used to process a MAC route, so that after a VXLAN tunnel is established according to the method shown in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref>, the EVPN VXLAN may be used to guide forwarding of unicast traffic. A method for processing a MAC route by using the EVPN VXLAN is specifically described below with reference to <figref idref="f0001">FIG. 1</figref>. The second CE device is dual-homed to the first NVE device and the second NVE device by using two Ethernet links, and the two Ethernet links form an ES. ESI values of ESs 2 of the two Ethernet links that connect the second CE device to the first NVE device and the second NVE device are a same value.</p>
<p id="p0101" num="0101">S401. The first NVE device receives a Media Access Control/Internet Protocol advertisement (MAC/IP advertisement) route from the second NVE device, where the MAC/IP advertisement route includes a Media Access Control-virtual local area network identifier (MAC-VLAN ID), the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs, and the MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an Ethernet virtual private network (EVPN) site administered by the CE device.</p>
<p id="p0102" num="0102">Because the first NVE device and the second NVE device are a pair of BGP peers, the second NVE device can send the MAC/IP advertisement route to the first NVE device. Correspondingly, the first NVE device receives the MAC/IP advertisement route from the second NVE device. For a format and basic usage of the MAC/IP advertisement route, refer to<!-- EPO <DP n="29"> --> descriptions of Chapter 7.2, Chapter 9, and Chapter 14 of the RFC 7432. In this embodiment of this application, a MAC/IP advertisement route described in the RFC 7432 is extended, so that the MAC/IP advertisement route can carry the MAC-VLAN ID. The MAC-VLAN ID is used to indicate the VLAN to which the MAC address carried in the MAC/IP advertisement route belongs. The MAC address is used to identify the second CE device, or the MAC address is used to identify a host connected to the second CE device. The host is a physical device or a VM</p>
<p id="p0103" num="0103">Optionally, a new attribute is extended in this embodiment of this application to carry the MAC-VLAN ID. As shown in <figref idref="f0009">FIG. 8</figref>, a MAC-VLAN attribute is extended in this embodiment of this application to carry the MAC-VLAN ID. A type field and a sub type field are used to indicate a type of the MAC-VLAN attribute, and specific values of the type field and the sub type field each may be set according to a requirement of a standard organization. A flag field may be used to indicate whether the MAC-VLAN ID in the MAC-VLAN attribute is allowed to be read. For example, if the flag field is 0, it indicates that the MAC-VLAN ID in the MAC-VLAN attribute is not allowed to be read; or if the flag field is 1, it indicates that the MAC-VLAN ID in the MAC-VLAN attribute is allowed to be read. It should be understood that the foregoing functions of the flag field are an example, and a function of the flag field may correspondingly change based on a use scenario. The MAC-VLAN ID field is used to carry a value of the MAC-VLAN ID. A reserved field is used to implement further extension. The MAC-VLAN attribute may be carried in the MAC/IP advertisement route as an attribute, so as to implement the solution in this embodiment of this application.</p>
<p id="p0104" num="0104">S402. The first NVE device determines, based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, a local interface that is of the first NVE device and that connects to an Ethernet link between the second CE device and the first NVE device, where the ESI carried in the MAC/IP advertisement route is used to indicate an ES between the second CE device and the second NVE device.</p>
<p id="p0105" num="0105">The MAC/IP advertisement route sent by the second NVE device to the first NVE device includes an ESI field, and the ESI field is used to carry the ESI that indicates the Ethernet link between the second CE device and the second NVE device. An ESI value of an ES 2 between the second CE device and the first NVE device is equal to an ESI value of an ES 2 between the second CE device and the second NVE device. Therefore, the first NVE device can determine, based on the ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, the local interface that is of the first NVE device and that connects the Ethernet link between the second CE device and the first NVE device. In other words, the first NVE device may determine a local interface on the first NVE device based on the ESI and the MAC-VLAN ID, and the local<!-- EPO <DP n="30"> --> interface is used to communicate with a device identified by the MAC address carried in the MAC/IP advertisement route.</p>
<p id="p0106" num="0106">S403. A control plane of the first NVE device sends a first MAC entry to a forwarding plane of the first NVE device, where an outbound interface in the first MAC entry is the local interface of the first NVE device, and the first MAC entry includes the MAC address and the MAC-VLAN ID that are carried in the MAC/IP advertisement route.</p>
<p id="p0107" num="0107">The first NVE device delivers, from the control plane of the first NVE device to the forwarding plane of the first NVE device, the first MAC entry that includes the MAC address and the MAC-VLAN ID, so that the first NVE device can guide, based on the first MAC entry, forwarding of unicast traffic. The outbound interface in the first MAC entry is a local interface that is of the first NVE device and that connects to an Ethernet link between the second CE device and the first NVE device.</p>
<p id="p0108" num="0108">For example, as shown in <figref idref="f0001">FIG. 1</figref>, the PE device sends unicast traffic to the second CE device. It is assumed that the PE device hashes the unicast traffic to the second NVE device. The second NVE device receives a VXLAN packet from the PE device, and the VXLAN packet carries the unicast traffic. The second NVE device obtains the unicast traffic in the VXLAN packet, and forwards the unicast traffic to the second CE device based on a MAC entry stored in the second NVE device.</p>
<p id="p0109" num="0109">As shown in <figref idref="f0010">FIG. 9</figref>, if the ES 2 between the second NVE device and the second CE device is faulty, the unicast traffic cannot arrive at the second CE device by using the ES 2 between the second NVE device and the second CE device, as shown by a dashed line arrow in <figref idref="f0010">FIG. 9</figref>. The first NVE device and the second NVE device have performed S401 to S403. Therefore, the first NVE device has delivered, from the control plane of the first NVE device to the forwarding plane of the first NVE device, the first MAC entry that includes the MAC address and the MAC-VLAN ID. The second NVE device sends, to the first NVE device through the first VXLAN tunnel, the VXLAN packet that carries the unicast traffic. After receiving the VXLAN packet, the first NVE device obtains the unicast traffic, and forwards the unicast traffic to the second CE device based on the first MAC entry by using the ES 2 between the first NVE device and the second CE device.</p>
<p id="p0110" num="0110">In the foregoing implementation, a forwarding path may be redirected by using the MAC/IP advertisement route and a VXLAN tunnel between NVE devices, so that when a link fault occurs on an Ethernet link, normal forwarding of unicast traffic can still be ensured. The foregoing method is described by using an example in which a CE device is dual-homed to two NVE devices. It should be understood that the foregoing method may also be applied to a scenario in<!-- EPO <DP n="31"> --> which a CE device is multi-homed to more than two NVE devices.</p>
<p id="p0111" num="0111">Optionally, the foregoing MAC route processing method further includes the following step:<br/>
S404. The MAC/IP advertisement route is carried in MP_REACH_NLRI, a next hop field in the MP_REACH_NLRI includes a common VTEP address, the MAC/IP advertisement route further includes the second VTEP address, and the common VTEP address included in the next hop field in the MP_REACH_NLRI is the same as the common VTEP address included in the originating router's IP address field in the second IMET route. The method further includes the following: The control plane of the first NVE device sends a second MAC entry to the forwarding plane of the first NVE device based on the common VTEP address included in the next hop field in the MP_REACH_NLRI and the second VTEP address included in the MAC/IP advertisement route, where an outbound interface in the second MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the second MAC entry includes the MAC address carried in the MAC/IP advertisement route.</p>
<p id="p0112" num="0112">The second NVE device may send the MAC/IP advertisement route to the first NVE device in the following manner: The second NVE device may send an update message to the first NVE device, and the update message carries an MP_REACH_NLRI attribute. The MP_REACH_NLRI attribute includes an EVPN NLRI field and the next hop field. The EVPN NLRI field is used to carry the MAC/IP advertisement route. The next hop field includes the common VTEP address, and the MAC/IP advertisement route further includes the second VTEP address. The second NVE device may determine, based on the common VTEP address, that the first NVE device and the second NVE device belong to a same NVE device set. The second NVE device may determine, based on the second VTEP address, that the MAC/IP advertisement route is advertised by the second NVE device. The first NVE device sends the second MAC entry to the forwarding plane of the first NVE device. The outbound interface in the second MAC entry is the local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the second MAC entry includes the MAC address carried in the MAC/IP advertisement route.</p>
<p id="p0113" num="0113">For example, as shown in <figref idref="f0001">FIG. 1</figref>, the PE device sends unicast traffic to the second CE device. It is assumed that the PE device hashes the unicast traffic to the first NVE device. The first NVE device receives a PE VXLAN packet from the PE device, and the PE VXLAN packet carries the unicast traffic. The first NVE device obtains the unicast traffic in the PE VXLAN packet, and forwards the unicast traffic to the second CE device based on a MAC entry stored in<!-- EPO <DP n="32"> --> the first NVE device and by using the ES 2 between the first NVE device and the second CE device. In addition, the first NVE device has sent the second MAC entry to the forwarding plane of the first NVE device. The outbound interface in the second MAC entry is the local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the second MAC entry includes the MAC address. Therefore, the first NVE device may forward the unicast traffic to the second NVE device through the first VXLAN tunnel. The second NVE device forwards the unicast traffic to the second CE device based on the MAC entry stored in the second NVE device and by using the ES 2 between the second NVE device and the second CE device.</p>
<p id="p0114" num="0114">In the foregoing implementation, load sharing of the unicast traffic may be further implemented, thereby helping increase transmission bandwidth of the unicast traffic.</p>
<p id="p0115" num="0115">The foregoing MAC route processing is applicable to a scenario in which a CE device is connected to two NVE devices through dual homing, or a scenario in which a CE device is multi-homed to more than two NVE devices. A method for processing a MAC route by using the EVPN VXLAN used in a scenario in which a CE device is single-homed to one NVE device is specifically described below with reference to <figref idref="f0001">FIG. 1</figref>. As shown in <figref idref="f0001">FIG. 1</figref>, the third CE device is homed to the second NVE device.</p>
<p id="p0116" num="0116">S501. The first NVE device receives a MAC/IP advertisement route from the second NVE device, where the MAC/IP advertisement route is carried in MP_REACH_NLRI, a next hop field in the MP_REACH_NLRI includes a common VTEP address, the MAC/IP advertisement route includes a MAC-VLAN ID and the second VTEP address, the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs, and the MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an EVPN site administered by the CE device.</p>
<p id="p0117" num="0117">For an execution process in S501, refer to the corresponding explanations of S401 in the foregoing embodiment. Details are not described herein again.</p>
<p id="p0118" num="0118">S502. The first NVE device determines, based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, that the first NVE device has no local interface that connects to an Ethernet link between the CE device and the first NVE device, where the ESI carried in the MAC/IP advertisement route is used to indicate an ES between the CE device and the second NVE device.</p>
<p id="p0119" num="0119">With reference to the corresponding explanations of S402 in the foregoing embodiment, because the third CE device is connected to the second NVE device through single homing, an<!-- EPO <DP n="33"> --> ESI value of an ES 3 between the second NVE device and the third CE device is 0 or an invalid value. After receiving the MAC/IP advertisement route from the second NVE device, the first NVE device obtains the ESI carried in the MAC/IP advertisement route. If the first NVE device finds that the ESI value is 0 or an invalid value, the first NVE device considers that the ESI does not exist. Therefore, the first NVE device determines, based on the ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, that the first NVE device has no local interface that connects to the Ethernet link between the CE device and the first NVE device.</p>
<p id="p0120" num="0120">S503. A control plane of the first NVE device sends a MAC entry to a forwarding plane of the first NVE device based on the common VTEP address included in the next hop field in the MP REACH NLRI and the second VTEP address included in the MAC/IP advertisement route. An outbound interface in the MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device. The MAC entry includes the MAC address carried in the MAC/IP advertisement route.</p>
<p id="p0121" num="0121">The first NVE device performs S503 after determining that the first NVE device has no local interface that connects to the Ethernet link between the CE device and the first NVE device does not exist. For an execution process in S503, refer to the corresponding explanations of S404 in the foregoing embodiment. Details are not described herein again.</p>
<p id="p0122" num="0122">For example, as shown in <figref idref="f0011">FIG. 10</figref>, the PE device sends unicast traffic to the third CE device. It is assumed that the PE device hashes the unicast traffic to the first NVE device. The first NVE device receives a PE VXLAN packet from the PE device, and the PE VXLAN packet carries the unicast traffic. The first NVE device obtains the unicast traffic in the PE VXLAN packet, and the first NVE device locally does not find a MAC entry from the first NVE device to the third CE device. The first NVE device has performed S501 to S503, and therefore the first NVE device may forward the unicast traffic to the second NVE device through the first VXLAN tunnel. The second NVE device forwards the unicast traffic to the third CE device based on a MAC entry stored in the second NVE device and by using an ES 3 between the second NVE device and the third CE device.</p>
<p id="p0123" num="0123">In the foregoing implementation, it can be ensured that the CE device connected to the NVE device through single homing can normally receive the unicast traffic.</p>
<p id="p0124" num="0124">The EVPN VXLAN in this embodiment of this application may be further applied to a layer 3 forwarding scenario. Specifically, as shown in <figref idref="f0001">FIG. 1</figref>, virtual routing and forwarding (VRF) instances are separately deployed on the PE device, the first NVE device, the second NVE device, and the third NVE device. In this embodiment, for ease of description, the VRF instances deployed on the PE device, the first NVE device, the second NVE device, and the third NVE<!-- EPO <DP n="34"> --> device are set to a same VRF instance. It should be understood that a plurality of VRF instances may be configured on each of the devices, for example, different VRF instances are corresponding to different services. The first NVE device, the second NVE device, and the third NVE device advertise Internet Protocol prefix (IP Prefix) routes to respective BGP peers of the devices. The IP prefix route includes an RD field, an ESI field, an Ethernet tag ID field, an IP prefix length field, an IP prefix field, a gateway Internet Protocol address (GW IP Address) field, and an MPLS label field. Definitions of the foregoing fields are similar to the definitions in the foregoing embodiments of this application. The IP prefix field is used to indicate an IP address of a CE device or of a host connected to a CE device. The MPLS label field is used to indicate a layer 3 VNI, and the layer 3 VNI is corresponding to a VRF instance. The GW IP address field is set to 0, that is, an invalid value.</p>
<p id="p0125" num="0125">The NVE device may send the IP prefix route to a BGP peer of the NVE device in the following manner. The NVE device may send an update message to the BGP peer of the NVE device, and the update message carries an MP_REACH_NLRI attribute. The MP_REACH_NLRI attribute includes an EVPN NLRI field and a next hop field. The EVPN NLRI field is used to carry the IP prefix route.</p>
<p id="p0126" num="0126">In this embodiment, the next hop field in the MP_REACH_NLRI attribute that carries the IP prefix route and that is advertised by each of the first NVE device, the second NVE device, and the third NVE device includes the common VTEP address in the foregoing embodiment. As an extension of the IP prefix route, the IP prefix route further carries a VTEP address of an NVE device that sends the IP prefix route. Further, optionally, the IP prefix route may carry the VXLAN attribute described in the foregoing embodiment, and the VXLAN attribute carries a VTEP address. In a process of processing the IP prefix route, an IP route can be learned of and an IP routing entry can be delivered to a forwarding plane, so as to guide layer 3 forwarding of data traffic. The IP prefix route processing process and the layer 3 traffic forwarding process in this embodiment each are similar to the MAC route processing method in the foregoing embodiment. Details are not described herein again.</p>
<p id="p0127" num="0127"><figref idref="f0012">FIG. 11</figref> is a schematic structural diagram of a first NVE device 1000 according to an embodiment of this application. The first NVE device 1000 shown in <figref idref="f0012">FIG. 11</figref> may perform corresponding steps performed by the first NVE device in the method in the foregoing embodiment. As shown in <figref idref="f0012">FIG. 11</figref>, the first NVE device 1000 includes a receiving unit 1002 and a processing unit 1004.</p>
<p id="p0128" num="0128">The receiving unit 1002 is configured to receive a second IMET route from the second NVE device. An originating router's IP address field in the second IMET route includes a common<!-- EPO <DP n="35"> --> VTEP address, the second IMET route further includes a second VTEP address, and the common VTEP address included in the originating router's IP address field in the second IMET route is different from the second VTEP address.</p>
<p id="p0129" num="0129">The processing unit 1004 is configured to determine whether the common VTEP address included in the originating router's IP address field in the second IMET route is the same as a common VTEP address stored in the first NVE device. The first NVE device can send, to a BGP peer of the first NVE device, an IMET route whose originating router's IP address field carries the common VTEP address stored in the first NVE device. The common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device.</p>
<p id="p0130" num="0130">When the processing unit 1004 determines that the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, the processing unit 1004 is further configured to establish a VXLAN tunnel from the first NVE device to the second NVE device based on the second VTEP address in the second IMET route. Further, optionally, a VXLAN attribute in the second IMET route carries the second VTEP address.</p>
<p id="p0131" num="0131">Optionally, the first NVE device further includes a sending unit 1006. The sending unit 1006 is configured to send a first IMET route to the second NVE device. An originating router's IP address field in the first IMET route carries the common VTEP address stored in the first NVE device. The first IMET route further includes a first VTEP address, and the first VTEP address is used by the second NVE device to establish the VXLAN tunnel from the second NVE device to the first NVE device. The common VTEP address stored in the first NVE device is different from the first VTEP address. Optionally, a VXLAN attribute in the first IMET route carries the first VTEP address.</p>
<p id="p0132" num="0132">Optionally, the sending unit 1006 is further configured to send the first IMET route to a PE device. The receiving unit 1002 is further configured to receive an IMET route from the PE device. An originating router's IP address field in the IMET route from the PE device carries a VTEP address of the PE device. The processing unit 1004 is further configured to establish a VXLAN tunnel from the first NVE device to the PE device based on the VTEP address of the PE device that is in the IMET route from the PE device. The VTEP address of the PE device is not the same as the common VTEP address stored in the first NVE device.</p>
<p id="p0133" num="0133">Optionally, the receiving unit 1002 is further configured to receive a third IMET route from the third NVE device. An originating router's IP address field in the third IMET route includes a common VTEP address. The third IMET route further includes a third VTEP address. The<!-- EPO <DP n="36"> --> common VTEP address included in the originating router's IP address field in the third IMET route is different from the third VTEP address. The processing unit 1004 is further configured to determine whether the common VTEP address included in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device. The common VTEP address included in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device. When the processing unit 1004 determines that the common VTEP address included in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device, the processing unit 1004 is further configured to establish a VXLAN tunnel from the first NVE device to the third NVE device based on the third VTEP address in the third IMET route. Optionally, a VXLAN attribute in the third IMET route carries the third VTEP address.</p>
<p id="p0134" num="0134">Optionally, a CE device is multi-homed to the first NVE device, the second NVE device, and the third NVE device by using a plurality of Ethernet links, and the plurality of Ethernet links form an ES. The processing unit 1004 is further configured to determine the first NVE device as a DF in the ES based on ES routes from the second NVE device and the third NVE device.</p>
<p id="p0135" num="0135">Optionally, the receiving unit 1002 is further configured to receive, through the VXLAN tunnel from the second NVE device to the first NVE device, BUM traffic sent by the second NVE device. The processing unit 1004 is further configured to avoid forwarding the BUM traffic to the third NVE device through the VXLAN tunnel from the first NVE device to the third NVE device, based on that the BUM traffic is received by the first NVE device through the VXLAN tunnel from the second NVE device to the first NVE device.</p>
<p id="p0136" num="0136">Optionally, a CE device is dual-homed to the first NVE device and the second NVE device by using a plurality of Ethernet links, and the plurality of Ethernet links form an ES. The processing unit 1004 is further configured to determine the first NVE device as a DF in the ES based on an ES route from the second NVE device. The sending unit 1006 is further configured to send an Ethernet A-D per ES route to the second NVE device. The Ethernet A-D per ES route carries an ESI label allocated by the first NVE device to an Ethernet link between the CE device and the first NVE device. The receiving unit 1002 is further configured to receive, through the VXLAN tunnel from the second NVE device to the first NVE device, a VXLAN packet sent by the second NVE device. An original Ethernet payload in the VXLAN packet includes BUM traffic, the VXLAN packet carries the ESI label, and the BUM traffic is from the CE device. The processing unit 1004 is further configured to avoid, based on that the VXLAN packet carries the<!-- EPO <DP n="37"> --> ESI label, forwarding the BUM traffic to the CE device by using the ES between the CE device and the first NVE device. Further, optionally, the ESI label is encapsulated between a VXLAN header in the VXLAN packet and the original Ethernet payload, the VXLAN header carries indication information, and the indication information is used to indicate that the VXLAN packet carries the ESI label.</p>
<p id="p0137" num="0137">Optionally, a CE device is dual-homed to the first NVE device and the second NVE device by using a plurality of Ethernet links, and the plurality of Ethernet links form an ES. The receiving unit 1002 is further configured to receive a MAC/IP advertisement route from the second NVE device. The MAC/IP advertisement route includes a MAC-VLAN ID, and the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs. The MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an Ethernet virtual private network EVPN site administered by the CE device. The processing unit 1004 is further configured to determine, based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, a local interface that is of the first NVE device and that connects to an Ethernet link between the CE device and the first NVE device. The ESI carried in the MAC/IP advertisement route is used to indicate the ES between the CE device and the second NVE device. The processing unit 1004 is further configured to trigger sending of a first MAC entry to a forwarding plane of the first NVE device. An outbound interface in the first MAC entry is the local interface of the first NVE device, and the first MAC entry includes a MAC address and the MAC-VLAN ID that are carried in the MAC/IP advertisement route.</p>
<p id="p0138" num="0138">Optionally, the MAC/IP advertisement route is carried in MP_REACH_NLRI. A next hop field in the MP REACH NLRI includes a common VTEP address. The MAC/IP advertisement route further includes the second VTEP address, and the common VTEP address included in the next hop field in the MP_REACH_NLRI is the same as the common VTEP address included in the originating router's IP address field in the second IMET route. The processing unit 1004 is further configured to trigger sending of a second MAC entry to the forwarding plane of the first NVE device based on the common VTEP address included in the next hop field in the MP REACH NLRI and the second VTEP address included in the MAC/IP advertisement route. An outbound interface in the second MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the second MAC entry includes the MAC address carried in the MAC/IP advertisement route.<!-- EPO <DP n="38"> --></p>
<p id="p0139" num="0139">Optionally, a CE device is connected to the second NVE device. The receiving unit 1002 is further configured to receive a MAC/IP advertisement route from the second NVE device. The MAC/IP advertisement route is carried in MP REACH NLRI, a next hop field in the MP_REACH_NLRI includes a common VTEP address, the MAC/IP advertisement route includes a MAC-VLAN ID and the second VTEP address, the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs, and the MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an EVPN site administered by the CE device. The processing unit 1004 is further configured to determine, based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, that the first NVE device has no local interface that connects to an Ethernet link between the CE device and the first NVE device. The ESI carried in the MAC/IP advertisement route is used to indicate an ES between the CE device and the second NVE device. The processing unit 1004 is further configured to trigger sending of a MAC entry to a forwarding plane of the first NVE device based on the common VTEP address included in the next hop field in the MP REACH NLRI and the second VTEP address included in the MAC/IP advertisement route. An outbound interface in the MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device. The MAC entry includes the MAC address carried in the MAC/IP advertisement route.</p>
<p id="p0140" num="0140">The first NVE device shown in <figref idref="f0012">FIG. 11</figref> may perform corresponding steps performed by the first NVE device in the method in the foregoing embodiment. This ensures that an EVPN application scenario is not limited by a restriction condition that a physical direct link needs to be used as a link between NVE devices, and helps extend the EVPN application scenario and also helps improve reliability and reduce deployment complexity. It should be understood that the structure in <figref idref="f0012">FIG. 11</figref> is also applicable to the second NVE device and the third NVE device in <figref idref="f0001">FIG. 1</figref>.</p>
<p id="p0141" num="0141"><figref idref="f0012">FIG. 12</figref> is a schematic diagram of a hardware structure of a first NVE device 1100 according to an embodiment of this application. The first NVE device 1100 shown in <figref idref="f0012">FIG. 12</figref> may perform corresponding steps performed by the first NVE device in the method in the foregoing embodiment.</p>
<p id="p0142" num="0142">As shown in <figref idref="f0012">FIG. 12</figref>, the first NVE device 1100 includes a processor 1101, a memory 1102, an interface 1103, and a bus 1104. The interface 1103 may be implemented in a wireless or wired manner. Specifically, the interface 1103 may be a network adapter. The processor 1101, the memory 1102, and the interface 1103 are connected by using the bus 1104.<!-- EPO <DP n="39"> --></p>
<p id="p0143" num="0143">The interface 1103 may specifically include a transmitter and a receiver, configured for information transmission or receiving between the first NVE device and each of the second NVE device and the third NVE device in the foregoing embodiment; or information transmission or receiving between the first NVE device and a PE device; or information transmission or receiving between the first NVE device and a CE device connected to the first NVE device. For example, the interface 1103 is configured to support processes S102 and S105 in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref>. The processor 1101 is configured to perform processing performed by the first NVE device in the foregoing embodiment. For example, the processor 1101 is configured to: determine whether a common VTEP address included in an originating router's IP address field in a received IMET route is the same as a common VTEP address stored in the memory 1102; establish a VXLAN tunnel based on the VTEP address in the received IMET route and based on that the common VTEP address in the originating router's IP address field in the received IMET route is the same as the common VTEP address stored in the memory 1102; process a received ES route, MAC/IP advertisement route, or Ethernet A-D per ES route; and process BUM traffic or unicast traffic, and/or another process of the technology described in this specification. For example, the processor 1101 is configured to support processes S103 and S104 in <figref idref="f0002">FIG. 2A</figref> and <figref idref="f0003">FIG. 2B</figref>. The memory 1102 includes an operating system 11021 and an application program 11022, and is configured to store a program, code, or an instruction. When executing the program, the code, or the instruction, the processor or a hardware device may complete a processing process related to the first NVE device in the method embodiment. Optionally, the memory 1102 may include a read-only memory (ROM) and a random access memory (RAM). The ROM includes a basic input/output system (BIOS) or an embedded system. The RAM includes an application program and an operating system. When the first NVE device 1100 needs to be run, the BIOS or a bootloader in the embedded system that is built into the ROM is used to lead a system to start, and lead the first NVE device 1100 to enter a normal running state. After entering the normal running state, the first NVE device 1100 runs the application program and the operating system in the RAM, so as to complete a processing process related to the first NVE device in the method embodiment.</p>
<p id="p0144" num="0144">It may be understood that <figref idref="f0012">FIG. 12</figref> merely shows a simplified design of the first NVE device. In actual application, the first NVE device may include any quantity of interfaces, processors, or memories. In addition, only the first NVE device is used as an example for a description of this embodiment. It should be understood that the second NVE device, the third NVE device, or more NVE devices have same functions as the first NVE device. Details are not described herein again.<!-- EPO <DP n="40"> --></p>
<p id="p0145" num="0145"><figref idref="f0013">FIG. 13</figref> is a schematic diagram of a hardware structure of another first NVE device 1200 according to an embodiment of this application. The first NVE device 1200 shown in <figref idref="f0013">FIG. 13</figref> may perform corresponding steps performed by the first NVE device in the method in the foregoing embodiment.</p>
<p id="p0146" num="0146">As shown in <figref idref="f0013">FIG. 13</figref>, the first NVE device 1200 includes a main control board 1210, an interface board 1230, a switching board 1220, and an interface board 1240. The main control board 1210 is configured to complete functions such as system management, device maintenance, and protocol processing. The switching board 1220 is configured to complete data exchange between interface boards (the interface board is also referred to as a line card or a service board). The interface boards 1230 and 1240 are configured to: provide various service interfaces (for example, a POS interface, a GE interface, and an ATM interface), and forward a data packet. The main control board 1210, the interface boards 1230 and 1240, and the switching board 1220 are connected to a system backplane by using a system bus to communicate with each other. A central processing unit 1231 on the interface board 1230 is configured to: control and manage the interface board, and communicate with a central processing unit on the main control board.</p>
<p id="p0147" num="0147">A physical interface card 1233 on the interface board 1230 receives a second IMET route from the second NVE device, and sends the second IMET route to a central processing unit 1211 on the main control board 1210 by using the central processing unit 1231 on the interface board 1230.</p>
<p id="p0148" num="0148">The central processing unit 1211 on the main control board 1210 is configured to obtain the second IMET route. The central processing unit 1211 is further configured to determine whether a common VTEP address included in an originating router's IP address field in the second IMET route is the same as a common VTEP address stored in the first NVE device. When the central processing unit 1211 determines that the common VTEP address included in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, the central processing unit 1211 establishes a virtual extensible local area network VXLAN tunnel from the first NVE device to the second NVE device based on the second VTEP address in the second IMET route. The common VTEP address included in the originating router's IP address field in the second IMET route is different from the second VTEP address.</p>
<p id="p0149" num="0149">The central processing unit 1211 on the main control board 1210 is further configured to generate a first IMET route. An originating router's IP address field in the first IMET route carries the common VTEP address stored in the first NVE device. The first IMET route further includes a first VTEP address. The first VTEP address is used by the second NVE device to<!-- EPO <DP n="41"> --> establish the VXLAN tunnel from the second NVE device to the first NVE device. The common VTEP address stored in the first NVE device is different from the first VTEP address. The central processing unit 1211 on the main control board 1210 sends the generated first IMET route to the physical interface card 1233 by using the central processing unit 1231 on the interface board 1230. The physical interface card 1233 on the interface board 1230 sends the first IMET route to a BGP peer of the first NVE device.</p>
<p id="p0150" num="0150">The central processing unit 1211 on the main control board 1210 is further configured to obtain, from the physical interface card 1233 on the interface board 1230, ES routes from the second NVE device and the third NVE device. The central processing unit 1211 is further configured to determine the first NVE device as a DF or an NDF in an ES based on the ES routes.</p>
<p id="p0151" num="0151">The central processing unit 1211 on the main control board 1210 is further configured to control the interface board 1230 to forward and process BUM traffic or unicast traffic.</p>
<p id="p0152" num="0152">The central processing unit 1211 on the main control board 1210 is further configured to: generate an Ethernet A-D per ES route, and send the Ethernet A-D per ES route to the BGP peer of the first NVE device by using the physical interface card 1233 on the interface board 1230.</p>
<p id="p0153" num="0153">The central processing unit 1211 on the main control board 1210 is further configured to: obtain, from the physical interface card 1233 on the interface board 1230, a MAC/IP advertisement route from the second NVE device, and generate a MAC entry based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route. The central processing unit 1211 on the main control board 1210 transmits the MAC entry to a forwarding entry memory 1234 on the interface board 1230 by using the central processing unit 1231 on the interface board 1230.</p>
<p id="p0154" num="0154">The forwarding entry memory 1234 on the interface board 1230 is configured to store the MAC entry. The central processing unit 1231 on the interface board 1230 is configured to control a network memory 1232 to obtain the MAC entry in the forwarding entry memory 1234. In addition, the central processing unit 1231 is configured to control the network memory 1232 to receive and send traffic by using the physical interface card 1233.</p>
<p id="p0155" num="0155">It should be understood that an operation on the interface board 1240 is consistent with an operation on the interface board 1230 in this embodiment of this application. For brevity, details are not described again. It should be understood that the first NVE device 1200 in this embodiment may correspondingly implement functions of the first NVE device and/or steps performed by the first NVE device in the foregoing method embodiment. For brevity, details are not described herein again. In addition, only the first NVE device is used as an example for a<!-- EPO <DP n="42"> --> description of this embodiment. It should be understood that the second NVE device, the third NVE device, or more NVE devices have same functions as the first NVE device. Details are not described herein again.</p>
<p id="p0156" num="0156">In addition, it should be noted that there may be one or more main control boards. When there are a plurality of main control boards, a primary main control board and a secondary main control board may be included. There may be one or more interface boards, and a stronger data processing capability of the first NVE device indicates a larger quantity of provided interface boards. There may be one or more physical interface cards on the interface board. There may be no switching board, or there may be one or more switching boards. When there are a plurality of switching boards, load sharing and redundancy backup may be jointly implemented. In a centralized forwarding architecture, the first NVE device may not need a switching board, and the interface board bears a service data processing function in an entire system. In a distributed forwarding architecture, the first NVE device may have at least one switching board, and data is exchanged between a plurality of interface boards by using the switching board, so as to provide large-capacity data exchanging and processing capability. Therefore, the first NVE device has a better data access and processing capability in the distributed architecture than in the centralized architecture. A specific architecture to be used depends on a specific networking deployment scenario. This is not limited herein.</p>
<p id="p0157" num="0157"><figref idref="f0014">FIG. 14</figref> is a schematic diagram of a hardware structure of still another first NVE device 1300 according to an embodiment of this application. The first NVE device 1300 shown in <figref idref="f0014">FIG. 14</figref> may perform corresponding steps performed by the first NVE device in the method in the foregoing embodiment.</p>
<p id="p0158" num="0158">This product form of the first NVE device 1300 is applicable to a network architecture (for example, software-defined networking (SDN)) in which control and forwarding are separated. In the SDN, the main control board 1210 of the first NVE device 1200 shown in <figref idref="f0013">FIG. 13</figref> is separated from the device, and forms a new independent physical device (that is, a controller 1210A shown in <figref idref="f0014">FIG. 14</figref>), and remaining components form another independent physical device (that is, a first NVE forwarding device 1200A shown in <figref idref="f0014">FIG. 14</figref>). The controller 1210A interacts with the first NVE forwarding device 1200A by using a control channel protocol. The control channel protocol may be the OpenFlow protocol, the Path Computation Element Communication Protocol (PCEP), the BGP, the Interface to the Routing System (I2RS), or the like. In other words, compared with the embodiment corresponding to <figref idref="f0013">FIG. 13</figref>, the first NVE device 1300 in this embodiment includes the controller 1210A separated from the device and the first NVE forwarding device 1200A. That is, in this embodiment, the first NVE device 1300 may also be<!-- EPO <DP n="43"> --> considered as a system.</p>
<p id="p0159" num="0159">The controller 1210A may be implemented based on a general purpose physical server or a dedicated hardware structure. In a design example, the controller includes a receiver, a processor, a transmitter, a RAM, a ROM, and a bus (not shown in the figure). The processor is separately coupled to the receiver, the transmitter, the RAM, and the ROM by using the bus. When the controller needs to be run, a BIOS or a bootloader in an embedded system that is built into the ROM is used to lead a system to start, and lead the controller to enter a normal running state. After entering the normal running state, the controller runs an application program and an operating system in the RAM, so that the processor performs all functions and steps of the main control board 1210 in <figref idref="f0013">FIG. 13</figref>.</p>
<p id="p0160" num="0160">The first NVE forwarding device 1200A may be implemented based on a dedicated hardware structure. Functions and structures of the first NVE forwarding device 1200A remain the same as functions and structures of the interface board 1230, the interface board 1240, and the switching board 1220 in <figref idref="f0013">FIG. 13</figref>, so as to perform a corresponding function and step. Alternatively, the first NVE forwarding device 1200A may be a virtual first NVE forwarding device implemented based on a general purpose physical server and a network functions virtualization (NFV) technology, and the virtual first NVE forwarding device is a virtual router. In a scenario of the virtual first NVE forwarding device, the interface board, the switching board, and the processor included in the first NVE forwarding device mentioned in the embodiment of the physical first NVE forwarding device may be considered, in a virtual environment, as an interface resource, a network resource, and a processing resource that are allocated by the first NVE forwarding device to the virtual first NVE forwarding device based on the general purpose physical server. For a specific implementation of implementing functions or steps of the first forwarding NVE device by using the general physical server, or implementing functions or steps of the first forwarding NVE device by using the general physical server and the NFV technology, refer to the embodiment in <figref idref="f0012">FIG. 12</figref>.</p>
<p id="p0161" num="0161">It should be understood that in this embodiment, the controller 1210A and the first NVE forwarding device 1200A in the first NVE device 1300 may implement various functions and steps implemented by the first NVE device in the method embodiment. For brevity, details are not described herein again. In addition, only the first NVE device is used as an example for a description of this embodiment. It should be understood that the second NVE device, the third NVE device, or more NVE devices have same functions as the first NVE device. Details are not described herein again.</p>
<p id="p0162" num="0162">In addition, an embodiment of this application provides a computer storage medium,<!-- EPO <DP n="44"> --> configured to store a computer software instruction used by the first NVE device, and the computer software instruction includes a program designed for performing the foregoing method embodiment.</p>
<p id="p0163" num="0163">As shown in <figref idref="f0001">FIG. 1</figref>, an embodiment of this application further includes a network system for processing a route. The network system includes at least two network virtualization edge NVE devices, and each of the at least two NVE devices is the first NVE device in <figref idref="f0012">FIG. 11, FIG. 12</figref>, <figref idref="f0013">FIG. 13</figref>, or <figref idref="f0014">FIG. 14</figref>.</p>
<p id="p0164" num="0164">Method or algorithm steps described in combination with the content disclosed in this application may be implemented by hardware, or may be implemented by a processor by executing a software instruction. The software instruction may include a corresponding software module. The software module may be located in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable hard disk, a CD-ROM, or a storage medium of any other form known in the art. For example, a storage medium is coupled to a processor, so that the processor can read information from the storage medium or write information into the storage medium. Certainly, the storage medium may be a component of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in user equipment. Certainly, the processor and the storage medium may exist in the user equipment as discrete components.</p>
<p id="p0165" num="0165">A person skilled in the art should be aware that in the foregoing one or more examples, functions described in this application may be implemented by hardware, software, firmware, or any combination thereof. When the present invention is implemented by software, the foregoing functions may be stored in a computer-readable medium or transmitted as one or more instructions or code in the computer-readable medium. The computer-readable medium includes a computer storage medium and a communications medium, where the communications medium includes any medium that enables a computer program to be transmitted from one place to another. The storage medium may be any available medium accessible to a general-purpose or dedicated computer.</p>
</description>
<claims id="claims01" lang="en"><!-- EPO <DP n="45"> -->
<claim id="c-en-01-0001" num="0001">
<claim-text>A route processing method, wherein the method is applied to a Virtual Extensible Local Area Network, VXLAN, having an Ethernet Virtual Private Network, EVPN, control plane, the VXLAN comprises a first network virtualization edge, NVE, device and a second NVE device, and the method comprises:
<claim-text>receiving (S102), by the first NVE device, a second inclusive multicast Ethernet tag, IMET, route from the second NVE device, wherein an originating router's IP address field in the second IMET route comprises a common virtual extensible local area network tunnel endpoint, VTEP, address, the second IMET route further comprises a second VTEP address, and the common VTEP address comprised in the originating router's IP address field in the second IMET route is different from the second VTEP address, the common VTEP address comprised in the originating router's IP address field in the second IMET route indicates a common VTEP included in the second NVE device, the second VTEP address indicates a second VTEP included in the second NVE device;</claim-text>
<claim-text>determining (S103), by the first NVE device, whether the common VTEP address comprised in the originating router's IP address field in the second IMET route is the same as a common VTEP address stored in the first NVE device, wherein the first NVE device and the second NVE device are a pair of Border Gateway Protocol peers, BGP peers, for exchanging IMET routes, the common VTEP address stored in the first NVE device indicates a common VTEP included in the first NVE device; and</claim-text>
<claim-text>when the first NVE device determines that the common VTEP address comprised in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, establishing (S104), by the first NVE device, a VXLAN tunnel from the first NVE device to the second NVE device based on the second VTEP address in the second IMET route.</claim-text></claim-text></claim>
<claim id="c-en-01-0002" num="0002">
<claim-text>The method according to claim 1, wherein the method further comprises:<br/>
sending (S105), by the first NVE device, a first IMET route to the second NVE device, wherein an originating router's IP address field in the first IMET route carries the common VTEP address stored in the first NVE device, the first IMET route further comprises a first VTEP address, the first VTEP address is used by the second NVE device to establish the VXLAN tunnel from the second NVE device to the first NVE device, the first VTEP address indicates a first VTEP included in the first NVE device, and the common VTEP address stored in the first<!-- EPO <DP n="46"> --> NVE device is different from the first VTEP address.</claim-text></claim>
<claim id="c-en-01-0003" num="0003">
<claim-text>The method according to claim 2, wherein the VXLAN further comprises a provider edge, PE, device, and the method further comprises:
<claim-text>sending, by the first NVE device, the first IMET route to the PE device;</claim-text>
<claim-text>receiving, by the first NVE device, an IMET route from the PE device, wherein an originating router's IP address field in the IMET route from the PE device carries a VTEP address of the PE device; and</claim-text>
<claim-text>establishing, by the first NVE device, a VXLAN tunnel from the first NVE device to the PE device based on the VTEP address of the PE device that is in the IMET route from the PE device, wherein the VTEP address of the PE device is not the same as the common VTEP address stored in the first NVE device.</claim-text></claim-text></claim>
<claim id="c-en-01-0004" num="0004">
<claim-text>The method according to claim 2 or 3, wherein
<claim-text>a VXLAN attribute in the first IMET route carries the first VTEP address; and</claim-text>
<claim-text>a VXLAN attribute in the second IMET route carries the second VTEP address.</claim-text></claim-text></claim>
<claim id="c-en-01-0005" num="0005">
<claim-text>The method according to any one of claims 1 to 4, wherein the VXLAN further comprises a third NVE device, and the method further comprises:
<claim-text>receiving, by the first NVE device, a third IMET route from the third NVE device, wherein an originating router's IP address field in the third IMET route comprises a common VTEP address, the third IMET route further comprises a third VTEP address, and the common VTEP address comprised in the originating router's IP address field in the third IMET route is different from the third VTEP address;</claim-text>
<claim-text>determining, by the first NVE device, whether the common VTEP address comprised in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device, wherein the common VTEP address comprised in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device; and</claim-text>
<claim-text>when the first NVE device determines that the common VTEP address comprised in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device, establishing, by the first NVE device, a VXLAN tunnel from the first NVE device to the third NVE device based on the third VTEP address in the third IMET route.</claim-text></claim-text></claim>
<claim id="c-en-01-0006" num="0006">
<claim-text>The method according to claim 5, wherein a customer edge, CE, device is multi-homed to the first NVE device, the second NVE device, and the third NVE device by using a plurality of Ethernet links, and the plurality of Ethernet links form an Ethernet segment, ES; and<br/>
<!-- EPO <DP n="47"> -->the method further comprises:<br/>
determining, by the first NVE device, the first NVE device as a designated forwarder, DF, in the ES based on ES routes from the second NVE device and the third NVE device.</claim-text></claim>
<claim id="c-en-01-0007" num="0007">
<claim-text>The method according to claim 5 or 6, wherein the method further comprises:
<claim-text>receiving, by the first NVE device through the VXLAN tunnel from the second NVE device to the first NVE device, broadcast, unknown unicast, and multicast, BUM, traffic sent by the second NVE device; and</claim-text>
<claim-text>avoiding, by the first NVE device, forwarding the BUM traffic to the third NVE device through the VXLAN tunnel from the first NVE device to the third NVE device, based on that the BUM traffic is received by the first NVE device through the VXLAN tunnel from the second NVE device to the first NVE device.</claim-text></claim-text></claim>
<claim id="c-en-01-0008" num="0008">
<claim-text>The method according to any one of claims 2 to 4, wherein a CE device is dual-homed to the first NVE device and the second NVE device by using a plurality of Ethernet links, and the plurality of Ethernet links form an ES; and<br/>
the method further comprises:
<claim-text>determining, by the first NVE device, the first NVE device as a DF in the ES based on an ES route from the second NVE device;</claim-text>
<claim-text>sending, by the first NVE device, an Ethernet Auto-Discovery per Ethernet segment, Ethernet A-D per ES, route to the second NVE device, wherein the Ethernet A-D per ES route carries an Ethernet segment identifier, ESI, label allocated by the first NVE device to an Ethernet link between the CE device and the first NVE device;</claim-text>
<claim-text>receiving, by the first NVE device through the VXLAN tunnel from the second NVE device to the first NVE device, a VXLAN packet sent by the second NVE device, wherein an original Ethernet payload in the VXLAN packet comprises BUM traffic, the VXLAN packet carries the ESI label, and the BUM traffic is from the CE device; and</claim-text>
<claim-text>avoiding, by the first NVE device based on that the VXLAN packet carries the ESI label, forwarding the BUM traffic to the CE device by using the ES between the CE device and the first NVE device.</claim-text></claim-text></claim>
<claim id="c-en-01-0009" num="0009">
<claim-text>The method according to claim 8, wherein the ESI label is encapsulated between a VXLAN header in the VXLAN packet and the original Ethernet payload, the VXLAN header carries indication information, and the indication information is used to indicate that the VXLAN packet carries the ESI label.</claim-text></claim>
<claim id="c-en-01-0010" num="0010">
<claim-text>The method according to any one of claims 1 to 4, wherein a CE device is dual-homed to the first NVE device and the second NVE device by using a plurality of Ethernet links, and the<!-- EPO <DP n="48"> --> plurality of Ethernet links form an ES; and<br/>
the method further comprises:
<claim-text>receiving, by the first NVE device, a Media Access Control/Internet Protocol advertisement, MAC/IP advertisement, route from the second NVE device, wherein the MAC/IP advertisement route comprises a Media Access Control-virtual local area network identifier, MAC-VLAN ID, the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs, and the MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an Ethernet virtual private network, EVPN, site administered by the CE device;</claim-text>
<claim-text>determining, by the first NVE device based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, a local interface that is of the first NVE device and that connects to an Ethernet link between the CE device and the first NVE device, wherein the ESI carried in the MAC/IP advertisement route is used to indicate the ES between the CE device and the second NVE device; and</claim-text>
<claim-text>sending, by a control plane of the first NVE device, a first MAC entry to a forwarding plane of the first NVE device, wherein an outbound interface in the first MAC entry is the local interface of the first NVE device, and the first MAC entry comprises the MAC address and the MAC-VLAN ID that are carried in the MAC/IP advertisement route.</claim-text></claim-text></claim>
<claim id="c-en-01-0011" num="0011">
<claim-text>The method according to claim 10, wherein the MAC/IP advertisement route is carried in multiprotocol reachable network layer reachability information, MP_REACH_NLRI, a next hop field in the MP_REACH_NLRI comprises a common VTEP address, the MAC/IP advertisement route further comprises the second VTEP address, and the common VTEP address comprised in the next hop field in the MP_REACH_NLRI is the same as the common VTEP address comprised in the originating router's IP address field in the second IMET route; and<br/>
the method further comprises:<br/>
sending, by the control plane of the first NVE device, a second MAC entry to the forwarding plane of the first NVE device based on the common VTEP address comprised in the next hop field in the MP_REACH_NLRI and the second VTEP address comprised in the MAC/IP advertisement route, wherein an outbound interface in the second MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the second MAC entry comprises the MAC address carried in the MAC/IP advertisement route.</claim-text></claim>
<claim id="c-en-01-0012" num="0012">
<claim-text>The method according to any one of claims 1 to 4, wherein a CE device is connected to<!-- EPO <DP n="49"> --> the second NVE device; and<br/>
the method further comprises:
<claim-text>receiving, by the first NVE device, a MAC/IP advertisement route from the second NVE device, wherein the MAC/IP advertisement route is carried in MP_REACH_NLRI, a next hop field in the MP_REACH_NLRI comprises a common VTEP address, the MAC/IP advertisement route comprises a MAC-VLAN ID and the second VTEP address, the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs, and the MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an EVPN site administered by the CE device;</claim-text>
<claim-text>determining, by the first NVE device based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, that the first NVE device has no local interface that connects to an Ethernet link between the CE device and the first NVE device, wherein the ESI carried in the MAC/IP advertisement route is used to indicate an ES between the CE device and the second NVE device; and</claim-text>
<claim-text>sending, by a control plane of the first NVE device, a MAC entry to a forwarding plane of the first NVE device based on the common VTEP address comprised in the next hop field in the MP_REACH_NLRI and the second VTEP address comprised in the MAC/IP advertisement route, wherein an outbound interface in the MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the MAC entry comprises the MAC address carried in the MAC/IP advertisement route.</claim-text></claim-text></claim>
<claim id="c-en-01-0013" num="0013">
<claim-text>A first network virtualization edge, NVE, device, wherein the first NVE is applied to a Virtual Extensible Local Area Network, VXLAN, having an Ethernet Virtual Private Network, EVPN, control plane, the VXLAN further comprises a second NVE device, and the first NVE device comprises:
<claim-text>a receiving unit (1002), configured to receive a second inclusive multicast Ethernet tag, IMET, route from the</claim-text>
<claim-text>second NVE device, wherein an originating router's IP address field in the second IMET route comprises a common virtual extensible local area network tunnel endpoint, VTEP, address, the second IMET route further comprises a second VTEP address, and the common VTEP address comprised in the originating router's IP address field in the second IMET route is different from the second VTEP address, the common VTEP address comprised in the originating router's IP address field in the second IMET route indicates a common VTEP included in the second NVE device, the second VTEP address indicates a second VTEP included<!-- EPO <DP n="50"> --> in the second NVE device; and</claim-text>
<claim-text>a processing unit (1004), configured to determine whether the common VTEP address comprised in the originating router's IP address field in the second IMET route is the same as a common VTEP address stored in the first NVE device, wherein the first NVE device and the second NVE device are a pair of Border Gateway Protocol peers, BGP peers, for exchanging IMET routes, the common VTEP address stored in the first NVE device indicates a common VTEP included in the first NVE device; wherein</claim-text>
<claim-text>when the processing unit (1004) determines that the common VTEP address comprised in the originating router's IP address field in the second IMET route is the same as the common VTEP address stored in the first NVE device, the processing unit (1004) is further configured to establish a VXLAN tunnel from the first NVE device to the second NVE device based on the second VTEP address in the second IMET route.</claim-text></claim-text></claim>
<claim id="c-en-01-0014" num="0014">
<claim-text>The first NVE device according to claim 13, wherein the first NVE device further comprises:<br/>
a sending unit (1006), configured to send a first IMET route to the second NVE device, wherein an originating router's IP address field in the first IMET route carries the common VTEP address stored in the first NVE device, the first IMET route further comprises a first VTEP address, the first VTEP address is used by the second NVE device to establish the VXLAN tunnel from the second NVE device to the first NVE device, the first VTEP address indicates a first VTEP included in the first NVE device, and the common VTEP address stored in the first NVE device is different from the first VTEP address.</claim-text></claim>
<claim id="c-en-01-0015" num="0015">
<claim-text>The first NVE device according to claim 14, wherein
<claim-text>the sending unit is further configured to send the first IMET route to a provider edge, PE, device;</claim-text>
<claim-text>the receiving unit (1002) is further configured to receive an IMET route from the PE device, wherein an originating router's IP address field in the IMET route from the PE device carries a VTEP address of the PE device; and</claim-text>
<claim-text>the processing unit (1004) is further configured to establish a VXLAN tunnel from the first NVE device to the PE device based on the VTEP address of the PE device that is in the IMET route from the PE device, wherein the VTEP address of the PE device is not the same as the common VTEP address stored in the first NVE device.</claim-text></claim-text></claim>
<claim id="c-en-01-0016" num="0016">
<claim-text>The first NVE device according to any one of claims 13 to 15, wherein
<claim-text>the receiving unit (1002) is further configured to receive a third IMET route from a third NVE device, wherein an originating router's IP address field in the third IMET route comprises a<!-- EPO <DP n="51"> --> common VTEP address, the third IMET route further comprises a third VTEP address, and the common VTEP address comprised in the originating router's IP address field in the third IMET route is different from the third VTEP address;</claim-text>
<claim-text>the processing unit (1004) is further configured to determine whether the common VTEP address comprised in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device, wherein the common VTEP address comprised in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device; and</claim-text>
<claim-text>when the processing unit (1004) determines that the common VTEP address comprised in the originating router's IP address field in the third IMET route is the same as the common VTEP address stored in the first NVE device, the processing unit (1004) is further configured to establish a VXLAN tunnel from the first NVE device to the third NVE device based on the third VTEP address in the third IMET route.</claim-text></claim-text></claim>
<claim id="c-en-01-0017" num="0017">
<claim-text>The first NVE device according to any one of claims 14 to 15, wherein a CE device is dual-homed to the first NVE device and the second NVE device by using a plurality of Ethernet links, and the plurality of Ethernet links form an ES;
<claim-text>the processing unit (1004) is further configured to determine the first NVE device as a DF in the ES based on an ES route from the second NVE device;</claim-text>
<claim-text>the sending unit (1006) is further configured to send an Ethernet Auto-Discovery per Ethernet segment, Ethernet A-D per ES, route to the second NVE device, wherein the Ethernet A-D per ES route carries an Ethernet segment identifier, ESI, label allocated by the first NVE device to an Ethernet link between the CE device and the first NVE device;</claim-text>
<claim-text>the receiving unit (1002) is further configured to receive, through the VXLAN tunnel from the second NVE device to the first NVE device, a VXLAN packet sent by the second NVE device, wherein an original Ethernet payload in the VXLAN packet comprises BUM traffic, the VXLAN packet carries the ESI label, and the BUM traffic is from the CE device; and</claim-text>
<claim-text>the processing unit (1004) is further configured to avoid, based on that the VXLAN packet carries the ESI label, forwarding the BUM traffic to the CE device by using the ES between the CE device and the first NVE device.</claim-text></claim-text></claim>
<claim id="c-en-01-0018" num="0018">
<claim-text>The first NVE device according to any one of claims 13 to 15, wherein a CE device is dual-homed to the first NVE device and the second NVE device by using a plurality of Ethernet links, and the plurality of Ethernet links form an ES;
<claim-text>the receiving unit (1002) is further configured to receive a Media Access Control/Internet Protocol advertisement, MAC/IP advertisement, route from the second NVE device, wherein the<!-- EPO <DP n="52"> --> MAC/IP advertisement route comprises a Media Access Control-virtual local area network identifier, MAC-VLAN ID, the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs, and the MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an Ethernet virtual private network, EVPN, site administered by the CE device;</claim-text>
<claim-text>the processing unit (1004) is further configured to determine, based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, a local interface that is of the first NVE device and that connects to an Ethernet link between the CE device and the first NVE device, wherein the ESI carried in the MAC/IP advertisement route is used to indicate the ES between the CE device and the second NVE device; and</claim-text>
<claim-text>the processing unit (1004) is further configured to trigger sending of a first MAC entry to a forwarding plane of the first NVE device, wherein an outbound interface in the first MAC entry is the local interface of the first NVE device, and the first MAC entry comprises the MAC address and the MAC-VLAN ID that are carried in the MAC/IP advertisement route.</claim-text></claim-text></claim>
<claim id="c-en-01-0019" num="0019">
<claim-text>The first NVE device according to claim 18, wherein the MAC/IP advertisement route is carried in multiprotocol reachable network layer reachability information, MP_REACH_NLRI, a next hop field in the MP_REACH_NLRI comprises a common VTEP address, the MAC/IP advertisement route further comprises the second VTEP address, and the common VTEP address comprised in the next hop field in the MP_REACH_NLRI is the same as the common VTEP address comprised in the originating router's IP address field in the second IMET route; and<br/>
the processing unit (1004) is further configured to trigger sending of a second MAC entry to the forwarding plane of the first NVE device based on the common VTEP address comprised in the next hop field in the MP_REACH_NLRI and the second VTEP address comprised in the MAC/IP advertisement route, wherein an outbound interface in the second MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the second MAC entry comprises the MAC address carried in the MAC/IP advertisement route.</claim-text></claim>
<claim id="c-en-01-0020" num="0020">
<claim-text>The first NVE device according to any one of claims 13 to 15, wherein a CE device is connected to the second NVE device;
<claim-text>the receiving unit (1002) is further configured to receive a MAC/IP advertisement route from the second NVE device, wherein the MAC/IP advertisement route is carried in MP REACH NLRI, a next hop field in the MP REACH NLRI comprises a common VTEP address, the MAC/IP advertisement route comprises a MAC-VLAN ID and the second VTEP<!-- EPO <DP n="53"> --> address, the MAC-VLAN ID is used to indicate a VLAN to which a MAC address carried in the MAC/IP advertisement route belongs, and the MAC address carried in the MAC/IP advertisement route is a MAC address of the CE device, or the MAC address carried in the MAC/IP advertisement route is a MAC address of a host in an EVPN site administered by the CE device;</claim-text>
<claim-text>the processing unit (1004) is further configured to determine, based on an ESI and the MAC-VLAN ID that are carried in the MAC/IP advertisement route, that the first NVE device has no local interface that connects to an Ethernet link between the CE device and the first NVE device, wherein the ESI carried in the MAC/IP advertisement route is used to indicate an ES between the CE device and the second NVE device; and</claim-text>
<claim-text>the processing unit (1004) is further configured to trigger sending of a MAC entry to a forwarding plane of the first NVE device based on the common VTEP address comprised in the next hop field in the MP_REACH_NLRI and the second VTEP address comprised in the MAC/IP advertisement route, wherein an outbound interface in the MAC entry is a local interface that is of the first NVE device and that connects to the VXLAN tunnel from the first NVE device to the second NVE device, and the MAC entry comprises the MAC address carried in the MAC/IP advertisement route.</claim-text></claim-text></claim>
</claims>
<claims id="claims02" lang="de"><!-- EPO <DP n="54"> -->
<claim id="c-de-01-0001" num="0001">
<claim-text>Routenverarbeitungsverfahren, wobei das Verfahren auf ein "Virtual Extensible Local Area Network" VXLAN angewandt wird, das eine "Ethernet Virtual Private Network"- bzw. EVPN-Steuerebene aufweist, das VXLAN eine erste Netzwerk-Virtualisierungsedge- bzw. NVE-Vorrichtung und eine zweite NVE-Vorrichtung umfasst und das Verfahren Folgendes umfasst:
<claim-text>Empfangen (S102) einer zweiten "Inclusive Multicast Ethernet Tag"- bzw. IMET-Route durch die erste NVE-Vorrichtung von der zweiten NVE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route eine gemeinsame "Virtual Extensible Local Area Network Tunnel Endpoint"- bzw. VTEP-Adresse umfasst, die zweite IMET-Route ferner eine zweite VTEP-Adresse umfasst und die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse von der zweiten VTEP-Adresse verschieden ist, die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse einen in der zweiten NVE-Vorrichtung enthaltenen gemeinsamen VTEP angibt und die zweite VTEP-Adresse einen in der zweiten NVE-Vorrichtung enthaltenen zweiten VTEP angibt;</claim-text>
<claim-text>Bestimmen (S103) durch die erste NVE-Vorrichtung, ob die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie eine in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, wobei die erste NVE-Vorrichtung und die zweite NVE-Vorrichtung ein Paar von "Border Gateway Protocol"-Peers bzw. BGP-Peers zum Austauschen von IMET-Routen sind, die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse einen in der ersten NVE-Vorrichtung enthaltenen gemeinsamen VTEP angibt; und</claim-text>
<claim-text>wenn die erste NVE-Vorrichtung bestimmt, dass die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, Herstellen (S104) eines VXLAN-Tunnels von der ersten NVE-Vorrichtung zu der zweiten NVE-Vorrichtung durch die erste NVE-Vorrichtung auf der Basis der zweiten VTEP-Adresse in der zweiten IMET-Route.</claim-text></claim-text></claim>
<claim id="c-de-01-0002" num="0002">
<claim-text>Verfahren nach Anspruch 1, wobei das Verfahren ferner Folgendes umfasst:<br/>
Senden (S105) einer ersten IMET-Route zu der zweiten NVE-Vorrichtung durch die erste NVE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der ersten IMET-Route die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse führt, die erste IMET-Route ferner eine erste VTEP-Adresse umfasst,<!-- EPO <DP n="55"> --> die erste VTEP-Adresse durch die zweite NVE-Vorrichtung zum Herstellen des VXLAN-Tunnels von der zweiten NVE-Vorrichtung zu der ersten NVE-Vorrichtung verwendet wird, die erste VTEP-Adresse einen in der ersten NVE-Vorrichtung enthaltenen ersten VTEP angibt und die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse von der ersten VTEP-Adresse verschieden ist.</claim-text></claim>
<claim id="c-de-01-0003" num="0003">
<claim-text>Verfahren nach Anspruch 2, wobei das VXLAN ferner eine "Provider Edge"- bzw.<br/>
PE-Vorrichtung umfasst und das Verfahren ferner Folgendes umfasst:
<claim-text>Senden der ersten IMET-Route zu der PE-Vorrichtung durch die erste NVE-Vorrichtung;</claim-text>
<claim-text>Empfangen einer IMET-Route von der PE-Vorrichtung durch die erste NVE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der IMET-Route von der PE-Vorrichtung eine VTEP-Adresse der PE-Vorrichtung führt; und</claim-text>
<claim-text>Herstellen eines VXLAN-Tunnels von der ersten NVE-Vorrichtung zu der PE-Vorrichtung durch die erste NVE-Vorrichtung auf der Basis der VTEP-Adresse der PE-Vorrichtung, die sich in der IMET-Route von der PE-Vorrichtung befindet, wobei die VTEP-Adresse der PE-Vorrichtung nicht dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist.</claim-text></claim-text></claim>
<claim id="c-de-01-0004" num="0004">
<claim-text>Verfahren nach Anspruch 2 oder 3, wobei
<claim-text>ein VXLAN-Attribut in der ersten IMET-Route die erste VTEP-Adresse führt; und</claim-text>
<claim-text>ein VXLAN-Attribut in der zweiten IMET-Route die zweite VTEP-Adresse führt.</claim-text></claim-text></claim>
<claim id="c-de-01-0005" num="0005">
<claim-text>Verfahren nach einem der Ansprüche 1 bis 4, wobei das VXLAN ferner eine dritte NVE-Vorrichtung umfasst und das Verfahren ferner Folgendes umfasst:
<claim-text>Empfangen einer dritten IMET-Route von der dritten NVE-Vorrichtung durch die erste NVE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route eine gemeinsame VTEP-Adresse umfasst, die dritte IMET-Route ferner eine dritte VTEP-Adresse umfasst und die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse von der dritten VTEP-Adresse verschieden ist;</claim-text>
<claim-text>Bestimmen durch die erste NVE-Vorrichtung, ob die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, wobei die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist; und<!-- EPO <DP n="56"> --></claim-text>
<claim-text>wenn die erste NVE-Vorrichtung bestimmt, dass die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, Herstellen eines VXLAN-Tunnels von der ersten NVE-Vorrichtung zu der dritten NVE-Vorrichtung durch die erste NVE-Vorrichtung auf der Basis der dritten VTEP-Adresse in der dritten IMET-Route.</claim-text></claim-text></claim>
<claim id="c-de-01-0006" num="0006">
<claim-text>Verfahren nach Anspruch 5, wobei eine "Customer Edge"- bzw. CE-Vorrichtung bezüglich der ersten NVE-Vorrichtung, der zweiten NVE-Vorrichtung und der dritten NVE-Vorrichtung durch Verwendung mehrerer Ethernet-Verbindungen mehrere Heimaten hat und die mehreren Ethernet-Verbindungen ein Ethernet-Segment ES bilden; und<br/>
das Verfahren ferner Folgendes umfasst:<br/>
Bestimmen der ersten NVE-Vorrichtung als einen designierten Weiterleiter DF in dem ES durch die erste NVE-Vorrichtung auf der Basis von ES-Routen von der zweiten NVE-Vorrichtung und der dritten NVE-Vorrichtung.</claim-text></claim>
<claim id="c-de-01-0007" num="0007">
<claim-text>Verfahren nach Anspruch 5 oder 6, wobei das Verfahren ferner Folgendes umfasst:
<claim-text>Empfangen von durch die zweite NVE-Vorrichtung gesendetem "Broadcast"-, "Unknown Unicast"- und "Multicast"- bzw. BUM-Verkehr durch die erste NVE-Vorrichtung mittels des VXLAN-Tunnels von der zweiten NVE-Vorrichtung zu der ersten NVE-Vorrichtung; und</claim-text>
<claim-text>Vermeiden von Weiterleitung des BUM-Verkehrs zu der dritten NVE-Vorrichtung mittels des VXLAN-Tunnels von der ersten NVE-Vorrichtung zu der dritten NVE-Vorrichtung durch die erste NVE-Vorrichtung auf der Basis, dass der BUM-Verkehr mittels des VXLAN-Tunnels von der zweiten NVE-Vorrichtung zu der ersten NVE-Vorrichtung durch die erste NVE-Vorrichtung empfangen wird.</claim-text></claim-text></claim>
<claim id="c-de-01-0008" num="0008">
<claim-text>Verfahren nach einem der Ansprüche 2 bis 4, wobei eine CE-Vorrichtung bezüglich der ersten NVE-Vorrichtung und der zweiten NVE-Vorrichtung durch Verwendung mehrerer Ethernet-Verbindungen zwei Heimaten hat und die mehreren Ethernet-Verbindungen ein ES bilden; und<br/>
das Verfahren ferner Folgendes umfasst:
<claim-text>Bestimmen der ersten NVE-Vorrichtung als einen DF in dem ES durch die erste NVE-Vorrichtung auf der Basis einer ES-Route von der zweiten NVE-Vorrichtung;</claim-text>
<claim-text>Senden einer "Ethernet Auto-Discovery per Ethernet Segment"- bzw. Ethernet-A-D-per-ES-Route zu der zweiten NVE-Vorrichtung durch die erste NVE-Vorrichtung, wobei die Ethernet-A-D-per-ES-Route ein Ethernet-Segmentkennungs- bzw. ESI-Label<!-- EPO <DP n="57"> --> trägt, das durch die erste NVE-Vorrichtung an eine Ethernet-Verbindung zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung vergeben wird;</claim-text>
<claim-text>Empfangen eines durch die zweite NVE-Vorrichtung gesendeten VXLAN-Pakets durch die erste NVE-Vorrichtung mittels des VXLAN-Tunnels von der zweiten NVE-Vorrichtung zu der ersten NVE-Vorrichtung, wobei ursprüngliche Ethernet-Nutzinformationen in dem VXLAN-Paket BUM-Verkehr umfassen, das VXLAN-Paket das ESI-Label trägt und der BUM-Verkehr von der CE-Vorrichtung kommt; und</claim-text>
<claim-text>Vermeiden von Weiterleitung des BUM-Verkehrs zu der CE-Vorrichtung durch die erste NVE-Vorrichtung auf der Basis, dass das VXLAN-Paket das ESI-Label trägt, durch Verwendung des ES zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung.</claim-text></claim-text></claim>
<claim id="c-de-01-0009" num="0009">
<claim-text>Verfahren nach Anspruch 8, wobei das ESI-Label zwischen einem VXLAN-Header in dem VXLAN-Paket und den ursprünglichen Ethernet-Nutzinformationen eingekapselt ist, der VXLAN-Header Angabeinformationen trägt und die Angabeinformationen verwendet werden, um anzugeben, dass das VXLAN-Paket das ESI-Label trägt.</claim-text></claim>
<claim id="c-de-01-0010" num="0010">
<claim-text>Verfahren nach einem der Ansprüche 1 bis 4, wobei eine CE-Vorrichtung bezüglich der ersten NVE-Vorrichtung und der zweiten NVE-Vorrichtung durch Verwendung mehrerer Ethernet-Verbindungen zwei Heimaten hat und die mehreren Ethernet-Verbindungen ein ES bilden; und<br/>
das Verfahren ferner Folgendes umfasst:
<claim-text>Empfangen einer "Media Access Control/Internet Protocol"-Ankündigungs- bzw. MAC/IP-Ankündigungsroute von der zweiten NVE-Vorrichtung durch die erste NVE-Vorrichtung, wobei die MAC-IP/Ankündigungsroute eine "Media Access Control-Virtual Local Area Network Identifier" bzw. MAC-VLAN-ID umfasst, die MAC-VLAN-ID verwendet wird, um ein VLAN anzugeben, zu dem eine in der MAC/IP-Ankündigungsroute geführte MAC-Adresse gehört, und die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse eine MAC-Adresse der CE-Vorrichtung ist oder die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse eine MAC-Adresse eines Hosts in einem durch die CE-Vorrichtung administrierten "Ethernet Virtual Private Network"- bzw. EVPN-Standort ist;</claim-text>
<claim-text>Bestimmen durch die erste NVE-Vorrichtung auf der Basis einer ESI und der MAC-VLAN-ID, die in der MAC/IP-Ankündigungsroute geführt wird, einer lokalen Schnittstelle, die von der ersten NVE-Vorrichtung ist und die mit einer Ethernet-Verbindung zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung<!-- EPO <DP n="58"> --> verbindet, wobei die in der MAC/IP-Ankündigungsroute geführte ESI verwendet wird, um das ES zwischen der CE-Vorrichtung und der zweiten NVE-Vorrichtung anzugeben; und</claim-text>
<claim-text>Senden eines ersten MAC-Eintrags zu einer Weiterleitungsebene der ersten NVE-Vorrichtung durch eine Steuerebene der ersten NVE-Vorrichtung, wobei eine abgehende Schnittstelle in dem ersten MAC-Eintrag die lokale Schnittstelle der ersten NVE-Vorrichtung ist und der erste MAC-Eintrag die MAC-Adresse und die MAC-VLAN-ID umfasst, die in der MAC/IP-Ankündigungsroute geführt werden.</claim-text></claim-text></claim>
<claim id="c-de-01-0011" num="0011">
<claim-text>Verfahren nach Anspruch 10, wobei die MAC/IP-Ankündigungsroute in Mehrprotokoll-erreichbare-Netzwerkschicht-Erreichbarkeitsinformationen MP_REACH_NLRI geführt wird, ein Nächster-Sprung-Feld in den MP REACH NLRI eine gemeinsame VTEP-Adresse umfasst, die MAC/IP-Ankündigungsroute ferner die zweite VTEP-Adresse umfasst und die in dem Nächster-Sprung-Feld in dem MP_REACH_NLRI enthaltene gemeinsame VTEP-Adresse dieselbe wie die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse ist; und<br/>
das Verfahren ferner Folgendes umfasst:<br/>
Senden eines zweiten MAC-Eintrags zu der Weiterleitungsebene der ersten NVE-Vorrichtung durch die Steuerebene der ersten NVE-Vorrichtung auf der Basis der in dem Nächster-Sprung-Feld in den MP_REACH_NLRI enthaltenen gemeinsamen VTEP-Adresse und der in der MAC/IP-Ankündigungsroute enthaltenen zweiten VTEP-Adresse, wobei eine abgehende Schnittstelle in dem zweiten MAC-Eintrag eine lokale Schnittstelle ist, die von der ersten NVE-Vorrichtung ist und die mit dem VXLAN-Tunnel von der ersten NVE-Vorrichtung zu der zweiten NVE-Vorrichtung verbindet, und der zweite MAC-Eintrag die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse umfasst.</claim-text></claim>
<claim id="c-de-01-0012" num="0012">
<claim-text>Verfahren nach einem der Ansprüche 1 bis 4, wobei eine CE-Vorrichtung mit der zweiten NVE-Vorrichtung verbunden ist; und<br/>
das Verfahren ferner Folgendes umfasst:
<claim-text>Empfangen einer MAC/IP-Ankündigungsroute von der zweiten NVE-Vorrichtung durch die erste NVE-Vorrichtung, wobei die MAC/IP-Ankündigungsroute in MP_REACH_NLRI geführt wird, ein Nächster-Sprung-Feld in den MP REACH NLRI eine gemeinsame VTEP-Adresse umfasst, die MAC/IP-Ankündigungsroute eine MAC/VLAN-ID und die zweite VTEP-Adresse umfasst, die MAC-VLAN-ID verwendet wird, um ein VLAN anzugeben, zu dem eine in der MAC/IP-Ankündigungsroute geführte MAC-Adresse gehört, und die in der MAC/IP-Ankündigungsroute<!-- EPO <DP n="59"> --> geführte MAC-Adresse eine MAC-Adresse der CE-Vorrichtung ist oder die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse eine MAC-Adresse eines Hosts in einem durch die CE-Vorrichtung administrierten EVPN-Standort ist;</claim-text>
<claim-text>Bestimmen durch die erste NVE-Vorrichtung auf der Basis einer ESI und der MAC-VLAN-ID, die in der MAC/IP-Ankündigungsroute geführt werden, dass die erste NVE-Vorrichtung keine lokale Schnittstelle aufweist, die mit einer Ethernet-Verbindung zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung verbindet, wobei die in der MAC/IP-Ankündigungsroute geführte ESI verwendet wird, um ein ES zwischen der CE-Vorrichtung und der zweiten NVE-Vorrichtung anzugeben; und</claim-text>
<claim-text>Senden eines MAC-Eintrags zu einer Weiterleitungsebene der ersten NVE-Vorrichtung durch eine Steuerebene der ersten NVE-Vorrichtung auf der Basis der in dem Nächster-Sprung-Feld in den MP_REACH_NLRI enthaltenen gemeinsamen VTEP-Adresse und der in der MAC/IP-Ankündigungsroute enthaltenen zweiten VTEP-Adresse, wobei eine abgehende Schnittstelle in dem MAC-Eintrag eine lokale Schnittstelle ist, die von der ersten NVE-Vorrichtung ist und die mit dem VXLAN-Tunnel von der ersten NVE-Vorrichtung zu der zweiten NVE-Vorrichtung verbindet, und der MAC-Eintrag die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse umfasst.</claim-text></claim-text></claim>
<claim id="c-de-01-0013" num="0013">
<claim-text>Erste "Network Virtualization Edge"- bzw. NVE-Vorrichtung, wobei die erste NVE auf ein "Virtual Extensible Local Area Network" VXLAN angewandt wird, das eine "Ethernet Virtual Private Network"- bzw. EVPN-Steuerebene aufweist, das VXLAN ferner eine zweite NVE-Vorrichtung umfasst und die erste NVE-Vorrichtung Folgendes umfasst:
<claim-text>eine Empfangseinheit (1002), ausgelegt zum Empfangen einer zweiten "Inclusive Multicast Ethernet Tag"- bzw. IMET-Route von der zweiten NVE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route eine gemeinsame "Virtual Extensible Local Area Network Tunnel Endpoint"- bzw. VTEP-Adresse umfasst, die zweite IMET-Route ferner eine zweite VTEP-Adresse umfasst und die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse von der zweiten VTEP-Adresse verschieden ist, die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse einen in der zweiten NVE-Vorrichtung enthaltenen gemeinsamen VTEP angibt und die zweite VTEP-Adresse einen in der zweiten NVE-Vorrichtung enthaltenen zweiten VTEP angibt; und<!-- EPO <DP n="60"> --></claim-text>
<claim-text>eine Verarbeitungseinheit (1004), ausgelegt zum Bestimmen, ob die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie eine in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, wobei die erste NVE-Vorrichtung und die zweite NVE-Vorrichtung ein Paar von "Border Gateway Protocol"-Peers bzw. BGP-Peers zum Austauschen von IMET-Routen sind, die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse einen in der ersten NVE-Vorrichtung enthaltenen gemeinsamen VTEP angibt; wobei,</claim-text>
<claim-text>wenn die Verarbeitungseinheit (1004) bestimmt, dass die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Herstellen eines VXLAN-Tunnels von der ersten NVE-Vorrichtung zu der zweiten NVE-Vorrichtung auf der Basis der zweiten VTEP-Adresse in der zweiten IMET-Route.</claim-text></claim-text></claim>
<claim id="c-de-01-0014" num="0014">
<claim-text>Erste NVE-Vorrichtung nach Anspruch 13, wobei die erste NVE-Vorrichtung ferner Folgendes umfasst:
<claim-text>eine Sendeeinheit (1006), ausgelegt zum Senden einer ersten IMET-Route zu der zweiten NVE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der ersten IMET-Route die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse führt, die erste IMET-Route ferner eine erste VTEP-Adresse umfasst,</claim-text>
<claim-text>die erste VTEP-Adresse durch die zweite NVE-Vorrichtung zum Herstellen des VXLAN-Tunnels von der zweiten NVE-Vorrichtung zu der ersten NVE-Vorrichtung verwendet wird, die erste VTEP-Adresse einen in der ersten NVE-Vorrichtung enthaltenen ersten VTEP angibt und die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse von der ersten VTEP-Adresse verschieden ist.</claim-text></claim-text></claim>
<claim id="c-de-01-0015" num="0015">
<claim-text>Erste NVE-Vorrichtung nach Anspruch 14, wobei
<claim-text>die Sendeeinheit ferner ausgelegt ist zum Senden der ersten IMET-Route zu einer "Provider Edge"- bzw. PE-Vorrichtung;</claim-text>
<claim-text>die Empfangseinheit (1002) ferner ausgelegt ist zum Empfangen einer IMET-Route von der PE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der IMET-Route von der PE-Vorrichtung eine VTEP-Adresse der PE-Vorrichtung führt, und</claim-text>
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Herstellen eines VXLAN-Tunnels von der ersten NVE-Vorrichtung zu der PE-Vorrichtung auf der Basis der VTEP-Adresse der PE-Vorrichtung, die sich in der IMET-Route von der PE-Vorrichtung<!-- EPO <DP n="61"> --> befindet, wobei die VTEP-Adresse der PE-Vorrichtung nicht dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist.</claim-text></claim-text></claim>
<claim id="c-de-01-0016" num="0016">
<claim-text>Erste NVE-Vorrichtung nach einem der Ansprüche 13 bis 15, wobei
<claim-text>die Empfangseinheit (1002) ferner ausgelegt ist zum Empfangen einer dritten IMET-Route von einer dritten NVE-Vorrichtung, wobei ein IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route eine gemeinsame VTEP-Adresse umfasst, die dritte IMET-Route ferner eine dritte VTEP-Adresse umfasst und die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse von der dritten VTEP-Adresse verschieden ist;</claim-text>
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Bestimmen, ob die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, wobei die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist; und,</claim-text>
<claim-text>wenn die Verarbeitungseinheit (1004) bestimmt, dass die in dem IP-Adressenfeld des Ursprungsrouters in der dritten IMET-Route enthaltene gemeinsame VTEP-Adresse dieselbe wie die in der ersten NVE-Vorrichtung gespeicherte gemeinsame VTEP-Adresse ist, die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Herstellen eines VXLAN-Tunnels von der ersten NVE-Vorrichtung zu der dritten NVE-Vorrichtung auf der Basis der dritten VTEP-Adresse in der dritten IMET-Route.</claim-text></claim-text></claim>
<claim id="c-de-01-0017" num="0017">
<claim-text>Erste NVE-Vorrichtung nach einem der Ansprüche 14 bis 15, wobei eine CE-Vorrichtung bezüglich der ersten NVE-Vorrichtung und der zweiten NVE-Vorrichtung durch Verwendung mehrerer Ethernet-Verbindungen zwei Heimaten hat und die mehreren Ethernet-Verbindungen ein ES bilden;
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Bestimmen der ersten NVE-Vorrichtung als einen DF in dem ES auf der Basis einer ES-Route von der zweiten NVE-Vorrichtung;</claim-text>
<claim-text>die Sendeeinheit (1006) ferner ausgelegt ist zum Senden einer "Ethernet Auto-Discovery per Ethernet Segment"- bzw. Ethernet-A-D-per-ES-Route zu der zweiten NVE-Vorrichtung, wobei die Ethernet-A-D-per-ES-Route ein Ethernet-Segmentkennungs- bzw. ESI-Label trägt, das durch die erste NVE-Vorrichtung an eine Ethernet-Verbindung zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung vergeben wird;<!-- EPO <DP n="62"> --></claim-text>
<claim-text>die Empfangseinheit (1002) ferner ausgelegt ist zum Empfangen eines durch die zweite NVE-Vorrichtung gesendeten VXLAN-Pakets mittels des VXLAN-Tunnels von der zweiten NVE-Vorrichtung zu der ersten NVE-Vorrichtung, wobei ursprüngliche Ethernet-Nutzinformationen in dem VXLAN-Paket BUM-Verkehr umfassen, das VXLAN-Paket das ESI-Label trägt und der BUM-Verkehr von der CE-Vorrichtung kommt; und</claim-text>
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Vermeiden von Weiterleitung des BUM-Verkehrs zu der CE-Vorrichtung auf der Basis, dass das VXLAN-Paket das ESI-Label trägt, durch Verwendung des ES zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung.</claim-text></claim-text></claim>
<claim id="c-de-01-0018" num="0018">
<claim-text>Erste NVE-Vorrichtung nach einem der Ansprüche 13 bis 15, wobei eine CE-Vorrichtung bezüglich der ersten NVE-Vorrichtung und der zweiten NVE-Vorrichtung durch Verwendung mehrerer Ethernet-Verbindungen zwei Heimaten hat und die mehreren Ethernet-Verbindungen ein ES bilden;
<claim-text>die Empfangseinheit (1002) ferner ausgelegt ist zum Empfangen einer "Media Access Control/Internet Protocol"-Ankündigungs- bzw. MAC/IP-Ankündigungsroute von der zweiten NVE-Vorrichtung, wobei die MAC-IP/Ankündigungsroute eine "Media Access Control-Virtual Local Area Network Identifier" bzw. MAC-VLAN-ID umfasst, die MAC-VLAN-ID verwendet wird, um ein VLAN anzugeben, zu dem eine in der MAC/IP-Ankündigungsroute geführte MAC-Adresse gehört, und die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse eine MAC-Adresse der CE-Vorrichtung ist oder die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse eine MAC-Adresse eines Hosts in einem durch die CE-Vorrichtung administrierten "Ethernet Virtual Private Network"- bzw. EVPN-Standort ist;</claim-text>
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Bestimmen auf der Basis einer ESI und der MAC-VLAN-ID, die in der MAC/IP-Ankündigungsroute geführt wird, einer lokalen Schnittstelle, die von der ersten NVE-Vorrichtung ist und die mit einer Ethernet-Verbindung zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung verbindet, wobei die in der MAC/IP-Ankündigungsroute geführte ESI verwendet wird, um das ES zwischen der CE-Vorrichtung und der zweiten NVE-Vorrichtung anzugeben; und</claim-text>
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Triggern des Sendens eines ersten MAC-Eintrags zu einer Weiterleitungsebene der ersten NVE-Vorrichtung, wobei eine abgehende Schnittstelle in dem ersten MAC-Eintrag die lokale Schnittstelle der ersten NVE-Vorrichtung ist und der erste MAC-Eintrag die MAC-Adresse und die MAC-VLAN-ID umfasst, die in der MAC/IP-Ankündigungsroute geführt werden.</claim-text><!-- EPO <DP n="63"> --></claim-text></claim>
<claim id="c-de-01-0019" num="0019">
<claim-text>Erste NVE-Vorrichtung nach Anspruch 18, wobei die MAC/IP-Ankündigungsroute in Mehrprotokoll-erreichbare-Netzwerkschicht-Erreichbarkeitsinformationen MP_REACH_NLRI geführt wird, ein Nächster-Sprung-Feld in den MP REACH NLRI eine gemeinsame VTEP-Adresse umfasst, die MAC/IP-Ankündigungsroute ferner die zweite VTEP-Adresse umfasst und die in dem Nächster-Sprung-Feld in dem MP_REACH_NLRI enthaltene gemeinsame VTEP-Adresse dieselbe wie die in dem IP-Adressenfeld des Ursprungsrouters in der zweiten IMET-Route enthaltene gemeinsame VTEP-Adresse ist; und<br/>
die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Triggern des Sendens eines zweiten MAC-Eintrags zu der Weiterleitungsebene der ersten NVE-Vorrichtung auf der Basis der in dem Nächster-Sprung-Feld in den MP _REACH_NLRI enthaltenen gemeinsamen VTEP-Adresse und der in der MAC/IP-Ankündigungsroute enthaltenen zweiten VTEP-Adresse, wobei eine abgehende Schnittstelle in dem zweiten MAC-Eintrag eine lokale Schnittstelle ist, die von der ersten NVE-Vorrichtung ist und die mit dem VXLAN-Tunnel von der ersten NVE-Vorrichtung zu der zweiten NVE-Vorrichtung verbindet, und der zweite MAC-Eintrag die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse umfasst.</claim-text></claim>
<claim id="c-de-01-0020" num="0020">
<claim-text>Erste NVE-Vorrichtung nach einem der Ansprüche 13 bis 15, wobei eine CE-Vorrichtung mit der zweiten NVE-Vorrichtung verbunden ist;
<claim-text>die Empfangseinheit (1002) ferner ausgelegt ist zum Empfangen einer MAC/IP-Ankündigungsroute von der zweiten NVE-Vorrichtung, wobei die MAC/IP-Ankündigungsroute in MP_REACHNLRI geführt wird, ein Nächster-Sprung-Feld in den MP_REACH_NLRI eine gemeinsame VTEP-Adresse umfasst, die MAC/IP-Ankündigungsroute eine MAC/VLAN-ID und die zweite VTEP-Adresse umfasst, die MAC-VLAN-ID verwendet wird, um ein VLAN anzugeben, zu dem eine in der MAC/IP-Ankündigungsroute geführte MAC-Adresse gehört, und die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse eine MAC-Adresse der CE-Vorrichtung ist oder die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse eine MAC-Adresse eines Hosts in einem durch die CE-Vorrichtung administrierten EVPN-Standort ist;</claim-text>
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Bestimmen auf der Basis einer ESI und der MAC-VLAN-ID, die in der MAC/IP-Ankündigungsroute geführt werden, dass die erste NVE-Vorrichtung keine lokale Schnittstelle aufweist, die mit einer Ethernet-Verbindung zwischen der CE-Vorrichtung und der ersten NVE-Vorrichtung verbindet, wobei die in der MAC/IP-Ankündigungsroute geführte ESI<!-- EPO <DP n="64"> --> verwendet wird, um ein ES zwischen der CE-Vorrichtung und der zweiten NVE-Vorrichtung anzugeben; und</claim-text>
<claim-text>die Verarbeitungseinheit (1004) ferner ausgelegt ist zum Triggern des Sendens eines MAC-Eintrags zu einer Weiterleitungsebene der ersten NVE-Vorrichtung auf der Basis der in dem Nächster-Sprung-Feld in den MP_REACH_NLRI enthaltenen gemeinsamen VTEP-Adresse und der in der MAC/IP-Ankündigungsroute enthaltenen VTEP-Adresse, wobei eine abgehende Schnittstelle in dem MAC-Eintrag eine lokale Schnittstelle ist, die von der ersten NVE-Vorrichtung ist und die mit dem VXLAN-Tunnel von der ersten NVE-Vorrichtung zu der zweiten NVE-Vorrichtung verbindet, und der MAC-Eintrag die in der MAC/IP-Ankündigungsroute geführte MAC-Adresse umfasst.</claim-text></claim-text></claim>
</claims>
<claims id="claims03" lang="fr"><!-- EPO <DP n="65"> -->
<claim id="c-fr-01-0001" num="0001">
<claim-text>Procédé de traitement d'itinéraire, dans lequel le procédé est appliqué à un Réseau Local Extensible Virtuel, VXLAN, ayant un plan de contrôle de Réseau Privé Virtuel Ethernet, EVPN, le VXLAN comprenant un premier dispositif de périphérie de virtualisation de réseau, NVE, et un deuxième dispositif NVE, et le procédé comprenant les étapes suivantes :
<claim-text>recevoir (S102), par le premier dispositif NVE, un deuxième itinéraire de balise Ethernet de multidiffusion inclusive, IMET, en provenance du deuxième dispositif NVE, où un champ d'adresse IP de routeur d'origine dans le deuxième itinéraire IMET comprend une adresse de point d'extrémité de tunnel de réseau local extensible virtuel commun, VTEP, le deuxième itinéraire IMET comprend en outre une deuxième adresse VTEP, et l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET est différente de la deuxième adresse VTEP, l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET indique un VTEP commun inclus dans le deuxième dispositif NVE, la deuxième adresse VTEP indique un deuxième VTEP inclus dans le deuxième dispositif NVE ;</claim-text>
<claim-text>déterminer (S103), par le premier dispositif NVE, si l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET est la même qu'une adresse VTEP commune stockée dans le premier dispositif NVE, où le premier dispositif NVE et le deuxième dispositif NVE sont une paire de pairs de protocole de passerelle de frontière, pairs BGP, pour échanger des itinéraires IMET, l'adresse VTEP commune stockée dans le premier dispositif NVE indiquant un VTEP commun inclus dans le premier dispositif NVE ; et</claim-text>
<claim-text>lorsque le premier dispositif NVE détermine que l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE, établir (S104), par le premier dispositif NVE, un tunnel VXLAN du premier dispositif NVE au deuxième dispositif NVE sur la base de la deuxième adresse VTEP dans le deuxième itinéraire IMET.</claim-text></claim-text></claim>
<claim id="c-fr-01-0002" num="0002">
<claim-text>Procédé selon la revendication 1, dans lequel le procédé comprend en outre l'étape suivante :
<claim-text>envoyer (S105), par le premier dispositif NVE, un premier itinéraire IMET au deuxième dispositif NVE, où un champ d'adresse IP du routeur d'origine dans le premier itinéraire IMET porte l'adresse VTEP commune stockée dans le premier dispositif NVE, le premier itinéraire IMET comprend en outre une première adresse<!-- EPO <DP n="66"> --> VTEP, la première adresse VTEP est utilisée par le deuxième dispositif NVE pour établir le tunnel VXLAN du deuxième dispositif NVE au premier dispositif NVE, la première adresse VTEP indique un premier VTEP inclus dans le premier dispositif NVE, et l'adresse VTEP commune stockée dans le premier dispositif NVE est différente de la première adresse VTEP.</claim-text></claim-text></claim>
<claim id="c-fr-01-0003" num="0003">
<claim-text>Procédé selon la revendication 2, dans lequel le VXLAN comprend en outre un dispositif de périphérie fournisseur, PE, et le procédé comprend en outre les étapes suivantes :
<claim-text>envoyer, par le premier dispositif NVE, le premier itinéraire IMET au dispositif PE ; recevoir, par le premier dispositif NVE, un itinéraire IMET en provenance du dispositif PE, où un champ d'adresse IP du routeur d'origine dans l'itinéraire IMET en provenance du dispositif PE porte une adresse VTEP du dispositif PE ; et</claim-text>
<claim-text>établir, par le premier dispositif NVE, un tunnel VXLAN du premier dispositif NVE au dispositif PE sur la base de l'adresse VTEP du dispositif PE qui est dans l'itinéraire IMET du dispositif PE, où l'adresse VTEP du dispositif PE n'est pas la même que l'adresse VTEP commune stockée dans le premier dispositif NVE.</claim-text></claim-text></claim>
<claim id="c-fr-01-0004" num="0004">
<claim-text>Procédé selon la revendication 2 ou la revendication 3, dans lequel :
<claim-text>un attribut VXLAN dans le premier itinéraire IMET porte la première adresse VTEP ; et</claim-text>
<claim-text>un attribut VXLAN dans le deuxième itinéraire IMET porte la deuxième adresse VTEP.</claim-text></claim-text></claim>
<claim id="c-fr-01-0005" num="0005">
<claim-text>Procédé selon l'une quelconque des revendications 1 à 4, dans lequel le VXLAN comprend en outre un troisième dispositif NVE, et le procédé comprend en outre les étapes suivantes :
<claim-text>recevoir, par le premier dispositif NVE, un troisième itinéraire IMET en provenance du troisième dispositif NVE, où un champ d'adresse IP du routeur d'origine dans le troisième itinéraire IMET comprend une adresse VTEP commune, le troisième itinéraire IMET comprend en outre une troisième adresse VTEP, et l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le troisième itinéraire IMET est différente de la troisième adresse VTEP ;</claim-text>
<claim-text>déterminer, par le premier dispositif NVE, si l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le troisième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE, où l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine<!-- EPO <DP n="67"> --> dans le troisième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE ; et</claim-text>
<claim-text>lorsque le premier dispositif NVE détermine que l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le troisième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE, établir, par le premier dispositif NVE, un tunnel VXLAN du premier dispositif NVE au troisième dispositif NVE sur la base de la troisième adresse VTEP dans le troisième itinéraire IMET.</claim-text></claim-text></claim>
<claim id="c-fr-01-0006" num="0006">
<claim-text>Procédé selon la revendication 5, dans lequel un dispositif de périphérie client, CE, est rattaché de manière multiple au premier dispositif NVE, au deuxième dispositif NVE, et au troisième dispositif NVE en utilisant une pluralité de liaisons Ethernet, et la pluralité de liaisons Ethernet forme un segment Ethernet, ES ; et<br/>
le procédé comprend en outre l'étape suivante :<br/>
déterminer, par le premier dispositif NVE, le premier dispositif NVE en tant que transitaire désigné, DF, dans l'ES sur la base des itinéraires ES provenant du deuxième dispositif NVE et du troisième dispositif NVE.</claim-text></claim>
<claim id="c-fr-01-0007" num="0007">
<claim-text>Procédé selon la revendication 5 ou la revendication 6, dans lequel le procédé comprend en outre les étapes suivantes :
<claim-text>recevoir, par le premier dispositif NVE à travers le tunnel VXLAN du deuxième dispositif NVE au premier dispositif NVE, du trafic de diffusion, de monodiffusion inconnue et de multidiffusion, BUM, envoyé par le deuxième dispositif NVE ; et</claim-text>
<claim-text>éviter, par le premier dispositif NVE, de transmettre le trafic BUM au troisième dispositif NVE par le tunnel VXLAN du premier dispositif NVE au troisième dispositif NVE, sur la base du fait que le trafic BUM est reçu par le premier dispositif NVE par le tunnel VXLAN du deuxième dispositif NVE au premier dispositif NVE.</claim-text></claim-text></claim>
<claim id="c-fr-01-0008" num="0008">
<claim-text>Procédé selon l'une quelconque des revendications 2 à 4, dans lequel un dispositif CE est doublement rattaché au premier dispositif NVE et au deuxième dispositif NVE en utilisant une pluralité de liaisons Ethernet, et la pluralité de liaisons Ethernet forme un ES ; et<br/>
le procédé comprend en outre les étapes suivantes :
<claim-text>déterminer, par le premier dispositif NVE, le premier dispositif NVE en tant que DF dans l'ES sur la base d'un itinéraire ES provenant du deuxième dispositif NVE ;</claim-text>
<claim-text>envoyer, par le premier dispositif NVE, un itinéraire d'auto-découverte Ethernet par segment Ethernet, Ethernet A-D par ES, au deuxième dispositif NVE, où l'itinéraire Ethernet A-D par ES porte une étiquette d'identifiant de segment Ethernet, ESI,<!-- EPO <DP n="68"> --> allouée par le premier dispositif NVE à une liaison Ethernet entre le dispositif CE et le premier dispositif NVE ;</claim-text>
<claim-text>recevoir, par le premier dispositif NVE à travers le tunnel VXLAN du deuxième dispositif NVE au premier dispositif NVE, un paquet VXLAN envoyé par le deuxième dispositif NVE, où une charge utile Ethernet d'origine dans le paquet VXLAN comprend un trafic BUM, le paquet VXLAN porte l'étiquette ESI, et le trafic BUM provient du dispositif CE ; et</claim-text>
<claim-text>éviter, par le premier dispositif NVE, sur la base du fait que le paquet VXLAN porte l'étiquette ESI, de transférer le trafic BUM au dispositif CE en utilisant l'ES entre le dispositif CE et le premier dispositif NVE.</claim-text></claim-text></claim>
<claim id="c-fr-01-0009" num="0009">
<claim-text>Procédé selon la revendication 8, dans lequel l'étiquette ESI est encapsulée entre un en-tête VXLAN dans le paquet VXLAN et la charge utile Ethernet originale, l'en-tête VXLAN portant des informations d'indication, et les informations d'indication étant utilisées pour indiquer que le paquet VXLAN porte l'étiquette ESI.</claim-text></claim>
<claim id="c-fr-01-0010" num="0010">
<claim-text>Procédé selon l'une quelconque des revendications 1 à 4, dans lequel un dispositif CE est doublement rattaché au premier dispositif NVE et au deuxième dispositif NVE en utilisant une pluralité de liaisons Ethernet, et la pluralité de liaisons Ethernet forme un ES ; et<br/>
le procédé comprend en outre les étapes suivantes :
<claim-text>recevoir, par le premier dispositif NVE, un itinéraire d'annonce de contrôle d'accès au support/protocole Internet, annonce MAC/IP, en provenance du deuxième dispositif NVE, où l'itinéraire d'annonce MAC/IP comprend un identifiant de réseau local virtuel de contrôle d'accès au support, ID MAC-VLAN, l'ID MAC-VLAN étant utilisé pour indiquer un VLAN auquel une adresse MAC transportée dans l'itinéraire d'annonce MAC/IP appartient, et l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC du dispositif CE, ou l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC d'un hôte dans un site de réseau privé virtuel Ethernet, EVPN, administré par le dispositif CE;</claim-text>
<claim-text>déterminer, par le premier dispositif NVE, sur la base d'un ESI et de l'ID MAC-VLAN qui sont transportés dans l'itinéraire d'annonce MAC/IP, une interface locale qui est du premier dispositif NVE et qui se connecte à une liaison Ethernet entre le dispositif CE et le premier dispositif NVE, où l'ESI transporté dans l'itinéraire d'annonce MAC/IP est utilisé pour indiquer l'ES entre le dispositif CE et le deuxième dispositif NVE ; et<!-- EPO <DP n="69"> --></claim-text>
<claim-text>envoyer, par un plan de contrôle du premier dispositif NVE, une première entrée MAC à un plan d'acheminement du premier dispositif NVE, où une interface sortante dans la première entrée MAC est l'interface locale du premier dispositif NVE, et la première entrée MAC comprend l'adresse MAC et l'ID MAC-VLAN qui sont transportés dans l'itinéraire d'annonce MAC/IP.</claim-text></claim-text></claim>
<claim id="c-fr-01-0011" num="0011">
<claim-text>Procédé selon la revendication 10, dans lequel l'itinéraire d'annonce MAC/IP est transporté dans des informations d'accessibilité de couche réseau atteignable multiprotocole, MP_REACH_NLRI, un champ de saut suivant dans le MP_REACH_NLRI comprend une adresse VTEP commune, l'itinéraire d'annonce MAC/IP comprend en outre la deuxième adresse VTEP, et l'adresse VTEP commune comprise dans le champ de saut suivant dans le MP_REACH_NLRI est la même que l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET ; et<br/>
le procédé comprend en outre l'étape suivante :<br/>
envoyer, par le plan de contrôle du premier dispositif NVE, une deuxième entrée MAC au plan d'acheminement du premier dispositif NVE sur la base de l'adresse VTEP commune comprise dans le champ de saut suivant dans le MP_REACH_NLRI et de la deuxième adresse VTEP comprise dans l'itinéraire d'annonce MAC/IP, où une interface sortante dans la deuxième entrée MAC est une interface locale qui est du premier dispositif NVE et qui se connecte au tunnel VXLAN du premier dispositif NVE au deuxième dispositif NVE, et la deuxième entrée MAC comprend l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP.</claim-text></claim>
<claim id="c-fr-01-0012" num="0012">
<claim-text>Procédé selon l'une quelconque des revendications 1 à 4, dans lequel un dispositif CE est connecté au deuxième dispositif NVE ; et<br/>
le procédé comprend en outre les étapes suivantes :
<claim-text>recevoir, par le premier dispositif NVE, un itinéraire d'annonce MAC/IP en provenance du deuxième dispositif NVE, où l'itinéraire d'annonce MAC/IP est transporté dans le MP_REACH_NLRI, un champ de saut suivant dans le MP_REACH_NLRI comprend une adresse VTEP commune, l'itinéraire d'annonce MAC/IP comprend un ID MAC-VLAN et la deuxième adresse VTEP, l'ID MAC-VLAN est utilisé pour indiquer un VLAN auquel une adresse MAC transportée dans l'itinéraire d'annonce MAC/IP appartient, et l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC du dispositif CE, ou l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC d'un hôte dans un site EVPN administré par le dispositif CE ;<!-- EPO <DP n="70"> --></claim-text>
<claim-text>déterminer, par le premier dispositif NVE, sur la base d'un ESI et de l'ID MAC-VLAN qui sont transportés dans l'itinéraire d'annonce MAC/IP, que le premier dispositif NVE n'a pas d'interface locale qui se connecte à une liaison Ethernet entre le dispositif CE et le premier dispositif NVE, où l'ESI transporté dans l'itinéraire d'annonce MAC/IP est utilisé pour indiquer un ES entre le dispositif CE et le deuxième dispositif NVE ; et</claim-text>
<claim-text>envoyer, par un plan de contrôle du premier dispositif NVE, une entrée MAC à un plan d'acheminement du premier dispositif NVE sur la base de l'adresse VTEP commune comprise dans le champ de saut suivant dans le MP_REACH_NLRI et la deuxième adresse VTEP comprise dans l'itinéraire d'annonce MAC/IP, où une interface sortante dans l'entrée MAC est une interface locale qui est du premier dispositif NVE et qui se connecte au tunnel VXLAN du premier dispositif NVE au deuxième dispositif NVE, et l'entrée MAC comprend l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP.</claim-text></claim-text></claim>
<claim id="c-fr-01-0013" num="0013">
<claim-text>Premier dispositif de périphérie de virtualisation de réseau, NVE, où le premier NVE est appliqué à un réseau local extensible virtuel, VXLAN, ayant un plan de contrôle de réseau privé virtuel Ethernet, EVPN, le VXLAN comprenant en outre un deuxième dispositif NVE, et le premier dispositif NVE comprenant :
<claim-text>une unité de réception (1002), configurée pour recevoir un deuxième itinéraire de balise Ethernet de multidiffusion inclusive, IMET, à partir du deuxième dispositif NVE, où un champ d'adresse IP de routeur d'origine dans le deuxième itinéraire IMET comprend une adresse de point d'extrémité de tunnel de réseau local extensible virtuel commun, VTEP, le deuxième itinéraire IMET comprenant en outre une deuxième adresse VTEP, et l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET étant différente de la deuxième adresse VTEP, l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET indiquant un VTEP commun inclus dans le deuxième dispositif NVE, la deuxième adresse VTEP indiquant un deuxième VTEP inclus dans le deuxième dispositif NVE ; et</claim-text>
<claim-text>une unité de traitement (1004), configurée pour déterminer si l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET est la même qu'une adresse VTEP commune stockée dans le premier dispositif NVE, où le premier dispositif NVE et le deuxième dispositif NVE sont une paire de pairs de protocole de passerelle frontière, pairs BGP, pour échanger des itinéraires IMET, l'adresse VTEP commune stockée dans le premier dispositif NVE indiquant un VTEP commun inclus dans le premier dispositif NVE ; où<!-- EPO <DP n="71"> --></claim-text>
<claim-text>lorsque l'unité de traitement (1004) détermine que l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE, l'unité de traitement (1004) est en outre configurée pour établir un tunnel VXLAN du premier dispositif NVE au deuxième dispositif NVE sur la base de la deuxième adresse VTEP dans le deuxième itinéraire IMET.</claim-text></claim-text></claim>
<claim id="c-fr-01-0014" num="0014">
<claim-text>Premier dispositif NVE selon la revendication 13, dans lequel le premier dispositif NVE comprend en outre :<br/>
une unité d'envoi (1006), configurée pour envoyer un premier itinéraire IMET au deuxième dispositif NVE, où un champ d'adresse IP du routeur d'origine dans le premier itinéraire IMET porte l'adresse VTEP commune stockée dans le premier dispositif NVE, le premier itinéraire IMET comprend en outre une première adresse VTEP, la première adresse VTEP est utilisée par le deuxième dispositif NVE pour établir le tunnel VXLAN du deuxième dispositif NVE au premier dispositif NVE, la première adresse VTEP indique un premier VTEP inclus dans le premier dispositif NVE, et l'adresse VTEP commune stockée dans le premier dispositif NVE est différente de la première adresse VTEP.</claim-text></claim>
<claim id="c-fr-01-0015" num="0015">
<claim-text>Premier dispositif NVE selon la revendication 14, dans lequel :
<claim-text>l'unité d'envoi est en outre configurée pour envoyer le premier itinéraire IMET à un dispositif de périphérie fournisseur, PE ;</claim-text>
<claim-text>l'unité de réception (1002) est en outre configurée pour recevoir un itinéraire IMET du dispositif PE, où un champ d'adresse IP de routeur d'origine dans l'itinéraire IMET provenant du dispositif PE porte une adresse VTEP du dispositif PE ; et</claim-text>
<claim-text>l'unité de traitement (1004) est en outre configurée pour établir un tunnel VXLAN du premier dispositif NVE au dispositif PE sur la base de l'adresse VTEP du dispositif PE qui est dans l'itinéraire IMET provenant du dispositif PE, où l'adresse VTEP du dispositif PE n'est pas la même que l'adresse VTEP commune stockée dans le premier dispositif NVE.</claim-text></claim-text></claim>
<claim id="c-fr-01-0016" num="0016">
<claim-text>Premier dispositif NVE selon l'une quelconque des revendications 13 à 15, dans lequel :
<claim-text>l'unité de réception (1002) est en outre configurée pour recevoir un troisième itinéraire IMET à partir d'un troisième dispositif NVE, où un champ d'adresse IP de routeur d'origine dans le troisième itinéraire IMET comprend une adresse VTEP commune, le troisième itinéraire IMET comprend en outre une troisième adresse VTEP, et l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur<!-- EPO <DP n="72"> --> d'origine dans le troisième itinéraire IMET est différente de la troisième adresse VTEP;</claim-text>
<claim-text>l'unité de traitement (1004) est en outre configurée pour déterminer si l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le troisième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE, où l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le troisième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE ; et</claim-text>
<claim-text>lorsque l'unité de traitement (1004) détermine que l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le troisième itinéraire IMET est la même que l'adresse VTEP commune stockée dans le premier dispositif NVE, l'unité de traitement (1004) est en outre configurée pour établir un tunnel VXLAN du premier dispositif NVE au troisième dispositif NVE sur la base de la troisième adresse VTEP dans le troisième itinéraire IMET.</claim-text></claim-text></claim>
<claim id="c-fr-01-0017" num="0017">
<claim-text>Premier dispositif NVE selon l'une quelconque des revendications 14 à 15, dans lequel un dispositif CE est doublement rattaché au premier dispositif NVE et au deuxième dispositif NVE en utilisant une pluralité de liaisons Ethernet, et la pluralité de liaisons Ethernet forme un ES ;
<claim-text>l'unité de traitement (1004) est en outre configurée pour déterminer le premier dispositif NVE comme un DF dans l'ES sur la base d'un itinéraire ES provenant du deuxième dispositif NVE ;</claim-text>
<claim-text>l'unité d'envoi (1006) est en outre configurée pour envoyer un itinéraire d'auto-découverte Ethernet par segment Ethernet, Ethernet A-D par ES, au deuxième dispositif NVE, où l'itinéraire Ethernet A-D par ES porte une étiquette d'identifiant de segment Ethernet, ESI, allouée par le premier dispositif NVE à une liaison Ethernet entre le dispositif CE et le premier dispositif NVE ;</claim-text>
<claim-text>l'unité de réception (1002) est en outre configurée pour recevoir, à travers le tunnel VXLAN du deuxième dispositif NVE au premier dispositif NVE, un paquet VXLAN envoyé par le deuxième dispositif NVE, où une charge utile Ethernet d'origine dans le paquet VXLAN comprend un trafic BUM, le paquet VXLAN porte l'étiquette ESI, et le trafic BUM provient du dispositif CE ; et</claim-text>
<claim-text>l'unité de traitement (1004) est en outre configurée pour éviter, sur la base du fait que le paquet VXLAN porte l'étiquette ESI, de transférer le trafic BUM au dispositif CE en utilisant l'ES entre le dispositif CE et le premier dispositif NVE.</claim-text></claim-text></claim>
<claim id="c-fr-01-0018" num="0018">
<claim-text>Premier dispositif NVE selon l'une quelconque des revendications 13 à 15, dans lequel un dispositif CE est doublement rattaché au premier dispositif NVE et au<!-- EPO <DP n="73"> --> deuxième dispositif NVE en utilisant une pluralité de liaisons Ethernet, et la pluralité de liaisons Ethernet forme un ES ;
<claim-text>l'unité de réception (1002) est en outre configurée pour recevoir un itinéraire d'annonce de contrôle d'accès au support/protocole Internet, annonce MAC/IP, en provenance du deuxième dispositif NVE, où l'itinéraire d'annonce MAC/IP comprend un identifiant de réseau local virtuel de contrôle d'accès au support, ID MAC-VLAN, l'ID MAC-VLAN étant utilisé pour indiquer un VLAN auquel une adresse MAC transportée dans l'itinéraire d'annonce MAC/IP appartient, et l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC du dispositif CE, ou l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC d'un hôte dans un site de réseau privé virtuel Ethernet, EVPN, administré par le dispositif CE ;</claim-text>
<claim-text>l'unité de traitement (1004) est en outre configurée pour déterminer, sur la base d'un ESI et de l'ID MAC-VLAN qui sont transportés dans l'itinéraire d'annonce MAC/IP, une interface locale qui est du premier dispositif NVE et qui se connecte à une liaison Ethernet entre le dispositif CE et le premier dispositif NVE, où l'ESI transporté dans l'itinéraire d'annonce MAC/IP est utilisé pour indiquer l'ES entre le dispositif CE et le deuxième dispositif NVE ; et</claim-text>
<claim-text>l'unité de traitement (1004) est en outre configurée pour déclencher l'envoi d'une première entrée MAC à un plan d'acheminement du premier dispositif NVE, où une interface sortante dans la première entrée MAC est l'interface locale du premier dispositif NVE, et la première entrée MAC comprend l'adresse MAC et l'ID MAC-VLAN qui sont transportés dans l'itinéraire d'annonce MAC/IP.</claim-text></claim-text></claim>
<claim id="c-fr-01-0019" num="0019">
<claim-text>Premier dispositif NVE selon la revendication 18, dans lequel l'itinéraire d'annonce MAC/IP est transporté dans des informations d'accessibilité de couche réseau atteignable multiprotocole, MP_REACH_NLRI, un champ de saut suivant dans le MP_REACH_NLRI comprend une adresse VTEP commune, l'itinéraire d'annonce MAC/IP comprend en outre la deuxième adresse VTEP, et l'adresse VTEP commune comprise dans le champ de saut suivant dans le MP_REACH_NLRI est la même que l'adresse VTEP commune comprise dans le champ d'adresse IP du routeur d'origine dans le deuxième itinéraire IMET ; et<br/>
l'unité de traitement (1004) est en outre configurée pour déclencher l'envoi d'une deuxième entrée MAC au plan d'acheminement du premier dispositif NVE sur la base de l'adresse VTEP commune comprise dans le champ de saut suivant dans le MP_REACH_NLRI et de la deuxième adresse VTEP comprise dans l'itinéraire d'annonce MAC/IP, où une interface sortante dans la deuxième entrée MAC est une interface locale qui est du premier dispositif NVE et qui se connecte au tunnel<!-- EPO <DP n="74"> --> VXLAN du premier dispositif NVE au deuxième dispositif NVE, et la deuxième entrée MAC comprend l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP.</claim-text></claim>
<claim id="c-fr-01-0020" num="0020">
<claim-text>Premier dispositif NVE selon l'une quelconque des revendications 13 à 15, dans lequel un dispositif CE est connecté au deuxième dispositif NVE ;
<claim-text>l'unité de réception (1002) est en outre configurée pour recevoir un itinéraire d'annonce MAC/IP en provenance du deuxième dispositif NVE, où l'itinéraire d'annonce MAC/IP est transporté dans le MP_REACH_NLRI, un champ de saut suivant dans MP_REACH_NLRI comprend une adresse VTEP commune, l'itinéraire d'annonce MAC/IP comprend un ID MAC-VLAN et la deuxième adresse VTEP, l'ID MAC-VLAN est utilisé pour indiquer un VLAN auquel une adresse MAC transportée dans l'itinéraire d'annonce MAC/IP appartient, et l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC du dispositif CE, ou l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP est une adresse MAC d'un hôte dans un site EVPN administré par le dispositif CE ;</claim-text>
<claim-text>l'unité de traitement (1004) est en outre configurée pour déterminer, sur la base d'un ESI et de l'ID MAC-VLAN qui sont transportés dans l'itinéraire d'annonce MAC/IP, que le premier dispositif NVE n'a pas d'interface locale qui se connecte à une liaison Ethernet entre le dispositif CE et le premier dispositif NVE, où l'ESI transporté dans l'itinéraire d'annonce MAC/IP est utilisé pour indiquer un ES entre le dispositif CE et le deuxième dispositif NVE ; et</claim-text>
<claim-text>l'unité de traitement (1004) est en outre configurée pour déclencher l'envoi d'une entrée MAC à un plan d'acheminement du premier dispositif NVE sur la base de l'adresse VTEP commune comprise dans le champ de saut suivant dans le MP_REACH_NLRI et de la deuxième adresse VTEP comprise dans l'itinéraire d'annonce MAC/IP, où une interface sortante dans l'entrée MAC est une interface locale qui est du premier dispositif NVE et qui se connecte au tunnel VXLAN du premier dispositif NVE au deuxième dispositif NVE, et l'entrée MAC comprend l'adresse MAC transportée dans l'itinéraire d'annonce MAC/IP.</claim-text></claim-text></claim>
</claims>
<drawings id="draw" lang="en"><!-- EPO <DP n="75"> -->
<figure id="f0001" num="1"><img id="if0001" file="imgf0001.tif" wi="145" he="181" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="76"> -->
<figure id="f0002" num="2A"><img id="if0002" file="imgf0002.tif" wi="152" he="187" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="77"> -->
<figure id="f0003" num="2B"><img id="if0003" file="imgf0003.tif" wi="140" he="167" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="78"> -->
<figure id="f0004" num="3"><img id="if0004" file="imgf0004.tif" wi="151" he="188" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="79"> -->
<figure id="f0005" num="4"><img id="if0005" file="imgf0005.tif" wi="151" he="188" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="80"> -->
<figure id="f0006" num="5"><img id="if0006" file="imgf0006.tif" wi="42" he="199" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="81"> -->
<figure id="f0007" num="6"><img id="if0007" file="imgf0007.tif" wi="61" he="204" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="82"> -->
<figure id="f0008" num="7"><img id="if0008" file="imgf0008.tif" wi="63" he="204" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="83"> -->
<figure id="f0009" num="8"><img id="if0009" file="imgf0009.tif" wi="65" he="204" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="84"> -->
<figure id="f0010" num="9"><img id="if0010" file="imgf0010.tif" wi="153" he="189" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="85"> -->
<figure id="f0011" num="10"><img id="if0011" file="imgf0011.tif" wi="151" he="189" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="86"> -->
<figure id="f0012" num="11,12"><img id="if0012" file="imgf0012.tif" wi="140" he="208" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="87"> -->
<figure id="f0013" num="13"><img id="if0013" file="imgf0013.tif" wi="131" he="214" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="88"> -->
<figure id="f0014" num="14"><img id="if0014" file="imgf0014.tif" wi="153" he="214" img-content="drawing" img-format="tif"/></figure>
</drawings>
<ep-reference-list id="ref-list">
<heading id="ref-h0001"><b>REFERENCES CITED IN THE DESCRIPTION</b></heading>
<p id="ref-p0001" num=""><i>This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.</i></p>
<heading id="ref-h0002"><b>Patent documents cited in the description</b></heading>
<p id="ref-p0002" num="">
<ul id="ref-ul0001" list-style="bullet">
<li><patcit id="ref-pcit0001" dnum="US2016134513A1"><document-id><country>US</country><doc-number>2016134513</doc-number><kind>A1</kind></document-id></patcit><crossref idref="pcit0001">[0006]</crossref></li>
</ul></p>
</ep-reference-list>
</ep-patent-document>
