WO2015113456A1 - Procédé de génération de table de commande d'accès au support, et dispositif de réseau - Google Patents
Procédé de génération de table de commande d'accès au support, et dispositif de réseau Download PDFInfo
- Publication number
- WO2015113456A1 WO2015113456A1 PCT/CN2015/070036 CN2015070036W WO2015113456A1 WO 2015113456 A1 WO2015113456 A1 WO 2015113456A1 CN 2015070036 W CN2015070036 W CN 2015070036W WO 2015113456 A1 WO2015113456 A1 WO 2015113456A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network device
- identifier
- topology
- packet
- mac
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/64—Hybrid switching systems
- H04L12/6418—Hybrid transport
Definitions
- the present invention relates to a network communication technology, and in particular, to a method for generating a media access control (English for Media Access Control, abbreviated as MAC) table, a method for generating a message, a remote network device, and a first network device.
- a media access control English for Media Access Control, abbreviated as MAC
- a routing protocol that supports the intermediate system to the intermediate system is called the Intermediate System to Intermediate System Routing Protocol (ISIS) or the Open Shortest Path First (English) is called Open Shortest Path First (OSPF).
- ISIS Intermediate System to Intermediate System Routing Protocol
- OSPF Open Shortest Path First
- TRILL Transparent Interconnection of Lots of Links
- the switch in the TRILL network has both Layer 2 forwarding and Layer 3 routing functions. It can be called a RBridge (English name is Router Bridge or RBridge, abbreviated as RB) or a TRILL switch.
- the RB runs the ISIS routing protocol to implement the route between the RB and the RB to replace the previous spanning tree protocol (English called Span Tree Protocol, STP), so that data can be forwarded according to the shortest path. And make multipath routing possible, making the use of bandwidth more adequate.
- the TRILL protocol encapsulates the alias of the TRILL switch (nickname in English), the virtual local area network (English), and the MAC address information. Where nickname is the identifier of the TRILL switch. Identifier);
- the MAC address is the identity of the host within the VLAN that can communicate with the RBridge. When the same host in a VLAN communicates with the host connected to the remote TRILL switch through a different RB in the aggregation group, the remote TRILL switch replaces the MAC address entry when learning the MAC address of the host.
- the RB3 After the host sends a packet to the remote TRILL switch RB3 through the RB1 in the aggregation group, the RB3 generates the first MAC address entry of the host, and the egress routing bridge information in the first MAC entry is the nickname of the RB1. However, the host may continue to send packets to the RB3 through the RB2 in the aggregation group. In this case, the RB3 generates the second MAC entry of the host, and the egress routing bridge information in the second MAC entry is the nickname of the RB2. RB3 needs to replace the first MAC entry with the second MAC entry, and the MAC entry replacement occurs. MAC entry replacement may reduce the stability of the device or the system on which the device resides.
- the nickname of the pseudo node RBv is used as the nickname of the RB in the aggregation group. For example, after the host sends a packet to the RB3 through the RB1 or RB2 in the aggregation group, the egress RB information in the MAC address entry generated by the RB3 is the nickname of the RBv, which avoids the replacement of the MAC entry.
- the RBn (RB1 or RB2) that communicates with the RB3 needs to occupy a multicast tree of the TRILL network uniquely.
- the RB3 needs to support the same number of multicasts as the RBn. Tree, and the number of multicast trees supported by RB3 is certain, resulting in poor scalability of this method.
- the embodiments of the present invention provide a method for generating a media access control table, a method for generating a packet, a remote network device, and a first network device, so as to avoid replacement of the MAC entry and achieve strong scalability.
- the message sending method provides help.
- a method for generating a media access control list including:
- the remote network device receives the first packet from the first network device included in the aggregation group, where the source address of the first packet includes the MAC address of the first host, and the first packet includes the first identifier and the An identifier of the first network device and a topology identifier that includes the first topology of the first network device, where the first identifier is an identifier of a broadcast domain to which the first host belongs;
- the remote network device generates a first MAC entry according to the first packet, where the first MAC entry includes a MAC address of the first host, the first identifier, and a topology of the first topology. And the identifier of the first network device, where the MAC address of the first host is a destination address in the first MAC entry.
- the method further includes:
- the remote network device receives the first downlink packet, where the destination address of the first downlink packet includes the MAC address of the first host, and the first downlink packet includes the first identifier ;
- the second possible implementation of the first aspect is also provided, and the method further includes:
- a source address of the second packet includes a MAC address of the first host
- the second packet includes The first identifier, the identifier of the second network device, and the topology identifier of the second topology that includes the second network device, where the second network device and the first network device do not belong to the same topology
- the remote network device generates a second MAC entry according to the second packet, where the second MAC entry includes a MAC address of the first host, the first identifier, and a topology of the second topology. And the identifier of the second network device, where the MAC address of the first host is a destination address in the second MAC entry.
- a third possible implementation of the first aspect is also provided, and the following:
- the remote network device generates a second MAC entry for the second network device in the aggregation group, where the second MAC entry includes the MAC address of the first host, the first identifier, and the first An identifier of the second network device and a topology identifier of the second topology of the second network device, where the MAC address of the first host is a destination address in the second MAC entry, and the second network device
- the first network device does not belong to the same topology.
- the fourth possible implementation of the first aspect is further provided, and the following:
- the remote network device receives the second downlink packet, where the destination address of the second downlink packet includes the MAC address of the first host, and the second downlink packet includes the first identifier.
- the MAC address of the first host, the first identifier, the first MAC entry in the remote network device, and the second MAC entry, from the first network device Determining an ith network device with the second network device;
- the fifth implementation manner of the first aspect is further provided, where the remote network device receives the first network device from the first network device Before the message, it also includes:
- the remote network device receives the connection establishment packet from the first network device in the aggregation group, where the connection establishment message includes the topology identifier of the first topology;
- the remote network device When the topology identifier of the first topology is included in the topology identifier set, the remote network device establishes a connection with the first network device, where the topology identifier set includes multiple topologies supported by the remote network device. logo.
- the sixth implementation manner of the first aspect is further provided, and the method further includes:
- the jth network device is any one of the network devices in the aggregation group, and the address revocation message is generated by the jth network device according to the detected faulty link, and the address is revoked. And including a first identifier, an identifier of the jth network device, and a topology identifier including a jth topology of the jth network device;
- the remote network device deletes the jth MAC entry according to the address revocation message, where the jth MAC entry includes the first identifier, the identifier of the jth network device, and the topology of the jth topology Logo.
- a seventh implementation manner of the first aspect is further provided, where the method is applied to a multi-link transparent interconnection protocol TRILL network, where the remote network The device is a remote switch, and the network device included in the aggregation group is a switch.
- a method for generating a message including:
- the first network device receives an uplink packet, where the source address of the uplink packet includes a MAC address of the first host, the uplink packet includes a first identifier, and the first identifier is a broadcast domain to which the first host belongs. Identification
- the method further includes:
- the first network device receives a connection setup message from the remote network device, where the connection setup message includes a topology identifier set, where the topology identifier set includes identifiers of multiple topologies supported by the remote network device;
- the first network device establishes a connection with the remote network device when the topology identifier of the first topology is included in the topology identifier set.
- a remote network device including:
- a receiving unit configured to receive a first packet from a first network device included in the aggregation group, where a source address of the first packet includes a MAC address of the first host, and the first packet includes a first identifier, An identifier of the first network device and a topology identifier that includes a first topology of the first network device, where the first identifier is an identifier of a broadcast domain to which the first host belongs;
- a generating unit configured to generate a first MAC entry according to the first packet, where the first MAC entry includes a MAC address of the first host, the first identifier, and a topology identifier of the first topology And the identifier of the first network device, where the MAC address of the first host is a destination address in the first MAC entry.
- the method further includes: a query unit, a first extension unit, and a first forwarding unit;
- the receiving unit is further configured to receive the first downlink packet, where the destination address of the first downlink packet includes a MAC address of the first host, and the first downlink packet includes the first Identification
- the querying unit is configured to query the first MAC address entry of the first topology according to the MAC address of the first host and the first identifier, and determine the topology identifier of the first topology and the identifier of the first network device;
- the first extension unit is configured to add the topology identifier of the first topology and the identifier of the first network device to the first downlink packet, to obtain an extended first downlink packet;
- the first forwarding unit is configured to send, by using the first topology, the extended first downlink packet to the first network device.
- the second possible implementation manner of the third aspect is further provided, including:
- the receiving unit is further configured to receive a second packet from the second network device included in the aggregation group, where a source address of the second packet includes a MAC address of the first host, and the second packet
- the first identifier, the identifier of the second network device, and the topology identifier of the second topology including the second network device, where the second network device and the first network device do not belong to the same topology;
- the generating unit is further configured to generate a second MAC entry according to the second packet, where the second MAC entry includes a MAC address of the first host, the first identifier, and the second topology. And the identifier of the second network device, where the MAC address of the first host is a destination address in the second MAC entry.
- a third is also provided The third possible implementation of the aspect also includes:
- An entry extension unit configured to generate a second MAC entry for the second network device in the aggregation group, where the second MAC entry includes the MAC address of the first host, the first identifier, and the An identifier of the second network device and a topology identifier including a second topology of the second network device, where a MAC address of the first host is a destination address in the second MAC entry, and the second network device is The first network device does not belong to the same topology.
- the fourth possible implementation manner of the third aspect is further provided, a unit and a second forwarding unit;
- the receiving unit is further configured to receive the second downlink packet, where the destination address of the second downlink packet includes a MAC address of the first host, and the second downlink packet includes the first identifier.
- the selecting unit is configured to: according to the forwarding policy, the MAC address of the first host, the first identifier, the first MAC entry in the remote network device, and the second MAC entry, Determining, by the first network device and the second network device, an i th network device;
- the second extension unit is configured to add an identifier of the ith network device and a topology identifier that includes a topology of the ith network device to the second downlink packet, to obtain an extended second downlink packet.
- the second forwarding unit is configured to send, by using the topology of the ith network device, the extended second downlink packet to the ith network device.
- the receiving unit is further configured to receive a connection establishment message from the first network device in the aggregation group, where the connection establishment message includes a topology identifier of the first topology;
- the connecting unit is configured to establish a connection with the first network device when the topology identifier of the first topology is included in a topology identifier set, where the topology identifier set includes multiple topologies supported by the remote network device Logo.
- the receiving unit is further configured to receive an address revocation message sent by the jth network device in the aggregation group, where the address revocation message is generated by the jth network device according to the detected faulty link,
- the address revocation message includes a first identifier, an identifier of the jth network device, and a topology identifier including a jth topology of the jth network device;
- the updating unit is configured to delete the jth MAC entry according to the address revocation message; the jth MAC entry includes the first identifier, the identifier of the jth network device, and a topology of the jth topology Logo.
- a first network device including:
- the receiving unit is configured to receive an uplink packet, where the source address of the uplink packet includes a MAC address of the first host, the uplink packet includes a first identifier, and the first identifier is a broadcast to which the first host belongs.
- a generating unit configured to obtain a first packet, where a source address of the first packet includes a MAC address of the first host, where the first packet includes the first identifier, an identifier of the first network device, and a topology identifier including a topology of the first network device;
- a sending unit configured to send the first packet to the remote network device.
- the method further includes: a connecting unit;
- the receiving unit is further configured to receive a connection setup message from the remote network device, where the connection setup message includes a topology identifier set, where the topology identifier set includes identifiers of multiple topologies supported by the remote network device;
- the connecting unit is configured to establish a connection with the remote network device when the topology identifier of the topology is included in the topology identifier set.
- the remote network device receives the first packet from the first network device included in the aggregation group, where the first packet includes a topology identifier including the first topology of the first network device, and the remote end The network device generates a new MAC entry containing the topology identifier by using the topology identifier in the first packet from the first network device. Since the new MAC entry includes the new match of the topology identifier, multiple MAC forwarding entries used to forward the packet to the same destination device can exist in the MAC table at the same time, as long as the multiple MAC forwarding entries are for different topologies. The MAC forwarding entry is sufficient.
- this new MAC entry helps to avoid replacement of MAC entries.
- the method for forwarding packets using the number of the new MAC entries is not limited by the number of multicast trees supported by the remote network device. Therefore, when the number of network devices in the aggregation group is large, the remote network The device can also generate corresponding MAC entries. It can be seen that this new MAC entry also helps to present a highly scalable message delivery scheme.
- FIG. 1 is a schematic diagram of a network according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for generating a media access control table according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a method for generating a media access control table according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a method for generating a media access control table according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a method for generating a media access control table according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of a data format of a TLV included in an LSP message according to an embodiment of the present invention.
- FIG. 7 is a flowchart of a method for generating a message according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a remote network device according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a remote network device according to an embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a remote network device according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of a remote network device according to an embodiment of the present invention.
- FIG. 12 is a schematic structural diagram of a first network device according to an embodiment of the present invention.
- FIG. 13 is a schematic structural diagram of an apparatus for generating a media access control table according to an embodiment of the present invention.
- FIG. 14 is a schematic structural diagram of an apparatus for generating a packet according to an embodiment of the present invention.
- a network supporting an ISIS or OSPF routing protocol includes a first device, a second device, and a third device, wherein the first device, the second device, and the third device are network edge devices in a network supporting an ISIS or OSPF routing protocol.
- the first device, the second device, and the third device are manually configured and connected to a multi-chassis link aggregation group (in English, the full name is Multi-Chassis Link Aggregation Group, abbreviated as MC-LAG) to form an aggregation group, or the first
- MC-LAG Multi-Chassis Link Aggregation Group
- the device, the second device, and the third device form an aggregation group by participating in the link aggregation control protocol (English name is Link Aggregation Control Protocol, abbreviated as LACP).
- the first device, the second device, and the third device in the aggregation group may access one or more hosts belonging to the same broadcast domain to the network supporting the ISIS or OSPF routing protocol by using the forwarding device, and may also be considered as an aggregation group. Used to access one or more hosts belonging to the same broadcast domain to the network supporting the ISIS or OSPF routing protocol.
- the network supporting the ISIS or OSPF routing protocol further includes a fourth device, which is also a network edge device of the network. A connection is established between the fourth device and one or more network devices in the aggregation group.
- the fourth device When the aggregation group is used to access the host belonging to the first broadcast domain, the fourth device is not used to access the host belonging to the first broadcast domain to the network. Therefore, the fourth device is a remote network device with respect to the aggregation group, or the fourth device is relative to the first device, the second device, or the third device in the aggregation group.
- D1 is the first device
- D2 is the second device
- D3 is the third device
- D4 is the fourth device
- D5 is the fifth device
- D6 is the sixth device
- D7 is the seventh device
- B1 is Forwarding device
- H1 is the first host
- H2 is the second host
- H3 is the third host.
- D1, D2, and D3 are network devices in the same aggregation group; D1, D2, and D3 are respectively connected to B1, and communicate with H1, H2, and H3 through B1; H1, H2, and H3 belong to the same broadcast domain; D4 is The remote network device; there is a first topology including D1 between D4 and D1, and the first topology may further include D5, D6 and D7, and D4 may directly Or indirectly connected to D1; there is also a second topology (not shown) containing D2 between D4 and D2; there is also a third topology (not shown) containing D3 between D3 and D4; available topology
- the identifier distinguishes the above multiple topologies, for example, the topology 1 represents the first topology, the topology 2 represents the second topology, and the topology 3 represents the third topology.
- the remote network device is a switch in the TRILL network and can be called a remote switch.
- the network devices in the aggregation group are switches in the TRILL network.
- the network shown in Figure 1 is an Ethernet virtual private network (English name is EVPN).
- the remote network device is a router in EVPN. It can be called a remote router.
- the device is a router in EVPN.
- H1, H2, and H3 can be physical hosts, and H1, H2, and H3 can also be virtual hosts.
- H1, H2, and H3 are virtual hosts
- H1, H2, and H3 can be implemented by servers supporting virtual network devices.
- connection established between the network device in the aggregation group and the remote network device may be a direct connection through a link, or an indirect connection through a multi-hop transit network device.
- the connection mentioned in the embodiment of the present invention includes the above-mentioned direct connection mode and the above-mentioned indirect connection mode. The specific connection mode will not be described in the following embodiments.
- a method for generating media access control includes:
- Step 20 The remote network device receives the first packet from the first network device included in the aggregation group.
- the first network device in this embodiment is any one of the network devices in the aggregation group.
- the source address of the first packet includes the MAC address of the first host, and the first packet includes the first identifier, the identifier of the first network device, and the topology identifier of the first topology including the first network device.
- An identifier is identified as the broadcast domain to which the first host belongs.
- the first host in this embodiment may be a physical device that communicates with the first network device, and may also be a virtual network device that communicates with the first network device.
- the identifier of the broadcast domain to which the first host belongs may be the identifier of the VLAN to which the first host belongs, or may be a fine-grained data label (English name is Fine Grain Label, abbreviated as FGL in English), and a virtual interface of the network (English name is Virtual Network) Interface, English abbreviation for VNI) and other tenant identification.
- the identifier of the first network device in this embodiment may be a name of the first network device, such as an alias of the first network device (nickname in English).
- the remote network device in this embodiment supports multiple topologies, each topology including a transmission path of a remote network device and a network device in the aggregation group.
- the first topology in this embodiment includes a transmission path between the remote network device and the first network device.
- the first packet can be a TRILL data packet, and the topology identifier of the first topology can be carried in the topology of the TRILL data packet. Send it.
- the topology identifier of the first topology may also be carried in other unused fields of the TRILL data packet and may be recorded in the field of the MAC entry, which are not enumerated one by one in the embodiment of the present invention.
- the remote network device is D4 in FIG. 1
- the first network device is D1 in FIG. 1
- the aggregation group is an aggregation group including D1, D2, and D3 in FIG. 1
- the first host is in FIG. H1.
- Step 21 The remote network device generates a first MAC entry according to the first packet.
- the first MAC entry includes a MAC address of the first host, a first identifier, a topology identifier of the first topology, and an identifier of the first network device.
- the MAC address of the first host is the destination address in the first MAC entry.
- the destination address in the first MAC entry in the embodiment is the destination MAC address included in the first MAC entry to receive the packet sent by the remote network device.
- D4 writes the MAC address of topology 1, H1, the VLAN of H1, and the nickname of D1 into the first MAC table shown in Table 1 according to the first packet.
- Table 1 first MAC table
- topology 1 is the identifier of the first topology
- MAC H1 is the MAC address of H1
- 10 is the identifier of the VLAN to which H1 belongs
- Nickname D1 is the nickname of D1.
- the entry containing the topology 1, MAC H1 , 10, and Nickname D1 is the first MAC entry.
- the first MAC address entry generated by the remote network device adds a topology identifier that includes the first topology of the first network device, and if the remote network device performs MAC address learning, if the MAC address of the same host The address is sent to the remote network device through the different network devices in the aggregation group. Because the topology identifier of the topology exists, the remote network device does not overwrite the generated MAC address containing the MAC address of the same host by using the newly generated MAC address entry.
- a table entry can generate multiple MAC entries containing the MAC address of the same host. The at least two MAC entries used to forward packets to the same host can be replaced with each other to improve the stability of the device.
- the method provided by the embodiment corresponding to FIG. 3 can be applied to the network shown in FIG. 1.
- the method further includes:
- Step 22 The remote network device receives the first downlink packet, and forwards the first downlink packet according to the first MAC entry.
- the first downlink packet includes a first identifier, and the destination address of the first downlink packet includes a MAC address of the first host.
- the communication between the host or the network device connected to the remote network device along the remote network device to the network device in the aggregation group, and the communication between the host connected to the network device in the aggregation group are referred to as downlink communication;
- the packet sent by the network device to the direction of the network device in the aggregation group is called the downlink packet.
- the step specifically includes: the remote network device receives the first downlink packet, and queries according to the MAC address of the first host and the first identifier included in the first downlink packet, which are included in the destination address of the first downlink packet. Determining, by the first MAC address entry, the topology identifier of the first topology and the identifier of the first network device; adding the topology identifier of the first topology and the identifier of the first network device to the first downlink packet, to obtain the extended first a downlink packet; sending, by using the first topology, the extended first downlink packet to the first network device.
- the extended first downlink packet needs to include part or all of the load in the first downlink packet, and does not necessarily include all parameters in the first downlink packet.
- the remote network device is D4 in FIG. 1, and the first network device is D1 in FIG.
- the group is an aggregation group including D1, D2, and D3 in FIG. 1.
- the first host is H1 in FIG. 1, and the identifier of the first topology is topology 1.
- D4 after receiving the first downlink packet, D4 queries the first MAC address entry according to the MAC address of the H1 and the identifier of the VLAN, and determines that the first downlink packet is sent by using the first topology with the identifier of topology 1.
- the first downlink packet is transmitted by using a path between D4 and D1 in the first topology.
- the remote network device uses the generated first MAC address entry to forward the first downlink packet, so that the first downlink packet can reach the first in the aggregation group by using the first topology. Internet equipment.
- a method for generating a media access control table according to an embodiment of the present invention includes:
- Step 30 The remote network device receives the first packet from the first network device included in the aggregation group.
- This step is the same as the content of the step 20 included in the method provided by the embodiment corresponding to FIG. 2, and details are not described herein again.
- Step 31 The remote network device generates a first MAC entry according to the first packet.
- This step is the same as the content of the step 21 included in the method provided by the embodiment corresponding to FIG. 2, and details are not described herein again.
- Step 32 The remote network device generates a second MAC entry.
- the second MAC entry may be generated by means of independent learning, or may be generated by means of address sharing.
- the generating, by the independent learning, the second MAC entry may include: the remote network device receives the second packet from the second network device included in the aggregation group, and generates the second MAC entry according to the second packet. .
- the second network device is a network device that belongs to the same aggregation group as the first network device and is different from the first network device.
- the second network device and the first network device do not belong to the same topology.
- the source address of the second packet includes the MAC address of the first host; the second packet includes the first identifier, the identifier of the second network device, and the topology identifier of the second topology including the second network device.
- the second MAC entry includes a MAC address of the first host, a first identifier, a topology identifier of the second topology, and a second network device
- the identifier of the first host is the destination address in the second MAC entry.
- the remote network device in this embodiment When the remote network device in this embodiment generates the second MAC entry by using the second packet including the MAC address of the first host, the remote network device does not use the first host because the topology identifier exists.
- the second MAC entry of the MAC address covers the generated first MAC entry containing the MAC address of the first host, and the replacement of the MAC entry containing the MAC address of the same host is avoided as much as possible.
- the generating, by the address sharing, the second MAC entry may include: the remote network device generates a second MAC entry for the second network device in the aggregation group, where the second MAC entry includes the MAC of the first host.
- the second network device and the first network device do not belong to the same topology.
- the remote network device in this embodiment When the remote network device in this embodiment generates the second MAC address by means of address sharing, the second network device and the first network device may belong to the same aggregation group, and the second network device and the first network device may pass the MC-
- the LAG communicates with a host, such as the first host, and the remote network device can determine that the first MAC entry and the second MAC entry contain the same first host MAC address and the same first identifier.
- the pre-configured information of the remote network device includes the identifier of the network device of the aggregation group, and may also include the identifier of the topology and topology supported by the remote network device.
- the remote network device may determine, according to the identifier of the first network device and the pre-configured information, the identifier of the second network device that belongs to the same aggregation group as the first network device, and may further determine, according to the identifier of the second network device, the second The second topology of the network device, thereby obtaining the topology identifier of the second topology.
- the foregoing is only one way for the remote network device to determine the identifier of the second topology and the identifier of the second network device when the second MAC entry is generated by the address sharing manner, but is not limited to this manner.
- the remote network device in this embodiment generates a second MAC entry by means of address sharing, which can improve the learning efficiency of the MAC address.
- the remote network device is D4 in FIG. 1
- the first network device is D1 in FIG. 1
- the second network device is D2 in FIG. 1
- the aggregation group is D1, D2, and D3 in FIG.
- the aggregation group, the first host is H1 in Figure 1.
- D4 in this embodiment generates a second MAC table including a plurality of MAC entries as shown in Table 2.
- Topology Destination address VLAN Exit routing bridge Topology 1 MAC H1 10 Nickname D1
- Topology 2 MAC H1 10 Nickname D2
- topology 1 is the identifier of the first topology.
- MAC H1 is the MAC address of H1
- 10 is the ID of the VLAN to which H1 belongs
- Nickname D1 is the nickname of D1
- topology 2 is the identifier of the second topology.
- Nickname D2 The nickname for D2.
- the MAC entry containing Topology 1, MAC H1 , 10, and Nickname D1 is the first MAC entry generated by D4 according to the first packet from D1;
- the MAC entry containing Topology 2, MAC H1 , 10, and Nickname D2 may be D4 is the second MAC entry generated by the second packet according to the second packet from D2, or the second MAC entry generated by the D4 according to the first packet from D1.
- the method provided by the embodiment corresponding to FIG. 5 can be applied to the network shown in FIG. 1.
- the method for generating a media access control table provided by the embodiment of the present invention may further include: after step 32 included in the method provided by the embodiment corresponding to FIG.
- Step 33 The remote network device receives the second downlink packet and forwards the extended second downlink packet.
- the communication between the host or the network device connected to the remote network device along the remote network device to the network device in the aggregation group, and the communication between the host connected to the network device in the aggregation group are referred to as downlink communication;
- the packet sent by the network device to the direction of the network device in the aggregation group is called the downlink packet.
- the step of the first host includes: receiving, by the remote network device, the second downlink packet, where the second downlink packet includes the first identifier, and the destination address of the second downlink packet includes the MAC address of the first host; An address, a first identifier, a first MAC entry in the remote network device, and a second MAC entry, determining an i-th network device from the first network device and the second network device; identifying and including the i-th network device The topology identifier of the topology of the i-th network device is added to the second downlink packet, and the And the extended second downlink packet is sent to the ith network device by using a topology including the ith network device.
- the extended second downlink packet needs to include part or all of the load in the second downlink packet, and does not necessarily include all parameters in the second downlink packet.
- the forwarding policy is that the network device in the aggregation group supports the selection of the network device in the aggregation group when the downlink packet is sent, and the ith network device that sends the downlink packet according to the load balancing may also be selected.
- the i-th network device is selected in a non-load sharing manner.
- the i-th network device is a first network device or a second network device.
- the remote network device is D4 in FIG. 1
- the first network device is D1 in FIG. 1
- the second network device is D2 in FIG. 2
- the aggregation group is D1, D2, and D3 in FIG.
- the aggregation group, the first host is H1 in Figure 1.
- D4 may select the transmission path between D4 and D1 included in the first topology corresponding to topology 1 to send the extended second downlink packet, or select the D4 and D2 included in the second topology corresponding to topology 2.
- the transmission path between the two sends an extended second downlink message.
- the transmission path between D4 and D1 includes a transit network device (the transit network device is D5 in FIG. 1)
- the transit network device may also be based on the structure of the first topology and the topology included in the extended second downlink message.
- the topology identifier of the structure determines the transmission path between the transit network device and D1 to accurately transmit the extended second downlink message.
- the remote network device provided by the embodiment after generating the multiple MAC entries, for example, after generating the first MAC entry and the second MAC entry, may be from the aggregation group according to the forwarding policy and the generated multiple MAC entries. Determining a network device to receive downlink packets helps load balancing between network devices included in the aggregation group.
- the remote network device in this embodiment does not need to support a multicast tree with the same number of network devices as the aggregation group, and provides a method for transmitting a strong packet.
- the remote network device included in the method provided by the foregoing embodiment corresponding to FIG. 2 to FIG. 5 receives the first network device from the first network device included in the aggregation group.
- the method provided by the embodiment further includes: establishing, by the remote network device, a connection with the first network device included in the aggregation group.
- the remote network device establishes a connection with the first network device included in the aggregation group, including: the remote network device And receiving a connection establishment packet from the first network device in the aggregation group, and establishing a connection with the first network device when the topology identifier of the first topology is included in the topology identifier set.
- the connection establishment packet includes a topology identifier of the first topology.
- the set of topology identifiers includes the identifiers of multiple topologies supported by the remote network device.
- the remote network device establishes a connection with the first network device by using interaction with the first network device.
- a static configuration may be adopted to enable the remote network device to establish a connection with the first network device.
- the possible ways of establishing a connection between the remote network device and the first network device are not illustrated here.
- connection establishment message may be a layered service provider (English name is a Layered Service Provider, English abbreviated as LSP) message.
- the set of topology identifiers in the connection setup packet can be carried in the label-length-value (in English, the tag-length-value is abbreviated as TLV).
- the remote network device sends the topology identifier set in the Topology List Capability TLV preset in the LSP.
- the data format of the Topology List Capability TLV may be in the format shown in FIG. 6, where Topology IDs represent the value of the TLV, and the value of the TLV may include the identifiers of multiple topologies supported by the remote network device.
- the remote network device can exchange traffic with the network device in the aggregation group after establishing a connection with the network device in the aggregation group, and does not need to redesign the backward compatibility mechanism when the network device is actually deployed. Reduce the complexity of implementation.
- the method further includes: deleting, by the remote network device, the j-th MAC entry, on the basis of the method provided by the embodiment corresponding to FIG. 2 to FIG. 5 .
- the step of deleting the jth MAC entry by the remote network device may be performed after the remote network device generates the MAC entry, for example, after the remote network device generates the first MAC entry, or generates the second at the remote network device.
- the MAC entry is executed afterwards, and its specific execution order is not limited here.
- the remote network device deletes the jth MAC entry, the remote network device receives the address revocation packet sent by the jth network device in the aggregation group, and the remote network device cancels the packet according to the address, and deletes the first identifier included.
- the jth network device is any one of the network devices in the aggregation group, that is, the jth network device may be the first network device, or the second network device, or the first network device and the second network in the aggregation group. Network devices outside the device.
- the address revocation message may be generated by the jth network device according to the detected faulty link, or may be generated according to a predetermined policy or an undo command.
- the jth MAC entry includes a first identifier, an identifier of the jth network device, and a topology identifier of the jth topology.
- the remote network device is D4 in FIG. 1, the first network device is D1 in FIG. 1, the second network device is D2 in FIG. 2, and the jth network device is D1 in FIG. 1, the aggregation group.
- the first host is H1 in FIG.
- D1 detects a link failure, such as a link failure between D1 and B1, generates an address revocation message, or D1 generates an address revocation message according to a predetermined policy or a revocation instruction, and the address revocation message Used to indicate the link failure between D1 and B1.
- D1 sends an address revocation message to D4, and D4 updates the generated MAC table according to the address revocation message, and obtains the updated MAC table as shown in Table 3.
- topology 1 is the identifier of the first topology.
- MAC H1 is the MAC address of H1
- 10 is the ID of the VLAN to which H1 belongs
- Nickname D1 is the nickname of D1
- topology 2 is the identifier of the second topology.
- Nickname D2 The nickname for D2.
- D4 has revoked the MAC entry (the first MAC entry) corresponding to the faulty link of the D1 connection. D4 will not send the traffic destined for H1 in VLAN 10 to D1, but D4 can still send it through D2.
- H1 traffic avoiding traffic black holes (black hole in English).
- the remote network device can avoid the traffic black hole by performing the undo operation on the generated MAC entry.
- the method provided by the embodiment corresponding to FIG. 7 is applied to the network shown in FIG. 1. As shown in Figure 7, this issue
- the method for generating a message provided by the embodiment includes:
- Step 40 The first network device receives the uplink packet.
- the communication between the first host connected to the network device in the aggregation group along the network device in the aggregation group to the remote network device and the host or network device connected to the remote network device is called uplink communication.
- the packet sent by the first host in the direction of the network device in the aggregation group to the remote network device is called an uplink packet.
- the network device in the aggregation group may be the first network device.
- the source address of the uplink packet includes the MAC address of the first host, and the uplink packet includes the first identifier, where the first identifier is the identifier of the broadcast domain to which the first host belongs.
- Step 41 The first network device obtains the first packet, and sends the first packet to the remote network device.
- the source address of the first packet includes the MAC address of the first host, and the first packet includes the first identifier, the identifier of the first network device, and the topology identifier of the first topology including the first network device.
- the first packet needs to include part or all of the load in the uplink packet, and does not have to include all the parameters in the uplink packet.
- the first network device may obtain the first packet according to the received uplink packet, for example, the first network device extends the received uplink packet, and identifies the first network device and the first topology.
- the topology identifier is added to the uplink packet to obtain the first packet, but the method for obtaining the first packet mentioned in this embodiment is not limited to this one, and is not illustrated one by one.
- the first network device may send the first packet to the remote network device by using the first topology, or send the first packet to the remote network device by using another transmission path, which is not illustrated by way of example.
- the first network device sends a packet carrying the topology identifier of the first topology to the remote network device, which helps the remote network device generate the first topology identifier including the first topology. MAC entry.
- the method provided by the embodiment further includes: establishing, by the first network device, a connection with the remote network device.
- Establishing the connection between the first network device and the remote network device includes: the first network device receiving from the far The connection of the network device establishes a packet, and establishes a connection with the remote network device when the topology identifier of the first topology is included in the topology identifier set.
- the connection establishment packet includes a topology identifier set, and the topology identifier set includes identifiers of multiple topologies supported by the remote network device.
- connection establishment packet received by the first network device may be an LSP packet
- the topology identifier set may be carried in the TLV in the LSP packet, and the format of the TLV is as shown in FIG. 6 .
- the first network device may establish a connection with the remote network device when the topology 1 including the first topology of the first topology is included in the TLV of the LSP message.
- the first network device dynamically establishes a connection by interacting with the remote network device.
- a statically configured scheme may also be employed to enable the first network device to establish a connection with the remote network device. The possible ways of establishing a connection between the remote network device and the first network device are not illustrated here.
- the method further includes: the first network device may also generate an address revocation packet, and send an address revocation packet, based on the method provided in the embodiment corresponding to FIG. To a remote network device.
- the address revocation message may be generated by the first network device according to the detected faulty link, or may be generated according to a predetermined policy or a revocation command.
- the address revocation message includes a first identifier, an identifier of the first network device, and a topology identifier of the first topology.
- the first network device may send the address revocation message to the remote network device by using the first topology, or send the address revocation message to the remote network device by using another transmission path, which is not illustrated by way of example.
- the remote network device provided by the embodiment of the present invention includes: a receiving unit 50 and a generating unit 51.
- the receiving unit 50 is configured to receive the first packet from the first network device included in the aggregation group.
- the source address of the first packet includes the MAC address of the first host, and the first packet includes the first identifier, the identifier of the first network device, and the topology identifier of the first topology including the first network device.
- the first identifier is an identifier of a broadcast domain to which the first host belongs.
- the first network device in this embodiment is any one of the network devices in the aggregation group.
- the first host in this embodiment may be a device that communicates with the first network device through the MC-LAG, and may also be a virtual network device that communicates with the first network device through the MC-LAG.
- the identifier of the broadcast domain to which the first host belongs may be the identifier of the VLAN to which the first host belongs, or may be a tenant identifier such as FGL or VNI.
- the identifier of the first network device may be the name of the first network device, such as the nickname of the first network device.
- the remote network device in this embodiment supports multiple topologies, each topology including a transmission path between the remote network device and a network device.
- the first topology in this embodiment includes a transmission path between the remote network device and the first network device.
- the generating unit 51 is configured to generate a first MAC entry according to the first packet.
- the first MAC entry includes a MAC address of the first host, a first identifier, a topology identifier of the first topology, and an identifier of the first network device.
- the MAC address of the first host is the destination address in the first MAC entry.
- the destination address in the first MAC entry in the embodiment is the destination MAC address included in the first MAC entry to receive the packet sent by the remote network device.
- the remote network device provided by this embodiment can implement all the functions of the remote network device in the embodiment corresponding to FIG. 2.
- the topology identifier of the first topology is added to the first MAC address entry generated by the remote network device provided by the embodiment. If the MAC address of the same host is used by the remote network device, the MAC address of the same host is different through the aggregation group.
- the network device sends the packet to the remote network device.
- the remote network device does not use the newly generated MAC address entry to overwrite the generated MAC address entry containing the MAC address of the same host.
- the MAC address entry of the MAC address of the same host is used to avoid replacing at least two MAC entries that are used to forward packets to the same host to improve the stability of the device.
- the remote network device provided by the embodiment of the present invention includes: a receiving unit 60, a generating unit 61, a query unit 62, an expanding unit 63, and a forwarding unit 64.
- the generating unit 61 is the same as the generating unit 51 included in the remote network device provided in the embodiment shown in FIG. 8, and details are not described herein again.
- the receiving unit 60 is configured to receive the first packet from the first network device included in the aggregation group.
- the source address of the first packet includes the MAC address of the first host, and the first packet includes the first identifier and the first identifier.
- the first identifier is an identifier of a broadcast domain to which the first host belongs.
- the first network device in this embodiment is any one of the network devices in the aggregation group.
- the receiving unit 60 is configured to receive the first downlink message.
- the destination address of the first downlink packet includes the MAC address of the first host, and the first downlink packet includes the first identifier.
- the communication between the host or network device that connects the remote network device along the remote network device to the network device, and the communication between the host device and the network device are referred to as downlink communication; and the remote network device sends the device to the network device.
- the message is called the downlink message.
- the querying unit 62 is configured to query the first MAC entry according to the MAC address of the first host and the first identifier included in the first downlink packet, and determine the topology identifier of the first topology. And the identity of the first network device.
- the query unit 62 acquires the first MAC entry from the generating unit 51 or acquires from other units storing the first MAC entry.
- the extension unit 63 is configured to add the topology identifier of the first topology and the identifier of the first network device to the first downlink packet, to obtain the extended first downlink packet.
- the extended first downlink packet needs to include part or all of the load in the first downlink packet, and does not necessarily include all parameters in the first downlink packet.
- the forwarding unit 64 is configured to send, by using the first topology, the extended first downlink packet to the first network device.
- the remote network device included in the first topology and the transit network device on the transmission path of the first network device may receive the extended first downlink packet, according to the extended first downlink packet,
- the topology identifier of the first topology determines the first topology, and sends the extended first downlink packet to the first network device by using the first topology.
- the transit network device on the transmission path of the remote network device and the first network device is preset with a topology structure to which the network device belongs.
- the transit network device can determine itself according to the topology identifier of the first topology and the identifier of the first network device.
- the transmission path with the first network device is preset with a topology structure to which the network device belongs.
- the remote network device provided by this embodiment can implement all the functions of the remote network device in the embodiment corresponding to FIG. 3.
- the remote network device may determine, according to the first topology corresponding to the topology identifier in the first MAC entry, the transmission path with the first network device, by using the first topology. Sending the first downlink packet to the first network device.
- the remote network device provided by the embodiment of the present invention includes: a receiving unit 70, a generating unit 71, and an entry expanding unit 72.
- the receiving unit 70 is the same as the receiving unit 50 included in the remote network device provided in the embodiment shown in FIG. 8.
- the generating unit 71 is the same as the generating unit 51 included in the remote network device provided in the embodiment shown in FIG. No longer.
- the remote network device in this embodiment can implement all the functions of the remote network device that generates the second MAC entry by the address sharing manner in the embodiment corresponding to FIG. 4.
- the entry extension unit 72 is configured to generate a second MAC entry for the second network device in the aggregation group.
- the second network device is a network device that belongs to the same aggregation group as the first network device and is different from the first network device.
- the second MAC entry includes a MAC address of the first host, a first identifier, an identifier of the second network device, and a topology identifier of the second topology including the second network device.
- the MAC address of the first host is the destination address in the second MAC entry; the second network device and the first network device do not belong to the same topology.
- the remote network device of this embodiment generates the second MAC entry by means of address sharing, which can improve the learning efficiency of the MAC address.
- the remote network device provided by the embodiment of the present invention includes: a receiving unit 80, a generating unit 81, a selecting unit 82, an expanding unit 83, and a forwarding unit 84.
- the remote network device of this embodiment is capable of implementing all of the functions of the remote network device in the embodiment corresponding to FIG.
- the receiving unit 80 included in the remote network device of this embodiment receives the second packet from the second network device included in the aggregation group in addition to the first packet.
- the source address of the second packet includes the MAC address of the first host, the first identifier of the second packet, the identifier of the second network device, and the topology identifier of the second topology including the second network device.
- the receiving unit 80 receives the first packet in the same manner as the receiving unit 50 included in the remote network device provided in the embodiment of the present invention, and details are not described herein.
- the second network device is a network device that belongs to the same aggregation group as the first network device and is different from the first network device.
- the second network device does not belong to the same topology as the first network device.
- the generating unit 81 included in the remote network device of this embodiment generates a second MAC entry according to the second packet in addition to the first MAC entry.
- the second MAC entry includes a MAC address of the first host, a first identifier, a topology identifier of the second topology, and an identifier of the second network device.
- the MAC address of the first host is the destination address in the second MAC entry.
- the operation of the generating unit 81 to generate the first MAC entry is the same as that of the generating unit 51 included in the remote network device provided by the embodiment corresponding to FIG. 8 , and details are not described herein again.
- the receiving unit 80 is configured to receive the second downlink packet.
- the destination address of the second downlink packet includes the MAC address of the first host, and the second downlink packet includes the first identifier.
- the selecting unit 81 is configured to: according to the forwarding policy, the MAC address of the first host included in the destination address of the second downlink packet, the first identifier included in the second downlink packet, the first MAC entry in the remote network device, and the first The second MAC entry determines the i-th network device from the first network device and the second network device.
- the forwarding policy is a network device that supports the selection of the network device when the network device supports the transmission of the downlink packet, and may select the network device that sends the downlink packet according to the load balancing, or select the i-th in the non-load sharing mode. Internet equipment.
- the i-th network device is a first network device or a second network device.
- the extension unit 83 is configured to add the identifier of the ith network device and the topology identifier including the topology of the ith network device to the second downlink packet, to obtain the extended second downlink packet.
- the extended second downlink packet needs to include part or all of the load in the second downlink packet, and does not necessarily include all parameters in the second downlink packet.
- the forwarding unit 84 is configured to send the extended second downlink message to the ith network device by using a topology including the ith network device.
- the remote network device provided by the embodiment after generating the multiple MAC entries, for example, after generating the first MAC entry and the second MAC entry, may be from the aggregation group according to the forwarding policy and the generated multiple MAC entries. Determining a network device to receive downlink packets helps load balancing between network devices included in the aggregation group.
- the remote network device provided by the embodiment of the present invention includes: a receiving unit 70, a generating unit 71, and an entry expanding unit 72 included in the remote network device provided by the embodiment corresponding to FIG. 10, and an embodiment corresponding to FIG.
- the remote network device provided includes a selection unit 82, an extension unit 83, and a forwarding unit 84. The structure of the remote network device of the embodiment is not described herein.
- the remote network device provided by the embodiment of the present invention may add a connection unit based on the structure of the remote network device provided by the embodiment corresponding to FIG. 8 to FIG.
- the receiving unit included in this embodiment is further configured to receive a connection establishment message from the first network device in the aggregation group.
- the connection establishment packet includes a topology identifier of the first topology.
- the connecting unit included in this embodiment is configured to establish a connection with the first network device when the topology identifier of the first topology is included in the topology identifier set.
- the topology identifier set includes identifiers of multiple topologies supported by the remote network device.
- the remote network device provided in this embodiment can exchange traffic with the network device in the aggregation group after establishing a connection with the network device in the aggregation group.
- the remote network device provided by the embodiment of the present invention may add an update unit based on the structure of the remote network device provided by the embodiment corresponding to FIG. 8 to FIG.
- the receiving unit of the embodiment is further configured to receive an address revocation message sent by the jth network device in the aggregation group.
- the jth network device is any one of the network devices in the aggregation group, that is, the jth network device may be the first network device, or the second network device, or besides the first network device and the second network device. Network equipment.
- the address revocation message may be generated by the jth network device according to the detected faulty link, or may be generated according to a predetermined policy or an undo command.
- the address revocation message includes a first identifier, an identifier of the jth network device, and a topology identifier of the jth topology including the jth network device.
- the updating unit of the embodiment is configured to delete the j-th MAC entry according to the address revocation message.
- the jth MAC entry includes a first identifier, an identifier of the jth network device, and a topology identifier of the jth topology.
- the remote network device provided in this embodiment can avoid the traffic black hole by performing the undo operation on the generated MAC entry.
- the first network device provided by the embodiment of the present invention includes: a receiving unit 90 and a generating unit 91.
- the first network device in this embodiment is any one of the network devices in the aggregation group.
- the receiving unit 90 is configured to receive an uplink message.
- the source address of the uplink packet includes the MAC address of the first host, and the uplink packet includes the first identifier, where the first identifier is the identifier of the broadcast domain to which the first host belongs.
- the generating unit 91 is configured to obtain the first message.
- the source address of the first packet includes the MAC address of the first host, and the first packet includes the first identifier, the identifier of the first network device, and the topology identifier of the topology.
- the topology of the embodiment is a topology including the network device to which the generating unit 91 belongs. If the network device to which the generating unit 91 belongs is the first network device, the topology included in the first packet is the first topology.
- the first packet needs to include part or all of the load in the uplink packet, and does not have to include all the parameters in the uplink packet.
- the sending unit 91 is configured to send the first packet to the remote network device by using the first topology.
- the communication between the first host connected to the first network device in the direction of the first network device to the remote network device and the host or network device connected to the remote network device is referred to as uplink communication; the first host A packet sent in the direction of the first network device to the remote network device is called an uplink packet.
- the first network device provided by the embodiment sends a packet carrying the topology identifier to the remote network device, which helps the remote network device to generate a MAC address entry containing the topology identifier of the topology.
- the first network device provided in the embodiment of the present invention may add a connection unit based on the structure of the first network device provided by the embodiment corresponding to FIG. 12.
- the receiving unit of the first network device of this embodiment is configured to receive a connection establishment message from the remote network device.
- the connection establishment packet includes a topology identifier set.
- the set of topology identifiers includes the identifiers of multiple topologies supported by the remote network device.
- the connecting unit of the embodiment is configured to establish a connection with the remote network device when the topology identifier including the topology of the first network device to which the connecting unit belongs is included in the topology identifier set.
- FIG. 13 shows an embodiment of an apparatus for generating a medium access control list, in which the apparatus includes a transmitting circuit 101, a receiving circuit 102, a processor 103, a memory 104, and a bus 105.
- the device of this embodiment can be applied to a network device such as a switch or a router of a communication system.
- the device for generating the medium access control list of this embodiment may be the remote network device in the embodiment corresponding to FIGS. 2 to 5 and FIGS. 8 to 11.
- the computer 104 stores the computer readable instructions, and the processor 103 reads the computer readable instructions, processes the first message received by the receiving circuit 102, generates a first MAC entry, and can also pass the receiving circuit.
- the received first downlink packet is processed by the first downlink packet, and the extended first downlink packet is obtained, and the extended first downlink packet is sent by the sending circuit 101 to the network device of the aggregation group.
- Bus 105 can couple the various hardware components of the device that generates the media access control list.
- the bus 105 includes a power bus and a control bus in addition to the data bus. For clarity of illustration, the various buses in FIG. 13 are labeled as bus 105.
- the device for generating a medium access control list can implement all the functions of the remote network device in the embodiments corresponding to FIGS. 2 to 5 and FIGS. 8 to 11.
- the apparatus for generating a message includes a transmitting circuit 106, a receiving circuit 107, a processor 108, a memory 109, and a bus 110.
- the device of this embodiment can be applied to a network device such as a switch or a router of a communication system.
- the device for generating a message of this embodiment may be the first network device in the embodiment corresponding to FIG. 7 or FIG. 12.
- the computer 109 stores the computer readable instructions
- the processor 108 reads the computer readable instructions, and processes the uplink message received by the receiving circuit 107 to obtain a first message including the topology identifier of the topology to which the device belongs.
- Bus 110 can couple the various hardware components of the device that generated the message.
- the bus 110 includes a power bus and a control bus in addition to the data bus.
- the various buses in FIG. 14 are labeled as bus 110.
- the device for generating a message can implement all the functions of the first network device in the embodiment corresponding to FIG. 7 and/or FIG.
- the above general purpose processor may be a microprocessor or the processor or any conventional processor.
- the steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware processor.
- the line is completed or completed by a combination of hardware and software modules in the processor.
- the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, and the like.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a computer.
- computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device or can be used for carrying or storing in the form of an instruction or data structure.
- any connection may suitably be a computer readable medium.
- the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
- the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixing of the associated media.
- a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
L'invention concerne un procédé de génération d'une table de commande d'accès au support, et un dispositif de réseau, permettant de réduire le remplacement d'entrées de commande d'accès au support (MAC). Le procédé comprend les étapes suivantes : un dispositif de réseau distant reçoit un premier paquet, compris dans un groupe d'agrégation, d'un premier dispositif de réseau, une adresse source du premier paquet comprenant une adresse MAC d'un premier hôte, le premier paquet comprenant un premier identificateur, l'identificateur du premier dispositif de réseau et un identificateur topologique d'une première topologie comprenant le premier dispositif de réseau, et le premier identificateur étant un identificateur d'un domaine de diffusion auquel appartient le premier hôte; et le dispositif de réseau distant génère une première entrée MAC en fonction du premier paquet, la première entrée MAC comprenant l'adresse MAC du premier hôte, le premier identificateur, l'identificateur topologique de la première topologie et l'identificateur du premier dispositif de réseau, et l'adresse MAC du premier hôte étant une adresse cible dans la première entrée MAC.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410043078.1A CN104811377B (zh) | 2014-01-29 | 2014-01-29 | 生成媒体接入控制表的方法及网络设备 |
| CN201410043078.1 | 2014-01-29 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015113456A1 true WO2015113456A1 (fr) | 2015-08-06 |
Family
ID=53695886
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/070036 Ceased WO2015113456A1 (fr) | 2014-01-29 | 2015-01-04 | Procédé de génération de table de commande d'accès au support, et dispositif de réseau |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104811377B (fr) |
| WO (1) | WO2015113456A1 (fr) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116436875A (zh) * | 2023-03-22 | 2023-07-14 | 新华三技术有限公司 | 一种报文转发方法和设备 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106453073A (zh) * | 2016-09-30 | 2017-02-22 | 北京小米移动软件有限公司 | 传输信息的方法及装置 |
| CN109347841B (zh) * | 2018-10-26 | 2021-08-10 | 深圳市元征科技股份有限公司 | Mac地址认证方法、装置、终端、服务器及存储介质 |
| CN113872861B (zh) * | 2020-06-30 | 2023-07-18 | 华为技术有限公司 | 一种生成表项的方法、发送报文的方法及设备 |
| CN114553706B (zh) * | 2020-11-18 | 2023-09-19 | 中国移动通信集团广东有限公司 | 网络拓扑发现方法、装置及电子设备 |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102404216A (zh) * | 2011-11-23 | 2012-04-04 | 华为技术有限公司 | 一种trill网络保护的方法、路由桥和系统 |
| EP2670088A1 (fr) * | 2011-02-21 | 2013-12-04 | ZTE Corporation | Procédé et système d'interconnexion avec un réseau trill |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8259569B2 (en) * | 2008-09-09 | 2012-09-04 | Cisco Technology, Inc. | Differentiated services for unicast and multicast frames in layer 2 topologies |
| US20110299533A1 (en) * | 2010-06-08 | 2011-12-08 | Brocade Communications Systems, Inc. | Internal virtual network identifier and internal policy identifier |
| CN102957589B (zh) * | 2011-08-23 | 2015-07-08 | 华为技术有限公司 | 业务数据传输的方法、网络节点及系统 |
| CN102946357B (zh) * | 2012-11-28 | 2015-07-08 | 杭州华三通信技术有限公司 | 组播转发表项的下发方法及设备 |
-
2014
- 2014-01-29 CN CN201410043078.1A patent/CN104811377B/zh active Active
-
2015
- 2015-01-04 WO PCT/CN2015/070036 patent/WO2015113456A1/fr not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2670088A1 (fr) * | 2011-02-21 | 2013-12-04 | ZTE Corporation | Procédé et système d'interconnexion avec un réseau trill |
| CN102404216A (zh) * | 2011-11-23 | 2012-04-04 | 华为技术有限公司 | 一种trill网络保护的方法、路由桥和系统 |
Non-Patent Citations (2)
| Title |
|---|
| H.GROWER ET AL.: "Overlay Transport Virtualization", IETF, DRAFT-HASMIT-OTV-01, 24 October 2010 (2010-10-24), XP055217448 * |
| RADIA PENMAN ET AL.: "RBridges: Base protocol specification", IETF, DRAFT-IETF-TRILL-RBRIDGE-PROTOCOL-15, 22 January 2010 (2010-01-22) * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116436875A (zh) * | 2023-03-22 | 2023-07-14 | 新华三技术有限公司 | 一种报文转发方法和设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104811377A (zh) | 2015-07-29 |
| CN104811377B (zh) | 2018-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12068871B2 (en) | Bit indexed explicit replication using multiprotocol label switching | |
| US11646906B2 (en) | Bit indexed explicit forwarding optimization | |
| US10536324B2 (en) | Per-prefix LFA FRR with bit indexed explicit replication | |
| US9948574B2 (en) | Bit indexed explicit replication packet encapsulation | |
| US10135627B2 (en) | System for avoiding traffic flooding due to asymmetric MAC learning and achieving predictable convergence for PBB-EVPN active-active redundancy | |
| US9019814B1 (en) | Fast failover in multi-homed ethernet virtual private networks | |
| CN110798403B (zh) | 通信方法、通信设备和通信系统 | |
| US9294292B2 (en) | Optimized multicast routing in a Clos-like network | |
| EP3716529B1 (fr) | Tunnelisation de paquets de multidiffusion de protocole internet sans état interdomaines | |
| CN112468398B (zh) | 一种vpn的处理方法和pe设备以及系统 | |
| WO2015113456A1 (fr) | Procédé de génération de table de commande d'accès au support, et dispositif de réseau | |
| CN106713130B (zh) | 一种路由表更新方法、evpn控制设备及evpn系统 | |
| JPWO2014132958A1 (ja) | 通信システム、制御装置、通信方法およびプログラム | |
| WO2019128612A1 (fr) | Procédé et dispositif permettant de traiter un paquet de protocole de routage | |
| CN114301839B (zh) | 一种组播报文传输方法及装置 | |
| EP3190752B1 (fr) | Procédé, appareil et médium permettant d'éviter l'engorgement du trafic du à un apprentissage mac asymétrique et d'obtenir une convergence prévisible de redondance pbb-evpn active-active | |
| CN104168186B (zh) | 一种基于网桥的报文转发方法及系统 | |
| WO2021077991A1 (fr) | Procédé de détection de message, procédé d'établissement de relation de négociation de connectivité, et dispositif associé |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15743827 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15743827 Country of ref document: EP Kind code of ref document: A1 |