Method and device for storing and sending MAC address entry, and system
AssigneeHuawei Technologies Co., Ltd.
InventorsQing Zeng, Xiaohu Xu
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a method and a device for storing and sending a MAC address entry, and a system. The method includes: sending, by a PE, a first packet to an RR, so that the RR determines a MAC address entry required by the PE according to the first packet, where the RR pre-stores a MAC address table, and the MAC address table includes the required MAC address entry; and receiving, by the PE, a packet which includes the required MAC address entry and is sent by the RR, and storing the required MAC address entry.
Claims21
A method, comprising:
- sending, by a provider network edge (PE), a first border gateway protocol outbound route filter (BGP ORF) packet to a route reflector (RR), wherein the first BGP ORF packet comprises a first media access control (MAC) outbound route filter (ORF) and a first route target (RT) ORF, the first MAC ORF comprises a first MAC address of a data packet, and the first RT ORF comprises a first RT corresponding to a first Ethernet virtual private network (EVPN) to which the data packet belongs;
- receiving, by the PE from the RR, a first packet comprising a MAC address entry, wherein the MAC address entry indicates routing information corresponding to the first MAC address;
- and
- storing the MAC address entry.
A method, comprising:
- receiving, by a route reflector (RR), a first border gateway protocol outbound route filter (BGP ORF) packet sent by a provider network edge (PE), wherein the first BGP ORF packet comprises a first media access control (MAC) outbound route filter (ORF) and a first route target (RT) ORF, the first MAC ORF comprises a first MAC address, the first RT ORF comprises a first RT, the first MAC address is comprised in a data packet received by the PE, and the first RT corresponds to a first Ethernet virtual private network (EVPN) to which the data packet belongs;
- determining, by the RR, the first EVPN corresponding to the first RT;
- determining, by the RR, a MAC address entry, where the MAC address entry corresponds to the first EVPN and the MAC address entry indicates routing information corresponding to the first MAC address, wherein a MAC address table comprising the MAC address entry is stored in the RR;
- and
- sending, by the RR, the MAC address entry to the PE.
A device, comprising:
- a processor;
- and
- a non-transitory computer-readable storage medium storing a program to be executed by the processor to cause the device to:
- send a first border gateway protocol outbound route filter (BGP ORF) packet to a route reflector (RR) to require a media access control (MAC) address entry, wherein the first BGP ORF packet comprises a first MAC outbound route filter (ORF) and a first route target (RT) ORF, the first MAC ORF comprises a first MAC address of a data packet, and the first RT ORF comprises a first RT corresponding to a first Ethernet virtual private network (EVPN) to which the data packet belongs;
- and
- receive a packet which comprises the MAC address entry and is sent by the RR, wherein the MAC address entry indicates routing information corresponding to the first MAC address;
- and
- wherein the device is configured to store the MAC address entry.
A device, comprising:
- a processor;
- and
- a non-transitory computer-readable storage medium storing a program to be executed by the processor to cause the device to:
- receive a first border gateway protocol outbound route filter (BGP ORF) packet sent by a provider network edge (PE), wherein the first BGP ORF packet comprises a first media access control (MAC) outbound route filter (ORF) and a first route target (RT) ORF, the first MAC ORF comprises a first MAC address, the first RT ORF comprises a first RT, the first MAC address is comprised in a data packet received by the PE, and the first RT corresponds to a first Ethernet virtual private network (EVPN) to which the data packet belongs;
- determine the first EVPN according to the first RT, and determine a MAC address entry which corresponds to the first EVPN and the MAC address entry indicates routing information corresponding to the first MAC address, wherein the device is configured to store a MAC address table comprising the MAC address entry;
- and
- send the MAC address entry to the PE;
- and
- wherein the device is further configured to configured to store the MAC address table.
Dependencies are inferred from the claim text.